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 » Header configuration & styling »

Suggestion: Support for multipost pages header and footer


  #1  
Old Jul 9, 2009, 05:55 AM
pedja
 
6 posts · Apr 2009
I would like to see this teme expanded so it introduces header and footer for multipost pages. That would help us avoid hardcoding items we want to display in this manner.
  #2  
Old Jul 13, 2009, 09:29 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
I put that on the To Do list

This can already be done with "Style & Edit Center Column" -> Content above Loop / Content below Loop, but should probably be easier because it is rather standard to have that

To do it now, Content above Loop:

(Taken from the Default theme)

PHP Code:
<?php $post $posts[0]; // Hack. Set $post so that the_date() works. ?>
       <?php /* If this is a category archive */ if (is_category()) { ?>
        <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
       <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
        <h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>
       <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
        <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
       <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
        <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
       <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
        <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
      <?php /* If this is an author archive */ } elseif (is_author()) { ?>
        <h2 class="pagetitle">Author Archive</h2>
       <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
        <h2 class="pagetitle">Blog Archives</h2>
       <?php ?>

Last edited by Flynn; Jul 13, 2009 at 09:37 PM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in 3.4 Plus Suggestion jfrenaye New Versions, & Updating 1 Jul 11, 2009 07:19 AM
How to add support for WP-Print, to print pages/posts? AndrewRH Atahualpa 3 Wordpress theme 1 Jun 2, 2009 05:13 PM
Footer on Single Post Pages > some of it is missing StudioGal Post-Kicker, -Byline & -Footer 10 May 8, 2009 01:31 PM
suggestion: blog title not h1 lsilva Header configuration & styling 1 May 6, 2009 08:25 AM
Customizing posts displayed in multipost home page by category Darren Sproat Atahualpa 3 Wordpress theme 0 Mar 20, 2009 02:02 PM


All times are GMT -6. The time now is 04:47 PM.


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