This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tags as Custom Fields

  • Creator
  • #7995

    Jason, is there a way to use a Tag as a custom field for a page? I would like to create a page with a post list that has posts that contain a specific tag.


Viewing 1 replies (of 1 total)
  • Author
  • #8008
    Jason Bobich

    You’re not going to be able to do this through any custom query option in the theme by default because this cannot be done with a simple query string. As far as I know, you can only do this with an actual array of arguments for your query.

    So, you’d have to actually filter in your own custom query through PHP for your post lists. See #2 here for an interesting approach on accomplishing this general idea of transforming a Builder element’s custom query option into a query you actually program in from your Child theme’s functions.php:

    And then, once you’re in control of the query for your post list from your Child theme’s functions.php, here’s how you make a WP query by a custom field:

Viewing 1 replies (of 1 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.