Title: Dropdown Fix
Last modified: August 21, 2016

---

# Dropdown Fix

 *  [wpcrank_phil](https://wordpress.org/support/users/wpcsphil/)
 * (@wpcsphil)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/dropdown-fix-1/)
 * Hard to believe this is the only plugin that gives an Archives Widget for Custom
   Post Types. Only thing I could get working though, even if outdated.
 * Found a problem though when using the Dropdown setting. Replace the <select> 
   at line 41 with…
 *     ```
       <select name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'> <option value=""><?php echo esc_attr(__('Select Month')); ?></option> <?php wp_get_cpt_archives(apply_filters('widget_archives_dropdown_args', array('type' => 'monthly', 'format' => 'option', 'show_post_count' => $c, 'cpt' => $cpt))); ?> </select>
       ```
   
 * [http://wordpress.org/plugins/cpt-archive/](http://wordpress.org/plugins/cpt-archive/)

The topic ‘Dropdown Fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-archive.svg)
 * [CPT Archive](https://wordpress.org/plugins/cpt-archive/)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-archive/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-archive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-archive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-archive/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [wpcrank_phil](https://wordpress.org/support/users/wpcsphil/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/dropdown-fix-1/)
 * Status: not resolved