Home › Forums › Front-end Issues › Custom fields from custom types through the location rules › Reply To: Custom fields from custom types through the location rules
Your question is quite hard to understand. Can you please provide a clearer explanation of what you are trying to do?
Please name your CPT instead of saying
I have one custom post type.
Also, please refrain from such broad and vague terminology like this:
Now i want use the value of field from custom type (with a new wp-query loop) in single.php
I can tell you that the get_field function can be used WITHIN a custom WP_Query loop.
What code are you using? Perhaps you can post it (please wrap in backticks – code button)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!