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 »

This adds today's date to top right corner of header


  #1  
Old Jul 18, 2009, 04:00 AM
juandrah
 
24 posts · Jul 2009
This bit of code adds today's date to the top right corner of header. It might make a good switchable option for the header in ATO under "Style and edit HEADER AREA"?

In wp-content\themes\atahualpa\header.php,

after:

Code:
<col class="coltwo" />
<?php if ( $bfa_ata['right_col2'] == "on" ) { ?><col class="colthree-inner" /><?php } ?>
<?php if ( $bfa_ata['right_col'] == "on" ) { ?><col class="colthree" /><?php } ?>
</colgroup>
add:

Code:
        <!-- Add 'todays date' line to top of Header -->
        <tr>
        <td valign="top" align="right" colspan="<?php echo $bfa_ata['cols']; ?>"><? print(Date("l F d, Y")); ?></td>
        </tr>
        <!-- / Add 'todays date' line to top of Header -->
before:

Code:
<tr>

		<!-- Header -->
		<td id="header" colspan="<?php echo $bfa_ata['cols']; ?>">

		<?php bfa_header_config($bfa_ata['configure_header']); ?>

		</td>
		<!-- / Header -->
Cheers, juandrah
  #2  
Old Aug 21, 2011, 01:31 AM
rayvapor
 
1 posts · Jun 2011
I did as as what you have wrote
but It did not work
My edition is 3.6.4

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using gys-themed-categories but want the atahualpa header on top blogmom Plugins & Atahualpa 3 Jun 6, 2009 04:55 PM
[SOLVED] How do I change the font for the big title at the top in the header? AlanaBay Header configuration & styling 1 Jun 5, 2009 12:09 PM
How do I change the "Page" header on top of my menu? I cannot find it in the editor. Jayce Page & Category Menu Bars 1 Apr 11, 2009 09:51 PM
[SOLVED] Display today's date paulae Post-Kicker, -Byline & -Footer 0 Apr 9, 2009 09:47 AM
Upper Right Corner Missing on Pages But Not on Posts LabbyRoad Atahualpa 3 Wordpress theme 4 Mar 18, 2009 12:11 PM


All times are GMT -6. The time now is 09:48 AM.


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