Support » Plugin: WP Tiles » Use images from posts in one category

  • Resolved mdunham

    (@mdunham)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    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

    mdunham

    (@mdunham)

    Thanks Mike!

    Very helpful

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use images from posts in one category’ is closed to new replies.