Title: Category posts_query=
Last modified: August 20, 2016

---

# Category posts_query=

 *  Resolved [Onsia](https://wordpress.org/support/users/onsia/)
 * (@onsia)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/category-posts_query/)
 * When I add in the (posts_query=’category=news’) the tiles don’t list my desired
   category. The drop down for the default works but I would like to use specific
   categories on different pages. All other (posts_query=) seem to work so far but
   not the category=. Is there a specific sequence the short codes need to be listed
   in? What am I missing?
    [http://newmillenniummusic.com/news/](http://newmillenniummusic.com/news/)
 * [http://wordpress.org/extend/plugins/wp-tiles/](http://wordpress.org/extend/plugins/wp-tiles/)

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

 *  Plugin Author [Mike Martel](https://wordpress.org/support/users/mike_cowobo/)
 * (@mike_cowobo)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/category-posts_query/#post-3485992)
 * 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
 *  [atkantor](https://wordpress.org/support/users/atkantor/)
 * (@atkantor)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/category-posts_query/#post-3486156)
 * We use a small, great plugin called reveal-ID. [http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/](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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-tiles_8f8e84.svg)
 * [WP Tiles](https://wordpress.org/plugins/wp-tiles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-tiles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-tiles/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-tiles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-tiles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-tiles/reviews/)

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)

 * 2 replies
 * 3 participants
 * Last reply from: [atkantor](https://wordpress.org/support/users/atkantor/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/category-posts_query/#post-3486156)
 * Status: resolved