• The examples with the plug-in shows this one:
    <h2>List of 5 most popular posts (by comments number)</h2>
    [su_posts template=”templates/list-loop.php” posts_per_page=”5″ orderby=”comment_count”]

    How can I edit this so I get posts via

      category

    .

    I want to display only the ‘latest’ category posts on my static home page, by temporarily categorizing them as ‘latest’.

Viewing 1 replies (of 1 total)
  • Thread Starter FireFlyWebs

    (@fireflywebs)

    I figured out that this is what I need
    [su_posts template=”templates/default-loop.php” id=”” posts_per_page=”5″ post_type=”post” taxonomy=”category” tax_term=”latest”]

Viewing 1 replies (of 1 total)

The topic ‘Short code for Post Category’ is closed to new replies.