Title: Post category short code
Last modified: August 22, 2016

---

# Post category short code

 *  Resolved [ebeamer](https://wordpress.org/support/users/ebeamer/)
 * (@ebeamer)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/post-category-short-code/)
 * Hi there
    I just updated to WP 1.0 and not my tiles aren’t appearing.
 * I have this code on the bottom of all my category pages from the old version 
   and just wondering if it is still the same code or if i have to update it? i 
   don’t have too many category pages so i don’t mind updating it manually. thanks
   so much. 🙂
 * [wp-tiles posts_query=’category=17′]
 * website: [http://visitkaslo.com](http://visitkaslo.com)
 * [https://wordpress.org/plugins/wp-tiles/](https://wordpress.org/plugins/wp-tiles/)

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

 *  Plugin Author [Mike Martel](https://wordpress.org/support/users/mike_cowobo/)
 * (@mike_cowobo)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5801887)
 * Hi [@ebeamer](https://wordpress.org/support/users/ebeamer/),
 * Sorry to hear that the tiles aren’t showing after the update. The shortcode syntax
   has changed, but compatibility with the old syntax should have been preserved
   as much as possible.
 * The new syntax for displaying tiles from a category is:
 * `[wp-tiles category=category-name]`
 * So for example:
 * `[wp-tiles category=accommodation-guide]`
 * Let me know if the tiles show up again after changing the shortcode!
 * — Mike
 *  Thread Starter [ebeamer](https://wordpress.org/support/users/ebeamer/)
 * (@ebeamer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802160)
 * Thank you. this worked great!
 *  Thread Starter [ebeamer](https://wordpress.org/support/users/ebeamer/)
 * (@ebeamer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802161)
 * 🙂
 *  [TT MEDIAlab](https://wordpress.org/support/users/ladeluff/)
 * (@ladeluff)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802174)
 * Hi.
    this new syntax doesn´t work for us.
 * i´m trying to display posts in a custom grid (customer is picky ;))
    and do this
   by fetching posts only form one category (which is named promo)
 * no dize
 * suggestions?
 * i DO get the one below to work though, but this will try to fetch too many posts.
 * [wp-tiles post_type=”post” orderby=”date” order=”DESC” grids=”hexa”]
 *  [ANieuwhof](https://wordpress.org/support/users/anieuwhof/)
 * (@anieuwhof)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802179)
 * I’m having the exact same problem.. just plain simple [wp-tiles category=category-
   name] doesn’t work. Tried it with and without ” and the same for – inbetween 
   the category words 🙁
 *  Plugin Author [Mike Martel](https://wordpress.org/support/users/mike_cowobo/)
 * (@mike_cowobo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802180)
 * Hi [@anieuwhof](https://wordpress.org/support/users/anieuwhof/) and [@tt](https://wordpress.org/support/users/tt/)
   Medialab,
 * That’s strange! I just confirmed it is still working with the latest WP Tiles
   on my test install. Did you double check that the category name is correct, by
   checking in the categories overview in wp-admin?
 * Also, try generating the shortcode with the shortcode button in the editor to
   make sure that the correct category comes through.
 * If it still fails, can you send me a link to a demo page and the shortcode you
   are using?
 * Cheers,
    Mike
 *  [ANieuwhof](https://wordpress.org/support/users/anieuwhof/)
 * (@anieuwhof)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802181)
 * Hey Mike thanks for your quick responce. I did find the bug eventualy. The category
   name you use in the query and which is used bij the generator take the name/title
   of the category. I got it working by using the category url “name” which in my
   case differs somewhat from the title. Now its working properly.
 *  Plugin Author [Mike Martel](https://wordpress.org/support/users/mike_cowobo/)
 * (@mike_cowobo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802182)
 * Hi [@anieuwhof](https://wordpress.org/support/users/anieuwhof/),
 * Thanks for reporting back! You’re right.. the shortcode builder uses the category
   name instead of the slug. WP can be a tad confusing around what a `name` is when
   it comes to categories!
 * I have fixed this on the `develop` branch, will include the fix in the next update.
 * Cheers,
    Mike
 *  [przemek przemek](https://wordpress.org/support/users/przemek-przemek/)
 * (@przemek-przemek)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802186)
 * Hi Mike, could you tell us when fix will be released?
 * I have big problems with creating new site where i want to use your plugin beacuse
   of this error but without “categories support” it seems to be useless 🙁
 * Best
    Przemek

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

The topic ‘Post category short code’ 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/)

 * 9 replies
 * 5 participants
 * Last reply from: [przemek przemek](https://wordpress.org/support/users/przemek-przemek/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/post-category-short-code/#post-5802186)
 * Status: resolved