WordPress.org

Ready to get started?Download WordPress

Forums

WP Tiles
[resolved] Can I pull articles from tag instead of category? (3 posts)

  1. mikealive
    Member
    Posted 6 months ago #

    Hi,

    I'd like to use a "featured" tag instead of "featured" category. Is this possible with this plugin? Thanks ahead of time!

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

  2. Mike
    Member
    Plugin Author

    Posted 6 months ago #

    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

  3. BostiG
    Member
    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.