Custom Fields Query
-
Im trying to pull a custom field from a page to a template and run into a little difficulty
I am currently using the below query to query my tag ‘autoshows’, and would like to change the query to use the custom tag field used on my page
‘<?php // this is where the upper sub blog gets printed
query_posts(‘showposts=4&tag=autoshows&orderby=title&order=ASC’); ?>’I have made a Custom Field called TTAG
and are trying to get the query to show posts where CustomField.TTAG = my CustomField.Valueall help would be appreciated… cheers
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Custom Fields Query’ is closed to new replies.