• I’m working on this page: https://babyboomergold.savydev.com/browse-offers

    It allows users to search a custom post type and it’s related taxonimies (states and cities as well as categories).

    However, I can’t make the drop down hierarchal for some reason (it doesn’t accept the hierarchal argument). Here’s my code:

    Functions.php
    [88 lines of 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]

    my-page.php
    <?php dropdown_search('states-and-cities', array( 'taxonomy' => 'states-and-cities', 'hierarchical' => true, 'show_option_none' => ' ', 'hide_empty' => 1, 'orderby' => 'name', 'order' => 'asc', 'name' => 'states-and-cities' )); ?>

    [ Don’t bump, it’s not permitted here. ]

  • The topic ‘Hierarchal custom post type drop down, need help…’ is closed to new replies.