Home › Forums › General Issues › Taxonomy Issue › Reply To: Taxonomy Issue
right.. so I need the top level category to be dynamic for the one that you are currently viewing… I tried to do the following extra code to load this as current category:
<?php $currentCat = $_GET[‘cat’];?>
But its not working still…
I have set as ‘parent’ => $currentCat within the get_terms array, but it now just displays the current category only (the Parent category).
The weirdest thing is… is that the post that is displaying isn’t in the parent category at all (its not selected to anyway), its only in the child category.. so it should be displaying / appearing below the child category not the parent….
Its not making much sense …
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.