• Hello

    For me the plugin is working really well, but in addition to a link to the previous / next pages, is it also possible to include with that the Featured Image of the previous / next page? I tried adding this into the echo:

    $image_attributes = wp_get_attachment_image_src(get_post_thumbnail_id($post_object->ID), 'medium');

    Here
    if (!empty($prevPage)) echo '<p>Next<br>'.$prevPage.'</p>'.$image_attributes = wp_get_attachment_image_src(get_post_thumbnail_id($post_object->ID), 'medium').'';

    But I only get an Array error in place of the image. If this can be done, can someone explain how, I think I’m really close, maybe the error is with $post_object->ID

    Any help will be most appreciated.

    Thanks,

    • This topic was modified 7 years, 3 months ago by artdivision.
    • This topic was modified 7 years, 3 months ago by artdivision.
  • The topic ‘Incliding Featured Images’ is closed to new replies.