Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

creating a drop down for archives?


  #1  
Old Mar 1, 2009, 12:37 PM
pltrace
 
25 posts · Feb 2009
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, 04:57 PM
Flynn's Avatar
Flynn
 
3,768 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, 06: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



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


All times are GMT -6. The time now is 11:51 PM.


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