[Resolved] How to use custom object field value as parameter in query_posts
I’ve created a custom field which links to the page object of another page using the plugin advanced custom fields. I now want to use query_posts to return all of my posts that link to a particular page using that page object custom field.
The value I would like to filter is found using:
`$field = get_field(‘on_page’); // my custom field
Can I use $field->post_title as a parameter in query_posts? If so is it possible to show me how I would do it?
- The topic ‘[Resolved] How to use custom object field value as parameter in query_posts’ is closed to new replies.