WordPress.org

Support

Support » Themes and Templates » Date – Time in Sidebar

Date – Time in Sidebar

  • I’m trying to insert the following code into a text widget for the sidebar, but it does not appear. Is there a plugin or widget available that will show the date and time in this fashion in the sidebar?

    Tuesday, April 17, 2007 | 07:25 PM

    <script type=”text/javascript” language=”JavaScript”>
    <!–
    var calendarDate = getCalendarDate();
    var clockTime = getClockTime();
    document.write(‘ ‘ + calendarDate);
    document.write(‘ | ‘);
    document.write(‘ ‘ + clockTime);
    //–></script>

  • The topic ‘Date – Time in Sidebar’ is closed to new replies.