[Resolved] Featured image to the previous and next links

Home Forums Support [Resolved] Featured image to the previous and next links

Home Forums Support Featured image to the previous and next links

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2066661
    Don

    Good Afternoon,

    I’m trying to add the post featured image to the previous and next links at the bottom of post page.
    I followed the instructions here: https://generatepress.com/forums/topic/featured-image-in-pre-next-post-navigation/ and added the code in the child functions.php and css.
    The previous and next images are switched. also the arrows are below the image and pointing down. And there is a small box on the end of the next post title. I searched the support but can not find any additional info.

    Could you help me get this working? Info in private area, if you need it.
    Thanks!

    #2066725
    Ying
    Staff
    Customer Support

    Hi Don,

    The previous and next images are switched

    It’s not, previous means the post published earlier than the current post, not the previous post visually on blog page.

    The method from the topic you linked was before we introduced dynamic element to GP Premium

    I would recommend to use a block element – post navigation template instead of the complicated PHP and CSS method.
    https://docs.generatepress.com/article/block-element-post-navigation/

    The video in the attached video shows how to create custom post navigation.

    Please be noted, GenerateBlocks plugin is required to use the dynamic options in GP.

    #2066776
    Don

    Thank You!

    #2066823
    Ying
    Staff
    Customer Support

    No problem 🙂

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