[Resolved] Show 3 Recent Posts after each single post.

Home Forums Support [Resolved] Show 3 Recent Posts after each single post.

Home Forums Support Show 3 Recent Posts after each single post.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #434429
    Leon

    Hi Tom,

    I was thinking if there is a way to show 3 recent posts after each single post and only on single post page.

    I have a plugin that generates 3 posts and determines how they are displayed.

    Should I use GP hook to achieve this? If so, could you please let me know the detailed way to do it? Thank you in advance.

    PS: I have their shortcode ready and they provide the code to put in theme files as well, like this: <?php echo do_shortcode(“[pt_view id=efc8d842mz]”); ?>

    Thank you!
    Leon

    #434588
    Leo
    Staff
    Customer Support

    Hi there,

    Yup GP hooks should be the way. You can see where they are in this page:
    http://demo.generatepress.com/hook-locations/
    https://docs.generatepress.com/article/hooks-overview/

    #434744
    Leon

    Hi Leo,

    I’ve achieved what I wanted following the tutorial.

    Thank you
    Leon

    #435112
    Leo
    Staff
    Customer Support

    No problem!

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