Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] where can I edit php script morning, day and night header without lossing my


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Dec 15, 2011, 03:36 AM
_kimberley's Avatar
_kimberley
 
18 posts · Dec 2011
Amsterdam
[SOLVED] where can I edit php script morning, day and night header without lossing my

I got this php script and I works perfectly:

<img src="http://www.lasvegascity.nl/wp-content/themes/atahualpa/images/header/header_<?php
$hour = date('Hi'); // hour of the day, 24 hour clock
if ($hour > 1759 or $hour < 600) {
$timepic = 'night';
} elseif ($hour > 1200) {
$timepic = 'day';
} else {
$timepic = 'morning';
}
echo $timepic;

?>.png">

But when I change <?php echo bfa_header_config(); ?> in header.php, the menu wil disapear. Where can I put this php code so my menu won't disapear?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Replace Header image and set Image from script??? fotomag Header configuration & styling 3 Apr 1, 2011 03:45 AM
Replace php or Use Header image to edit for slideshow Phocusmag Sidebars & Widgets 14 Jul 27, 2010 05:15 PM
[SOLVED] Header script conflict with nextgen gallery view? Athena account2 Header configuration & styling 1 Mar 6, 2010 10:53 PM
How do I replace Header Image with OpenX Ad Script? MustardSeed Header configuration & styling 1 Feb 26, 2010 05:05 AM


All times are GMT -6. The time now is 06:30 PM.


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