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 »

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

Prev Previous Post   Next Post Next
Old Dec 15, 2011, 03:36 AM
_kimberley's Avatar
51 posts · Dec 2011
[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;


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?


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 02:54 PM.

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