sshull12
Member
Posted 1 year ago #
Currently building site using Snow Summit. I am trying to get rid of the Time and Date located at the very top of the web site. I have searched every where trying to figure this out. Any help would be greatly appreciated. Its part of the theme and I just cant remove it. I did go into the appearance>Editor>header.php where i found
"<div id="outerwrap">
<?php // The top navigation menu custom nav defaults to show current date and current time ?>
<div id="topnav">"
If I delete this all it does is rearrange the appearance of the date and time at the top.
Try dropping a copy of the header.php file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.
sshull12
Member
Posted 1 year ago #
Thanks esmi!! here is the pastebin If anyone can help i'd really appreciate it
I've got a little closer to the problem. It would appear to be the snowsummit_top_nav() function that controls the default nav menu. It's possibly in the functions.php file.
sshull12
Member
Posted 1 year ago #
Thank you so much emsi!!! I am so thankful for your help.
Just in case anyone else is looking for it I found it at the very bottom of "Theme Functions, Functions.php"
function snowsummit_top_nav()
{
?>
- Today's date: <?php echo date('l M d Y');?>
- |
- Current time: <?php echo the_time();?>
<?php
}
Shull12, I am trying to do the same thing. Can I ask what you ended up doing? Did you just delete the whole
Today's date: <?php echo date('l M d Y');?>
|
Current time: <?php echo the_time();?>
<?php
}
..very new to this,
-h