WordPress.org

Support

Support » Themes and Templates » A little PHP help please.

A little PHP help please.

  • I am using a plug in to display thumbs on my home page and I want to only display from one category.

    The documentation states:
    Custom WP Query parameters can be passed as the third argument to the function, like this:
    <?php display_yd_recent_posts_here( ”, ”, ‘<your query parameters here>’ ) ?>

    In my page template I have:
    <?php display_yd_previous_posts_here(3) ?>
    What extra do I need to put in here to display from one category only?

  • The topic ‘A little PHP help please.’ is closed to new replies.