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 »

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 06:45 AM.


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