Yes! Here are the steps:
1) Add 3 to the number of tweets you actually want to display (for example, a 5 tweet feed would need the number set to 8)
2) Go to the “Customize” tab for Custom Twitter Feed’s settings pages and add this to the “Custom JavaScript” area:
jQuery(‘.ctf-item’).each(function(index) {
if (index < 3) {
jQuery(this).hide();
}
});
Let me know if you have more questions!
– Craig
Hi Craig. Thanks so much for this, and sorry for the long delay!
No problem! Have a good rest of your week.
– Craig
I’m trying to use different offsets for different custom tweet feeds so the custom js won’t work as its applied to all feeds.
It would be much easier if offset was something you could add to the shortcode. This seems to be a feature for custom facebook feeds but not custom twitter feeds, which I don’t understand.
Hey preacherboy86,
It’s possible this will end up as a setting at some point but what you can do in the meantime is use the “class” shortcode setting to target individual feeds. For example:
[custom-twitter-feeds class=offset1]
jQuery('.offset1 .ctf-item').each(function(index) {
if (index < 1) {
jQuery(this).hide();
}
});
[custom-twitter-feeds class=offset2]
jQuery('.offset2 .ctf-item').each(function(index) {
if (index < 2) {
jQuery(this).hide();
}
});
[custom-twitter-feeds class=offset3]
jQuery('.offset3 .ctf-item').each(function(index) {
if (index < 3) {
jQuery(this).hide();
}
});