Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript getting rid of the time stamp on my twitter feed Re: getting rid of the time stamp on my twitter feed

#76664
david_v
Member

Hi Kloy,

You have two options:

1. Set the anchor tag to display none.

Code:
.tweet_time a { display: none; }

2. Modify the JS file to provide an option to display the date.

Line 18 & 19:
Change this:

Code:
query: null // [string] optional search query
};

To This:

Code:
query: null // [string] optional search query
date: 1 // [integer] 1 = yes, 0 = no
};

Line 148

Change this:

Code:

To This:

Code:
var date_template = ‘‘+relative_time(item.created_at)+’‘;

var date = (s.date ? date_template : ”);

Finally, add the date option to your HTML page:

Code:

Best regards,

David