Support » Plugins » in_category only works in one category

  • Resolved Stef Verbeeck


    Hi all,

    On a site we’ve made, we use ‘in_category’ to determine if a subnavigation with child categories should be shown as big blue buttons under the main nav.

    The code in category.php looks like this:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    For the first parent (‘inhouse’), this works just fine. For the parent in the elseif-statement (‘outdoors’) however, nothing is shown.

    Any ideas on how to fix this? The category names are correct, yet nothing echoes for the outdoor category. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘in_category only works in one category’ is closed to new replies.