WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. dwinn71
    Member
    Posted 5 months 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
    Member
    Plugin Author

    Posted 5 months 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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.