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

Suggestion: Support for multipost pages header and footer


  #1  
Old Jul 9, 2009, 04: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, 08: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 08:37 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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


All times are GMT -6. The time now is 12:00 PM.


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