pagination for blog landing page

This works for me with no 404s <?php $args = array ( ‘posts_per_page’ => 5 , ‘paged’ => $paged, ‘ignore_sticky_posts’ => true ); $blog_query = new WP_Query($args); if ( $blog_query->max_num_pages > 1 ) { next_posts_link(‘&larr; Older posts’, $blog_query->max_num_pages); previous_posts_link(‘Newer posts &rarr;’, $blog_query->max_num_pages); } while ( $blog_query->have_posts() ) { $blog_query->the_post(); // STUFF } if ( $blog_query->max_num_pages … Read more

why is this content-template not showing any of my blog-entries?

With this code: get_template_part(‘content’, ‘page’ ); WordPress will try to load a file called content-page.php and if this file doesn’t exist then it will try to load content.php. Your theme seems to have the file content-page.php, so if you want to load content.php you should use: get_template_part(‘content’); EDIT: You have edited the question and delete … Read more

Page updates appear in Preview but not live version?

If I understand you well, button ‘Preview Changes’ displays changes made on post/page while you ‘Update’ page/post (save changes). But, ‘View Page’ displays page as is with latest ‘Update’ version. So, if you did not updated page, then you’ll not see what you get when you go to ‘Preview Changes’.

Having single posts appear under the blog homepage and highlight menu items properly?

You can edit your permalinks like so: /be-the-first-to-care/first-to-care-blogs/%year%/%monthnum%/%day%/%postname%/ I’m not sure why blog posts work like that, maybe somebody can give you further insight but the above works for me. You can edit your permalinks via: Admin Panel -> Settings -> Permalinks Then click the “Custom Structure” radio button and fill in the textbox with … Read more

Echo the featured image of page assigned to blog in index.php

when a page is set to be the posts page, then the ‘page_for_posts’ option will contain the page id of that page; in this case, you can output the featured image with: if( is_home() && get_option( ‘page_for_posts’ ) echo get_the_post_thumbnail( get_option( ‘page_for_posts’ ) );