• Resolved ypb2021

    (@ypb2021)


    I have three categories in my JobboardWP installation that I can access via the search window (this works flawlessly). However, I would like to link to all three categories as a menu from the header. When I call up a category, a “No results found” page from WordPress appears.

    Where is my error? Thanks a lot for the help!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @ypb2021,

    Please try to use this hook and callback function for getting displayed Job Category in nav menu.

    add_filter( 'jb_taxonomies_list', 'my_custom_jb_taxonomies_list', 10, 1 );
    function my_custom_jb_taxonomies_list( $taxonomies ) {
        $taxonomies['jb-job-category']['tax_args']['show_in_menu'] = true;
        return $taxonomies;
    }

    You may insert this custom code into your theme’s\child-theme’s functions.php file.

    Let me know if that works,
    Best Regards!

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @ypb2021

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category as a menu item’ is closed to new replies.