WordPress.org

Ready to get started?Download WordPress

Forums

A little PHP help please. (1 post)

  1. CaptainSEO
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.