• If Displayed as dropdown Categories, it does not work on a live page. I think it doesn’t link to the Category. (look at screenshot https://ibb.co/kc8kmrC }

    If I chose Categories, it redirect on homepage.

    Please help me, how to fix it?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @fileour

    Are you using the default widget?
    Also, make sure there’s no custom filter for this in your functions.php-file.

    Thread Starter Yusup Ali

    (@fileour)

    hI @kuckovic Thank for the response.

    I am using the WordPress default widget. In this case, If I use the default Categories, it works fine.

    But while adding dropdown Categories then going to the live page and if I select any Categories, it does not work.

     Here no custom filter for this in your functions.php-file. But I added for shortcut categories code such as below.

    //Code for categories
    function genre( $atts, $content = null ) {Q
    global $post;
    $categories = get_the_category_list( ‘, ‘, ”, $post->ID );
    return ” . $categories . ”;
    }

    add_shortcode(“cg”, “genre”);
    //Code for categories

    Please may help.

    • This reply was modified 1 year, 10 months ago by Yusup Ali.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn’t link to Dropdown Category’ is closed to new replies.