title: My Taxonomies search is showing page not found error in WordPress
body: <p>I am working on my WordPress website and I have added the Custom post type plugin for creating the new section and I have also added the taxonomies for that.</p>
  
  <p>In my page, I have added the default categories drop-down select box using the elementor editor but the problem is that, it is not showing the taxonomies added for the Custom post type and also on selecting the taxonomy, it is showing the page not found.</p>
  
  <p>So, I went to the <code>wp-includes/category-template.php</code> and edited the file.</p>
  
  <pre><code>function wp_dropdown_categories( $args = '' ) {
    $defaults = array(
      'show_option_all'   =&gt; '',
      'show_option_none'  =&gt; '',
      'orderby'           =&gt; 'id',
      'order'             =&gt; 'ASC',
      'show_count'        =&gt; 0,
      'hide_empty'        =&gt; 1,
      'child_of'          =&gt; 0,
      'exclude'           =&gt; '',
      'echo'              =&gt; 1,
      'selected'          =&gt; 0,
      'hierarchical'      =&gt; 0,
      'name'              =&gt; 'cat',
      'id'                =&gt; '',
      'class'             =&gt; 'postform',
      'depth'             =&gt; 0,
      'tab_index'         =&gt; 0,
      'taxonomy'          =&gt; 'project_type',
      'hide_if_empty'     =&gt; false,
      'option_none_value' =&gt; -1,
      'value_field'       =&gt; 'term_id',
      'required'          =&gt; false,
  );
  
  $defaults['selected'] = ( is_category() ) ? get_query_var( 'cat' ) : 0;
  
  function wp_list_categories( $args = '' ) {
  $defaults = array(
  'child_of'            =&gt; 0,
  'current_category'    =&gt; 0,
  'depth'               =&gt; 0,
  'echo'                =&gt; 1,
  'exclude'             =&gt; '',
  'exclude_tree'        =&gt; '',
  'feed'                =&gt; '',
  'feed_image'          =&gt; '',
  'feed_type'           =&gt; '',
  'hide_empty'          =&gt; 1,
  'hide_title_if_empty' =&gt; false,
  'hierarchical'        =&gt; true,
  'order'               =&gt; 'ASC',
  'orderby'             =&gt; 'name',
  'separator'           =&gt; '&lt;br /&gt;',
  'show_count'          =&gt; 0,
  'show_option_all'     =&gt; '',
  'show_option_none'    =&gt; __( 'No categories' ),
  'style'               =&gt; 'list',
  'taxonomy'            =&gt; 'project_type',
  'title_li'            =&gt; __( 'Categories' ),
  'use_desc_for_title'  =&gt; 1,
  );
  
  $r = wp_parse_args( $args, $defaults );
  </code></pre>
  
  <p>In place of <code>'taxonomy' =&gt; 'category'</code>, I added this <code>'taxonomy'=&gt; 'project_type'</code>, Now the taxonomies are showing but the search according to the drop-down select box is not working. It is showing page not found.</p>
  
  <p>Any help is much appreciated.</p>