Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Archives wiget,


  #1  
Old Apr 1, 2009, 08:59 PM
thndrwhls
 
5 posts · Apr 2009
Flynn, Great job on Atahualpa!

I am sure the Incans, if they new what webpages and word press were, would be proud!

I have created a blog/website using wordpress and your theme.

www.crossfit.com

I would like to have the archives wiget show up in the right sidebar only on the home page and post pages. the only info I can find is to have the side bar not on other pages, I do not want to remove the sidebar, just the wiget.

Please explain the process.

Thank you in advance!!!

Joe
  #2  
Old Apr 2, 2009, 06:23 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Install the PHP code widget http://wordpress.org/extend/plugins/php-code-widget/

Use one instance of it in the sidebar and into the widget put

PHP Code:
<?php if ( is_front_page() OR is_single() ) { ?>
<ul>
<?php wp_get_archives("type=monthly"); ?>
</ul>
<?php ?>
For more configuration options see http://codex.wordpress.org/Template_...p_get_archives

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 03:53 PM
Category & Date archives Cosmic Comix & Toys Forum How-To 1 Mar 8, 2009 06:15 AM
creating a drop down for archives? pltrace Sidebars & Widgets 2 Mar 1, 2009 06:55 PM
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 03:45 PM.


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