Home › Forums › SKT Biz/Corp Theme Support › Blog overview not working
- This topic has 5 replies, 2 voices, and was last updated 6 years ago by
Sonnal S Sinha.
-
AuthorPosts
-
November 14, 2017 at 7:02 pm #87504
I don’t get the blog overview to work on the start page. I would like to display the slider and the latest blog entries below – currently it only shows “news” but no blog news displayed.
How to display the latest blog entries as an overview page below the slider on the Home Page?
Thank you!–> I sent you the page URL & Logon details via ticket.
November 15, 2017 at 6:25 am #87525Hi,
This issue was resolved form our end. Kindly check and confirm.
Regards,
ChrisNovember 16, 2017 at 7:51 am #87573Hi Chris,
perfect – it’s working – thanks!
Could you please let me know what has been changed as this is just a test page and i might need it again on productive site?Regards Peter
November 16, 2017 at 9:10 am #87580Hi,
If you have this problems face again.
Kindly go to blog page template.
FIND
$query = new WP_Query( array( paged' => $paged ) ); ?>
AND REPLACE
$query = new WP_Query( array( 'post_type' => 'post', 'paged' => $paged ) ); ?>
Regards,
ChrisNovember 28, 2017 at 7:30 pm #88375made it, thanks!
`$query = new WP_Query( array( ‘paged’ => $paged ) ); ?>
is the right search term ‘ in front of paged was missing
November 29, 2017 at 10:01 am #88444Hi,
Kindly find this code.
$query = new WP_Query( array( ‘paged’ => $paged ) );
AND REPLACE
$query = new WP_Query( array( 'post_type' => 'post', 'paged' => $paged ) );
Regards,
Chris -
AuthorPosts
- You must be logged in to reply to this topic.