I Changed the Menu Order, But the Page Order Didn’t Change on Front Page

By default, posts and pages are sorted after the date. If you want sort pages by “order” field, which is visible on edit page, you have to set orderby parameter: add_action(‘pre_get_posts’, ‘change_order’); function change_order($query) { if ( is_front_page() || is_home() ) { $query->set( ‘orderby’, ‘menu_order’ ); $query->set( ‘order’, ‘ASC’ ); } return $query; } Put … Read more

Show own shortcode data on each page

Best way to achieve the desired functionality is to use post_meta / custom field. add_shortcode (‘cities’, ‘show_cities’); function show_cities(){ /* Create a custom field ‘city’ to save city name in page editor */ $city = get_post_meta( get_the_id(), ‘city’, true ); return $city; } Using an array can also do the work as under: add_shortcode (‘cities’, … Read more

Can’t see content on page to edit

Hard to say without more information. Are you trying to make an edit to the page that displays events, or one of the events itself? If you’re trying to edit the Events they should have their own Custom Post Type in the sidebar of the dashboard.

Missing Page, But Still Exists In Preview

It certainly sounds like a caching issue. Even if you disable W3 Total Cache, often it keeps cache code in your wp-config.php file and .htaccess. Purge all that code and see if the problem persists. Also, make sure your web host does not have server caching. Many “managed” platforms have a built-in cache (eg. WP … Read more