Home › Forums › General Issues › Using unique ID/Slug in template › Reply To: Using unique ID/Slug in template
Hi @hube2 ,
I assume this creates a count which increases by 1 every time to get a unique ID?
This resulted in a white page for me though. I’m not sure if i’m supposed to change some of the tags (fields? don’t know what it’s called) but as I mentioned much of this is wizardry for me.
Thanks for the quick reply. I’ve tried variations of the code from the documentation but I’m a still lost.
<php $field = get_field($field_name, $post_id, $format_value); ?>
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.