Support » Plugin: WP Tiles » Pages and Post Category

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

    (@mike_cowobo)

    Hi there, this is a very delayed response! Sorry for that. Hopefully this is still any use.

    If you want to display links to category pages, then unfortunately there is no easy way to achieve this. The only thing you can do is filter the wp tiles data and manually insert tiles for category archives. For inspiration, see this gist.

    If you just want to display poth pages and posts from certain categories, you can query for multiple post types by setting ‘post_type’ to ‘any’ in the posts_query.

    Let me know if you need any further help!

    Mike

    Hi Mike

    Does this mean that I cannot display posts of a selected category (in this example “tutorials”) by modifying the shortcode as written below?

    [wp-tiles posts_query='numberposts=10&category=tutorials&post_type=post']

    Unfortunatels, the shortcode doesn’t do the trick. What did I do wrong?

    Plugin Author Mike Martel

    (@mike_cowobo)

    Hi!

    You can use the shortcode to display tiles from a certain category, but you have to use the category ID instead of name. See this thread for info on how to do it.

    Cheers,
    Mike

    Ps. if you have more questions, please start a new topic in the forum! Thanks.

    Hi Mike

    Thanks for your quick reply. I replaced the category name with it’s ID and now it works perfectly. Nice 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pages and Post Category’ is closed to new replies.