Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi Onsia, to show posts from a certain category, use the category ID instead of the slug. The easiest way to find to the ID (I think) is to edit your category and note the value in the url.

    So, go to Posts->Categories, and click on the category you want the ID of. Now you’ll get a link similar to this:
    http://yourwebsi.te/wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=3&post_type=post

    tag_ID is the category ID (so 3, in this case). In the shortcode you can now use this ID as follows:
    [wp-tiles posts_query='category=3']

    Cheers,
    Mike

    We use a small, great plugin called reveal-ID. http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/

    Have had it on from almost day one [so that’s a few years] and never let us down. You see the ID when you look at any list — posts, categories, pages, etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category posts_query=’ is closed to new replies.