Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

creating a drop down for archives?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 1, 2009, 11:37 AM
pltrace
 
25 posts · Feb 2009
creating a drop down for archives?

I was able to find code to make the archives a drop-down menu, but now I am not sure where to put it.

Here is the code:

<select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'>
<option value=""><?php echo attribute_escape(__('Select Month')); ?></option>
<?php wp_get_archives('type=monthly&format=option&show_p ost_count=1'); ?> </select>



Thanks!!
  #2  
Old Mar 1, 2009, 03:57 PM
Flynn's Avatar
Flynn
 
3,745 posts · Oct 2008
Munich, Germany
There is a checkbox option "Display as a drop down" inside the widget, you don't need that code
  #3  
Old Mar 1, 2009, 05:55 PM
pltrace
 
25 posts · Feb 2009
:| oops, sorry you had to take the time to show me that. thanks for your help though!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change Archives layout ? Paul33 Atahualpa 3 Wordpress theme 2 May 8, 2009 02:53 PM
Archives wiget, thndrwhls Sidebars & Widgets 1 Apr 2, 2009 05:23 AM
Category & Date archives Cosmic Comix & Toys Forum How-To 1 Mar 8, 2009 05:15 AM
Categories & Archives format Glottis Excerpts, Read more, Pagination 3 Jan 30, 2009 11:09 AM
Problem with Archives Returning a Single Post andyro Atahualpa 3 Wordpress theme 1 Dec 12, 2008 03:54 PM


All times are GMT -6. The time now is 07:28 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.