Support » Fixing WordPress » Rmove time & Date from Snow Summit

  • Resolved sshull12

    (@sshull12)


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    Forum Moderator

    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.

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

    esmi

    (@esmi)

    Forum Moderator

    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.

    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
    }

    hstilo

    (@hstilo)

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Rmove time & Date from Snow Summit’ is closed to new replies.