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 »

Archives wiget,


  #1  
Old Apr 1, 2009, 08:59 PM
thndrwhls
 
5 posts · Apr 2009
Archives wiget,

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



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 11:19 AM.


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