Ready to get started?Download WordPress


WP Tiles
[resolved] Use images from posts in one category (3 posts)

  1. mdunham
    Posted 4 months ago #

    I want to show the images from one post category as a gallery using WP Tiles. I have a category named jazz, so I think the short code should be:

    [wp-tiles posts_query='category=jazz']

    But, when I use that shortcode, all the images from all posts in any category show in the tiles up to the number selected on the defaults page.

    As a test, I tried setting the default category to jazz using the simple shortcode without arguments and that works. So, it appears that I am not using the posts query arguments correctly. I want to be able to set up recent galleries for different post categories so I can't depend on the default setting alone.

    What am I doing wrong?


  2. Mike
    Plugin Author

    Posted 4 months ago #

    Hi there!

    WP Tiles does not accept the category slug for an argument, only the category id. See the answer to this question for info on how to do it.


  3. mdunham
    Posted 4 months ago #

    Thanks Mike!

    Very helpful


You must log in to post.

About this Plugin

About this Topic