WordPress.org

Forums

WP Tiles
[resolved] Custom post type (2 posts)

  1. dwinn71
    Member
    Posted 1 year ago #

    Hi

    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?

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

  2. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi

    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.

    Cheers,
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.