Support » Plugin: WP Tiles » Custom post type

  • Resolved David



    I have a custom post type in my theme. Each of the posts within the post-type has an ID. The posts themselves are made up of a series of images.

    I can get wp-tiles to display the titles of the posts within the post type by using:

    [wp-tiles posts_query=’post_type=slide-sets’]

    What I would like is to call a particular post using its ID and have the images within the post display on the tiles. How would I do that?

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



    Use the shortcode below to achieve this! Just replace POST_ID with the post id.
    [wp-tiles posts_query='post_parent=POST_ID&post_type=attachment&posts_per_page=-1&post_mime_type=image']

    Also, see this thread.


Viewing 1 replies (of 1 total)
  • The topic ‘Custom post type’ is closed to new replies.