• Resolved Jessi

    (@wbjtk)


    i noticed there was no space between the tweet and the time stamp

    eg: (this is my tweet1 day ago)

    so here is the quick fix if anyone is wondering how to do it:

    line 265, replace:
    $text = '<li>' . $text . '<a href="' . esc_url( "https://twitter.com/{$screen_name}/statuses/{$tweet_id}" ) . '" class="timesince">' . str_replace(' ', '&nbsp', wpcom_time_since(strtotime($tweet->created_at))) . "?ago</a></li>\n";

    with this:
    $text = '<li>' . $text . '<a href="' . esc_url( "https://twitter.com/{$screen_name}/statuses/{$tweet_id}" ) . '" class="timesince">?' . str_replace(' ', '&nbsp', wpcom_time_since(strtotime($tweet->created_at))) . "?ago</a></li>\n";

    essentially, just added a space after <a href...>

    hope this helps!

    https://www.ads-software.com/extend/plugins/dp-twitter-widget/

  • The topic ‘space between tweet and time stamp’ is closed to new replies.