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

  1. mdunham
    Posted 2 years 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 Martel
    Plugin Author

    Posted 2 years 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 2 years ago #

    Thanks Mike!

    Very helpful

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic