• Resolved nunomira

    (@nunomira)


    Hi,

    Isn’t there a function to add the posts directly to the template?

    I’m also using WordPress Popular Posts and in this case I have the wpp_get_mostpopular() function that I call directly in my template.

    Can’t I do the same with Recently?
    If it’s possible, how would I do it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    No, at the moment there’s no way to add Recently to your theme other than via sidebar widgets. I may consider adding a function similar to WPP’s in a future release seeing that there’s at least some users (including you) interested in this so thanks for commenting.

    Thread Starter nunomira

    (@nunomira)

    Thanks for your answer, and for all your work!
    I’ll go with WP’s wp_get_recent_posts() function or a custom query.
    Appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Function to add directly to template’ is closed to new replies.