Support » Plugin: Display Posts - Easy lists, grids, navigation, and more » parameter for show posts of page's category?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    No, this isn’t a feature, but if you’re a developer you can extend the plugin to do this. The ‘display_posts_shortcode_args’ filter passes the query args AND the original shortcode attributes. So just create an attribute not already in use (ex: [display-posts in_same_cat=”true”] ), then write a filter that modifies the query based on that.

    Thread Starter JJ

    (@juliej82hotmailcom)

    Cool – thanks for the tip. I’ll give it a shot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘parameter for show posts of page's category?’ is closed to new replies.