Home › Forums › General Issues › get_category_link from taxonomy addon › Reply To: get_category_link from taxonomy addon
Hi @greencode
Can you please clarify your abpove statement:
The three sub fields are working correctly i.e. title, description and link
You then say
‘get the category ID from the site_cat_link field to then produce the category link that I’m having issues.’
I can’t see any code which ‘gets the category ID’
In general, can you please debug your code. This is a neccessary part of web development. All this means is to use a function such as var_dump to dump out the variable or return value from a function. This will allow you to see what data you have.
Please debug each line and return with your findings.
Thanks
E
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.