Support » Plugin: WP Tiles » Can I pull articles from tag instead of category?

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

    (@mike_cowobo)

    Hi there,

    Sorry for the delayed response. The plugin supports custom tax queries, so you can use any taxonomy whatsoever to find the right posts. So, if you have a featured tag, you could do something like this:

    [wp-tiles posts_query="tax_query{0}{taxonomy}=tag&tax_query{0}{field}=slug&tax_query{0}{terms}=featured"]

    (This ugly construction looks for posts with the tag ‘featured’)

    Cheers,
    Mike

    Hi,

    I have tags ‘7dnikolo’
    but I can not find out how to create query to show only post with this tags?

    This does not work on page:

    [wp-tiles ┬átemplate=”Plain” display=’bylineOpacity=0.3′ posts_query=”tax_query{0}{taxonomy}=tag&tax_query{0}{field}=slug&tax_query{0}{terms}=7dnikolo”]

    Idea please,

    Regards,
    Bosti

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I pull articles from tag instead of category?’ is closed to new replies.