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
Hi @pastore1980
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.