Title: Doesn&#8217;t link to Dropdown Category
Last modified: May 3, 2023

---

# Doesn’t link to Dropdown Category

 *  [Yusup Ali](https://wordpress.org/support/users/fileour/)
 * (@fileour)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/doesnt-link-to-dropdown-category/)
 * 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](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-link-to-dropdown-category%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/doesnt-link-to-dropdown-category/#post-16709440)
 * Hi [@fileour](https://wordpress.org/support/users/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](https://wordpress.org/support/users/fileour/)
 * (@fileour)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/doesnt-link-to-dropdown-category/#post-16713452)
 * hI [@kuckovic](https://wordpress.org/support/users/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 ) {Qglobal $post;
   $categories = get_the_category_list( ‘, ‘, ”, $post->ID );return ” . $categories.”;}
 * add_shortcode(“cg”, “genre”);
   //Code for categories
 * Please may help.
    -  This reply was modified 3 years, 1 month ago by [Yusup Ali](https://wordpress.org/support/users/fileour/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Doesn’t link to Dropdown Category’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Yusup Ali](https://wordpress.org/support/users/fileour/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/doesnt-link-to-dropdown-category/#post-16713452)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
