Support » Plugin: WP Tiles » Custom Post Type

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


    Showing a custom post type can be done through the settings screen (the very last setting!) or in the shortcode directly:

    [wp-tiles posts_query='post_type=my_custom_post_type']

    Can we also use custom post type categories? I am trying to get this plugin to work with custom post types created by a theme and I would like to be able to use the filter by category function.

    How can we display multiple custom post types? Comma separated post types did not work:

    [wp-tiles posts_query='post_type=post,post_2']

    Plugin Author Mike Martel


    This should work when you pass the post types like this:
    [wp-tiles posts_query='post_type[]=post&post_type[]=post_2']

    See also

    Hi Mike, that did not work in the shortcode. It ended up with part of the shortcode text below the tiles like this:

    Can you suggest another method?

    Plugin Author Mike Martel


    It looks like you’re using curly quotes ( ‘ and ’ ) in the screenshot. Can you try it with straight ones? (”).

    It takes the first ] to be the end of the shortcode.. using straight quotes should prevent this.

    They are not curly it is just the way it displays it on the front end I think. I am using this code:
    [wp-tiles posts_query='post_type[]=post&post_type[]=stories']


    Plugin Author Mike Martel


    Hi Maya, sorry for the slow reply, I knew this way going to take some fiddling.

    You’re absolutely right.. there’s no way in which it can work with square brackets! So, the solution is there 0.5.2 (coming in a minute), but it ain’t pretty: replace [] by {} and you’ll be set.

    Let me know how it works out!

    Fantastic! It is working great. As long as it works, it’s pretty to me 😉


    Hi Maya,

    I’m helping a client of mine with a new design for her blog using WP Tiles. Is there any way you could provide some guidance on how to program the hover effect? When you hover over a tile, the tile changes color and a title appears. I would greatly appreciate some direction on this and code snippets if it’s a simple modification. Thanks so much!!!


    Hi there,
    I don’t think showing titles had anything to do with my post. The plugin does that automatically in the settings.

    Thanks for getting back to me! To clarify on the hover effect, please take a look at: The titles do not appear until you position your cursor over an image. Did you design this site? I’ve been trying to find the code for this effect. Thank you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Custom Post Type’ is closed to new replies.