problem to delete page

This is attachment, you can find it in the Dashboard > Media menu. which id is: 497, you can find it and delete it. As I can see in Inspect element this is image: http://capptan.com.br/blog/wp-content/uploads/2018/07/engajar-e-reter-usu%C3%A1rios-de-aplicativos.jpg But in your template, I can see you have hidden these things via CSS. Hope you know how to delete … Read more

Show posts of category in a page

The way i’d do it: First – create a page in the wp admin. Then create a file like mypage.php. Save it in your theme and a the top of it, add this to tell wordpress that this is a custom page template: <?php /* Template Name: Custompage */ get_header(); ?> Note: it’ll also already … Read more

Order by menu structure

You may be able to use a WP_Query on nav_menu_item since it is its own post type. I’ve never done this but maybe it would work like you need it to, worth a shot. There are three other possibilities: Option 1 – Get Your Nav Menu Items There’s a functions called wp_get_nav_menu_items() which will return … Read more

Add input field to ‘Pages > Edit Page’ through functions.php

functions.php // Add custom Slider ID field to ‘Edit Page’ add_action( ‘add_meta_boxes’, ‘cd_meta_box_add’ ); function cd_meta_box_add() { add_meta_box( ‘my-meta-box-id’, ‘Slider’, ‘cd_meta_box_cb’, ‘page’, ‘normal’, ‘high’ ); } function cd_meta_box_cb( $post ) { $values = get_post_custom( $post->ID ); $text = isset( $values[‘my_meta_box_text’] ) ? esc_attr( $values[‘my_meta_box_text’][0] ) : ”; wp_nonce_field( ‘my_meta_box_nonce’, ‘meta_box_nonce’ ); ?> <p> <label for=”my_meta_box_text”>Add … Read more

How to link to a custom .php page in my folder

WordPress doesn’t load templates that way. First: give the template a name: To load a page template, first you’ll have to make sure your template has a name. To do that, you’ll have to have the following CODE in your template file (here mypage.php): <?php /** * Template Name: My Page */ Once you have … Read more

can i create 2 blog ‘feeds’ within one blog

You can also create a custom feed and this to WP; use the function add_feed() for add a feed to WordPress and define the content inside the feed. A example for feed with the drafts of WP can you read in this post.