Recent post hook

Community Forums Forums General Discussion Recent post hook

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 2 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #18657


    Is there a recent post genesis hook? or should I use default php to show 1 recent posts?

    I’m trying to load 1 recent post onto a custom page but can’t find the hook.





    Hi David,

    The Genesis hooks would allow you to output your function in the right place but they themselves wouldn’t output a post. You’d need to write a function to display the required post and then use add_action to add your function to the right hook.

    It may be simpler for you to use something like the Display Posts Shortcode plugin. You can then just add the required shortcode to your page through the Editor.

    Let me know if that helps.


    Twitter: cehwitham Web:

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.