WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mdunham
    Member
    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?

    http://wordpress.org/plugins/wp-tiles/

  2. Mike
    Member
    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.

    Cheers,
    Mike

  3. mdunham
    Member
    Posted 4 months ago #

    Thanks Mike!

    Very helpful

Reply

You must log in to post.

About this Plugin

About this Topic