WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
Filter posts by Category (1 post)

  1. dmiklus
    Member
    Posted 1 year ago #

    Hi! I am trying to filter the post list with a category slug, but doesn't work!

    This is the shortcode:

    [display-posts post_type="portfolio" category="rooms" post_status="publish" posts_per_page="-1" order="DESC" orderby="date"]

    The filter category doesn't work with post_type="post" as well.

    I can't understand why doesn't work!

    Can you please help me?

    D.

    http://wordpress.org/extend/plugins/display-posts-shortcode/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic