Title: Drop down menu
Last modified: August 18, 2016

---

# Drop down menu

 *  [traxis](https://wordpress.org/support/users/traxis/)
 * (@traxis)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/drop-down-menu-3/)
 * [http://matthew.animeblogger.net/archives/2005/10/22/mahou_shoujo_lyrical_nanoha_as_4.php](http://matthew.animeblogger.net/archives/2005/10/22/mahou_shoujo_lyrical_nanoha_as_4.php)
 * Look at the drop down menu at top, where you can select any posts from that category.
   I know he uses MovableType, but i want to do the same in WordPress, i saw it 
   in some blogs. Can anyone help me? Is there an option or something to make a 
   drop down menu like that? Someone told me to use this script:
 * <script language=”JavaScript” type=”text/JavaScript”>
    <!– function MM_jumpMenu(
   targ,selObj,restore){ //v3.0 eval(targ+”.location='”+selObj.options[selObj.selectedIndex].
   value+”‘”); if (restore) selObj.selectedIndex=0; } //–> </script>
 * <select name=”category” onchange=”MM_jumpMenu(‘parent’,this,0)”>
    <option value
   =””>Other entries in my site…</option>
 * <option value=””>———————————–</option>
    <?php query_posts(‘category_name=YOURCATEGORYNAME&
   showposts=4’); ?> <?php while (have_posts()) : the_post(); ?> <option value=”
   <?php the_permalink(); ?>”><?php the_title(); ?></option> <?php endwhile; ?> 
   </select>
 * But i didn’t know where i had to put it :S Also i saw i must specify a category,
   but can i make it “dynamic” so depending on the category of the post, it show
   only posts from that category? (exactly like the site before mentioned) I need
   too the drop down menu appears in every post i visit by clicking on the post 
   title (like that site).
    Also, someone told me to use cg-samecat plugin, but 
   i don’t know how… ._. Thanks in advance!

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/drop-down-menu-3/#post-277757)
 * Looked at this ?
    [http://codex.wordpress.org/Template_Tags/dropdown_cats](http://codex.wordpress.org/Template_Tags/dropdown_cats)
 *  Thread Starter [traxis](https://wordpress.org/support/users/traxis/)
 * (@traxis)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/drop-down-menu-3/#post-278094)
 * Yes, but thats for showing categories, no? I want to display all posts within
   a category in a drop down menu, and at the top of every post i write. Can you
   help me with that?
    Thanks for answering!

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

The topic ‘Drop down menu’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [traxis](https://wordpress.org/support/users/traxis/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/drop-down-menu-3/#post-278094)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
