• The code works but is not filtering my categories or number of posts.
    Here’s the page I’m working on: http://dev.vermontapples.org/for-growers/

    and the code (with space added at the beginning only for here)
    [ add_posts category=growers-news show=2 h=2 full=false readmore=”Read more” img=true]

    I’m getting more than just the growers-news category and I’m getting 3 posts (which is my sum total at this point) instead of the 2 I specified.

    I read that you have to remove the <p> tags, etc. and there are none.

    Thanks.

    https://ww.wp.xz.cn/plugins/add-posts-to-pages/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The secret sauce is:

    where everything refers to “category” actually means “category-slug”

    It took me a few hours to figure that out when it was right there on the FAQ page for the usage. It’s really easy to miss (that’s my excuse).

    I’m having this same issue! I used the ‘slug versions’ of both the category and tag parameters but it’s still pulling in all of my posts as opposed to the specified category/tag, which it sounds like is happening to you. Are you using WP 4.0.1?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Not filtering’ is closed to new replies.