WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Rmove time & Date from Snow Summit (6 posts)

  1. sshull12
    Member
    Posted 3 years 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.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  3. sshull12
    Member
    Posted 3 years ago #

    Thanks esmi!! here is the pastebin If anyone can help i'd really appreciate it

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  5. sshull12
    Member
    Posted 3 years 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
    }

  6. hstilo
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic