WordPress.org

Ready to get started?Download WordPress

Forums

Twitter time stamp off in style sheet code (4 posts)

  1. cat
    Member
    Posted 3 years ago #

    I'm using a premade theme and the twitter code is in the footer (tho' it appears on the right sidebar, I don't see any code there). The time stamp is saying 41 years ago. I don't mind removing this entirely and using Twitter's code or a plug-in but 1) can anyone see why this is messing up the time and 2) if I remove this, should there be other twitter code in the template somewhere?

    Thanks!

    This is what appears in the style css within the footer :

    .twitter-timestamp {
    font-size: 10px;
    }

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try looking in your theme's function.php for the code generating the Twitter display.

  3. cat
    Member
    Posted 3 years ago #

    hi esmi, thanks.

    This is what is there:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebars(2, array(
            'before_widget' => '
    <ul>',
            'after_widget' => '</ul>
    ',
            'before_title' => '<h2>',
            'after_title' => '</h2>',
        ));
    ?>

    ?

    Cathryn

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Then the Twitter function must be elsewhere in your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic