Title: Tag Dropdown
Last modified: August 19, 2016

---

# Tag Dropdown

 *  [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/)
 * I need to create a dropdown list with tags in the header of the theme. Please
   help.
 * The tutorial from WPHacks is giving me a blank page error.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/tag-dropdown/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tag-dropdown/page/2/?output_format=md)

 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523802)
 * Use `wp_dropdown_categories()`, it does support changing which taxonomy to select
   terms from.
    [http://codex.wordpress.org/Template_Tags/wp_dropdown_categories](http://codex.wordpress.org/Template_Tags/wp_dropdown_categories)
 * Simply set the taxonomy to `post_tag`, and plonk in any other args/params you
   want.
 * Or if you really want to see the WP hacks site tutorial, you can usually get 
   round issues not being to see the page by using googles cache.
 * webcache.googleusercontent.com/search?q=cache:lkxfsnu5tf4J:wphacks.com/how-to-
   display-wordpress-tags-dropdown-menu/
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523957)
 * I can see the page from WpHacks, but when I implement it on my blog, it gives
   me a lot of errors when accessing the wp-admin area. Thanks, I’ll try that.
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523958)
 * How exactly do I change the taxonomy? You see, I’m using the tag dropdown list
   in the header of the template. I implemented the tutorial from WPHacks, and here
   are the errors I get after I press login on wp-login.php:
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/11/5713411/html/CupciniCity/wp-content/themes/the-view-wp/functions.php:16) in /home/content/11/5713411/html/CupciniCity/wp-login.php on line 302
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/11/5713411/html/CupciniCity/wp-content/themes/the-view-wp/functions.php:16) in /home/content/11/5713411/html/CupciniCity/wp-login.php on line 314
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/11/5713411/html/CupciniCity/wp-content/themes/the-view-wp/functions.php:16) in /home/content/11/5713411/html/CupciniCity/wp-includes/pluggable.php on line 665
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/11/5713411/html/CupciniCity/wp-content/themes/the-view-wp/functions.php:16) in /home/content/11/5713411/html/CupciniCity/wp-includes/pluggable.php on line 666
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/11/5713411/html/CupciniCity/wp-content/themes/the-view-wp/functions.php:16) in /home/content/11/5713411/html/CupciniCity/wp-includes/pluggable.php on line 667
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/content/11/5713411/html/CupciniCity/wp-content/themes/the-view-wp/functions.php:16) in /home/content/11/5713411/html/CupciniCity/wp-includes/pluggable.php on line 868
       ```
   
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523968)
 * > How exactly do I change the taxonomy?
 *     ```
       wp_dropdown_categories( array( 'taxonomy' => 'post_tag' ) );
       ```
   
 * > I implemented the tutorial from WPHacks, and here are the errors I get after
   > I press login on wp-login.php:
 * Sounds like an issue with placement of code. If you want help checking it’s placed
   correctly, copy all the code of the file you pasted the wphack code into, and
   paste it into a [pastebin](http://wordpress.pastebin.com/), then provide the 
   link back here please.
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523973)
 * Here is what I have in my functions.php:
    [http://wordpress.pastebin.com/DYbse2T5](http://wordpress.pastebin.com/DYbse2T5)
 * And my header.php:
    [http://wordpress.pastebin.com/zVyHTMUV](http://wordpress.pastebin.com/zVyHTMUV)
 * I’ve also tried copying this part:
 *     ```
       <div class="date-issue">
               September, 2009 <span class="issue">Edition #10</span>
       <select name="tag-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;">
               <option value="#">Select Edition</option>
               <?php dropdown_tag_cloud('number=0&order=asc'); ?>
       </select>
       </div>
       ```
   
 * at the beginning of index.php but unfortunately the errors remain.
    Thank you
   for your help.
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523976)
 * Copy and pasted the code for testing, seems to work just fine for me.
 * Can you try with plugins disabled?
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1523994)
 * I have all the plugins disabled, on a clean wp install with just a couple posts.
 * I get the error page after I press login on wp-login.php, did you try that?
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524000)
 * Nope, but i’ve given it a shot (thinking you’d caught the issue)..
 * Still works as expected.. i’ve also tried the 2.9 install, i’ve been testing 
   the 3.0 install up until now.
 * Still works … :-s
 * **NOTE:** I also have debugging on to, so i certainly can’t see anything being
   wrong with the code..
 * **Additional note:** Try removing the closing PHP tag from your functions file..(
   don’t worry it’s not required for PHP files), ie. the last `?>`
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524073)
 * Still can’t figure it out. Can we talk somewhere in private? (Like PM which does
   not exist here…)
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524074)
 * Yeps!! I think everything works fine now. The problem was that I had a clean 
   text line between 2 PHP sequences.
    Thanks.
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524078)
 * I finished with one problem and now I have another one. Will the tag dropdown
   work if the content is first filtered by category?
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524079)
 * It should do, what makes you think it wouldn’t?
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524081)
 * It does not for me. I have 3 columns of content on my page, each column divided
   in 3 boxes. Every box from every column shows a predefined category. Now, I have
   put the tag dropdown in the header and it does not work. When I change the tag
   in the list it does nothing…
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524082)
 * Is it possible to provide a URL to a page with the problem?
 *  Thread Starter [P](https://wordpress.org/support/users/paulsanduleac/)
 * (@paulsanduleac)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/#post-1524083)
 * The Page: [http://paulsanduleac.com/CupciniCity/](http://paulsanduleac.com/CupciniCity/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/tag-dropdown/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tag-dropdown/page/2/?output_format=md)

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 21 replies
 * 2 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/tag-dropdown/page/2/#post-1524096)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
