Blog overview not working

Home Forums SKT Biz/Corp Theme Support Blog overview not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #87504
    PeterPeter
    Participant
    • Topics: 13
    • Replies: 54
    • Total: 67
    Member since: September 27, 2016

    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.

    #87525
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi,

    This issue was resolved form our end. Kindly check and confirm.

    Regards,
    Chris

    #87573
    PeterPeter
    Participant
    • Topics: 13
    • Replies: 54
    • Total: 67
    Member since: September 27, 2016

    Hi 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

    #87580
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi,

    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,
    Chris

    #88375
    PeterPeter
    Participant
    • Topics: 13
    • Replies: 54
    • Total: 67
    Member since: September 27, 2016

    made it, thanks!

    `$query = new WP_Query( array( ‘paged’ => $paged ) ); ?>

    is the right search term ‘ in front of paged was missing

    #88444
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.