• Apr 17, 09 • Tools • 106 Comments
Current version : 2.0.0
We have released our News Ticker plugin for WordPress. We have built it for our new site, but we thought it would be great to show our appreciation to the WordPress community by releasing it into the wild.
News Ticker is a JQuery based WordPress plugin, which displays a sliding or fading list of your posts, rss feeds or comments and links back to them. By enabling the Images feature you can transform the News ticker into a featured post gallery with a single click.
What you can do with it?
- Display your Most Popular Posts over a chosen range of days.
- Display your Most Commented Posts
- Simply add your most Recent Posts
- Or Recent Comments
- You can even choose some Specific Posts to display
- Use the Category Filter to display post from a chosen category or any number of categories
- Use your default RSS feeds or even and external RSS feed, from any other site. You can use Twitter RSS too.
- Display your attached images.
- Display the custom excerpt, text and links etc.
To better control your News Ticker you can:
- Set any Number of Posts to display
- Or set the Ticker Length in characters so the ticker would fit your WordPress theme.
Thanks to the wonderful JQuery library you can also set the following parameters for your News Ticker:
- Ticker Speed
- Ticker Timeout which is the time between the fades or slides
- And of course the Ticker Animation to allow to to show your news or posts as inter-fading or sliding animation
You can grab your copy of the News Ticker HERE and of course tell us how we can improve it even further.


18elements
asaf
Apr 18, 2009 0:49You are saying to Insert in your template file.
But which template file? and where?
H E L P M E…
I am looking for this plugin in a time.
Thank
Daniel Sachs
Apr 18, 2009 0:57Hi Asaf,
What you need to do essentially is this:
1. Open your \wp-content\themes\Your-Theme directory
2. Open index.php file with a text editor (Notepad is just fine)
3. Place
< ?php insert_newsticker(); ?>at the spot you would like to see your news ticker.That is about it. Don’t forget to customize the options from Settings > News-Ticker menu
Hope this help.
Cheers
asaf
Apr 18, 2009 1:10Thanks for the fast answer
and
Good luck with your new site
Asaf
Stream your WORLD
Apr 18, 2009 13:50a bug?
@line 51 to 53 in the ticker.php the the code destroys the themes!
Change:
TO
Daniel Sachs
Apr 18, 2009 18:59Hi Stream your World.
Hmm can you specify what exactly happens? As you can see it works fine here, so I need more input from your side to help you out.
The lines you have mentioned simply activate the ticker…
Stream your WORLD
Apr 18, 2009 19:50the >/divul/div/ul<)
Stream your WORLD
Apr 18, 2009 19:52the */div* tag witch is closed, was never opend. In line 51 you open a *ul* tag witch never would be closed… ( bad english, sorry ^^). it should be that i think wrong, but now it works on my blog (after the changing in the my code – i changed the */div* to */ul*)
Stream your WORLD
Apr 18, 2009 19:55Oh sorry: THX 4 the Plugin – great idea, i love it!
Daniel Sachs
Apr 18, 2009 21:16Thanks for pointing that out, Stream
Updating as we speak
Oberlahn-Express
Apr 19, 2009 23:54Is ist posible to use it in a wildget in a sidebar?
Daniel Sachs
Apr 20, 2009 11:16Hi Oberlahn-Express
The plugin is not widgetized yet, however you can manually insert it into the sidebar.php file at the spot you wish the News Ticker to appear.
Lise
Apr 20, 2009 19:51Hi,
Thank you for this plugin. Really useful. However I run into a small problem
on I.E 7 ( the element was not positioned correctly) . I fixed it by
the following css :
#news li {
top 0;
left 0;
}
Thanks again for sharing this piece of code!
David
Apr 21, 2009 4:46This is a really nice way to format posts as a ticker. Is there a way to use this with outside RSS feeds? I’d like to display my Twitter RSS feed this way. Every other Twitter-based code I can find really just works for sidebars.
Daniel Sachs
Apr 21, 2009 10:20Sure thing. The RSS feature was requested, so I guess we will add this feature in the next release.
kkri
Apr 21, 2009 18:16Can the plugin grab also the first image of a post and show it in the ticker as a thumb?
Daniel Sachs
Apr 22, 2009 11:55Hi, kkri
I’m not planning to add images to News-Ticker plugin, since I’m trying to keep it simple.
It gives me an idea, though. Stay tuned.
NeuroPR
Apr 23, 2009 14:54Hello, very nice plugin, i modified it’s css to fit my needs.
But , have anyone checked out how many queries are executed when displaying more than 5 of posts? I’m currently displaying 15 posts to the news ticker, and the number of queries executed are 70!
The number goes higer if you display more and more posts. There must be a looping problem i guess.
If someone find out the fix, let me know. I cannot use so many resources of my server only for a ticker.
Thanks in advance, Neuro.
Linktipps der Woche: Gefunden im Netz - KW17/2009 | myCampbell.de - Das Campbell-Zwerghamster Blog
Apr 24, 2009 10:28[...] Newsticker-Plugin für WordPress [...]
Ed Cooper
Apr 24, 2009 15:01Is it possible to stop the plugin loading all the posts until it has them all. At the moment when you load my page my sidebar shows all the posts quickly and then minimizes them. It would be good if it just loaded one at a time, I know it’s probably jQueries fault and hiding overflow is a bit slow.
Ken
Apr 25, 2009 7:48Yeah I’d like to know if I can solve this issue too. All news ticker load when page first loads then minimize. Great plugin 18elements
Daniel Sachs
Apr 25, 2009 12:33@NeuroPR
70 queries is quite a lot, it’s not looping. The plugin uses 4 queries but anyway in that sense I’d limit the number of posts displayed. Think of the functionality as well: I don’t see a site visitor staying around, watching the fades for more that 8-10 seconds, so I wouldn’t load more that 5 -6 posts anyway.
@Ken and Ed Cooper
one thing you can do is to wrap the plugin into a “div” and style the “div” with overflow: hidden; I wanted to keep it as flexible as possible to style the plugin .
Ken
Apr 26, 2009 6:42Hi Daniel:
I tried the overflow: hidden – it still didnt work.
thanks for the quick reply
CSS
#news-ticker {overflow:hidden;}
Ken
Apr 26, 2009 6:54[Resolved] sorry it was my fault; I forgot to specify the Height. Now it works. Thanks Daniel.
#news-ticker {
height: 20px;
padding: 5px;
overflow:hidden;
}
Ed Cooper
Apr 26, 2009 13:28Thanks! Don’t know why I didn’t think of that…
GlenStef
Apr 27, 2009 22:12Hello,
Thanks for article. Everytime like to read you.
Have a nice day
GlenStef
David
Apr 29, 2009 22:09Not sure why, but even on “slow” my news ticker is way too fast… not nearly as slow as the one on your front page here. FF and Safari on Mac.
David
Apr 29, 2009 23:54Ooop! Sorry… wish you could take back a comment sometime. Slow is the transition, not the hang time. I get it.
Zaid Hamid
May 1, 2009 0:53Hi,
It is absolutely beautiful, working on your website.
BUT
I get the following error:
: Allowed memory size of 103809024 bytes exhausted (tried to allocate 43 bytes) in /nfs/c04/h04/mnt/66859/domains/thecurrentaffairs.com/html/wp-includes/taxonomy.php on line
Please help me Daniel… I really wanna use it on my website. It’s so cool and a huge convenience at the same time.
Thanks… a million times for the quality.
Daniel Sachs
May 1, 2009 2:08Hello Zaid,
Glad you like the plugin.
I believe your problem has to do with your PHP memory limit.
You can increase your PHP memory limit but there is a problem – Your PHP is using 99MB which is sort of humongous. Usually it should be not more then 16 and on rare occasions 32MB.
I’d suggest to deactivate your plugins and reactivate them one by one to find the guilty party.
Report your findings here, maybe I can help you a bit.
Alejandro Gonzalez
May 1, 2009 5:06Hi and thank you for providing this. I wanted to know if you can have posts from a news site appear on the ticker?
Daniel Sachs
May 1, 2009 9:58Thanks for your comment, Alejandro.
We will implement external RSS feature in the next subversion, so stay tuned
Tania
May 3, 2009 6:22Everything dynamic and very positively!
Tania
Rufor
May 4, 2009 15:45Greatings, Where are you from? Is it a secret?
Thank you
Rufor
HA Guy
May 9, 2009 21:56Great Plugin! Works beautifully!
Is there a way to have the ticker display custom messages? I’d like to be able to write my own messages mentioning recent updates and other site related news.
Thanks again!
JessicaSurge
May 10, 2009 18:23Great! Thank you very much! I always wanted to write in my blog something like that. Can I take part of your post to my site? Of course, I will add backlink? Regards
Daniel Sachs
May 10, 2009 18:36@Ha Guy
We are not planning to add custom messages to this plugin at this point.
Thank you for your comment, glad you like the plugin.
Daniel Sachs
May 10, 2009 18:38Hi Jessica,
Sure, you can talk about the News Ticker on your blog.
Glad you like it.
Arianalami
May 13, 2009 13:22I love it! That is way cool man! The steps weren’t that complicated too, which is great.
GlenStef
May 13, 2009 23:49Hi, Thanks for article. Everytime like to read you.
Pinele
May 16, 2009 17:57please how can i read news from external rss?? Thank you
Daniel Sachs
May 16, 2009 18:12Hi Pinele,
We will add this feature in a future release (coming very soon)…
Regards
Rufor
May 23, 2009 17:38Hi,
Can i get a one small picture from your site?
Thank you
Rufor
sam
May 25, 2009 22:47hi gives me the following error
in_array() [function.in-array]: Wrong datatype for second argument in /home/******/public_html/wp-content/plugins/news-ticker/ticker.php on line 545
Juanjo
May 26, 2009 15:47Hi, congratulations fot the plugin…
How can I put the news in twos… display two news ?
Juanjo
May 26, 2009 16:13Hi,
where can I put the css style?:
#news-ticker {
height: 20px;
padding: 0px;
overflow:hidden;
}
Jason
May 26, 2009 23:47Hi Great Plugin…
If its possible can you get the ticker scroll the posts like a marquee?
EXAMPLE: http://www.mioplanet.com/rsc/newsticker_javascript.htm
If not will you be implementing this in the next release as an option?
When is the next release?
KeHoeff
May 29, 2009 2:38hey this is a very interesting article!
Ed
Jun 6, 2009 22:05Found a problem, not sure if it’s my fault or not. I’ve just changed my web address so it removes the www. and now everytime a link is displayed it links to http://ec-comp.com instead of the news article. Any ideas?
Jason
Jun 7, 2009 3:15So the ticker scroll?? possible?
Alan Jupp
Jun 10, 2009 11:02I am trying to use your News Ticker but I cannot get the “Speed – Slow-Normal-Fast” to move from “Slow” nor can I get the “Fades/Slide” to change from “Fades” and in any event whilst I can get the News-Ticker to show where I want it I cannot get it to change the post it is showing. In so far as other settings are concerned they can be changed and sdaved but not these two. I want my News-Ticker to act like yours does
Globalist
Jun 15, 2009 16:32Hi! Nice plugin, great work. Just a suggestion, maybe for a future updates: please make an option to mask with nofollow/noindex the output of the ticker. It brokes interlinking through the site, which is not good for SEO-concerned people.
As a ultimate feature it would be appreciable to parse out images from the posts and include an thumnail of it.
Tania
Jun 21, 2009 10:0418elements.com – da best. Keep it going!
Have a nice day
Tania
Sambia
Jun 28, 2009 13:59Hi, congratulations nice plugin!
I have two questions and hope, you can help me:
1. How can I insert more than one Ticker on the same page?
2. Can be indicated more than one newspost at the same time in the Ticker? 2 or 3 lines.
Thanks…
alex
Jul 13, 2009 22:51Why don’t you build in the option to do scrolling news ticker?
chimot
Jul 15, 2009 10:08its nice…. but i dont know where this plugin run…. so do you have demo of this plugins
tampaba1
Aug 15, 2009 6:53I’m using this with WP 2.8.4 and I haven’t had any issues. Just wondering if it were possible to add RSS feeds from other sites in the next version.
Thanks.
JFord
Aug 20, 2009 17:38Great plugin and I am about to implement this in my site.
Is there anyway to have the jQuery pause on hover? So the story will stop when the user mouses over it?
thanks
dualmp
Sep 4, 2009 6:1418 elements. thanks for this plugin.
just want to ask if it is possible to refesh the news-ticker almost immediately after a new post comes in.
Mark Main
Sep 9, 2009 10:28I got your plug-in to work using information from my site; but I want to display data from an RSS feed from feedburner.com. Do you provide a way to do this?
For example, I tried using this code in my sidebar.php file:
And it did not owrk.
Gyro
Sep 9, 2009 14:33Hi 18elements! Fantastic plugin!!!
I have it running on my site with two scrollers, one for news and one for events. I managed to change the css file and identify each scroller seperately without much trouble. However, the size of the list-item for the events scroller, is larger and although I set this explicitly for both scrollers using list_item_height: xx in the calling script, the result is that both scrollers adopt the last setting and therefore smaller list-item scroller jumps after the scroll (only a little – but its annoying).
I have tried lots of work-arounds like disalbing the defaults etc to no avail. Do you have any ideas? The site is http://thegymclub.org/
I notice you use $this=jQuery(this) but I use jQuery(‘#newsScroller’).newScroll for news and jQuery(‘#eventScroller’).newScroll for events, so surely each invocation is seperate? If not, do you know how I should make each call unique?
Thanks in advance!!
Brian Smith
Nov 6, 2009 17:16Is it possibler to display more than one post at a time with this news ticker? I am trying to display up to 5 or 10 posts in my sidebar at the same time.
Matthew
Nov 16, 2009 18:41First of all great plugin! You did a really great job. I would like to ask you a question, at present the plugin is diplaying 1 news at a time, is it possible to have more news at 1 go. Here’s an example:
is it possible to have 3 ad units at a time appear with another 3 rotating with them or scrolling.
Thx
Site Update & Redesign | 18 Elements
Dec 3, 2009 5:43[...] http://18elements.com/tools/news-ticker-for-wordpress [...]
Andree
Dec 4, 2009 17:59I cannot see any news if I enter an external RSS feed, with posts it is working.
any idea why ?
News Ticker on Steroids | 18 Elements
Dec 6, 2009 0:34[...] new and shiny version 2.0 of the News Ticker is out and you will love [...]
dan
Dec 9, 2009 16:36Hi,
I added the widget but it doesn’t loop
after the firs two post it stops and stays on the last one.
Any ideas?
Thanks,
Dan
Ivan
Dec 15, 2009 5:21Thanks for plugin, first of all.
I would like to use it on my forum, but it simply doesn’t recognize it, probably because forum is in folder outside the WP theme I use.
Is there any trick to make it work?
Thanks in forward!
Daniel Sachs
Dec 15, 2009 11:43This plugin uses the WP hooks and although will work outside the Loop, it runs in WP environment only.
jeroen
Dec 22, 2009 11:06Hi,
I have the same problem as Dan. After it cycles post no 1, it comes to the second headline and then stops. At first i thought that it was a theme thing, but it seems to do exactly the same thing in different themes. Any idea how to solve the problem?
(Seen it working on your site, looks awesome!)
Kind regards,
Jeroen
Andy
Dec 23, 2009 20:01Daft question:
Where does it expect jquery.js to be? In the theme’s root, the plugins folder or somewhere else?.
I can’t get it to scroll but it’s working otherwise (i.e. pullojg the news items in), so guess it’s JQuery not doing it’s stuff animation-wise.
Daniel Sachs
Dec 25, 2009 10:18Andy,
First of all – very nice website design. As I see you’ve solved your problem. In general, the jQuery is a part of WordPress installation, so the plugin uses a hook to pull it from you Wordpess directory.
One of the problems may happen when a plugin or a theme installs it’s own jquery and uses it, especially no in No.Conflict mode.
Daniel Sachs
Dec 25, 2009 10:19jeroen, without a link to your site it is impossible for me to have an idea. Sorry.
Mike Griffiths
Dec 27, 2009 20:38We are using your plugin on our site and today is read “out of memory” and is disrupting the entire front page. Any suggestions? I haven’t been able to find a fix/cause.
Daniel Sachs
Dec 27, 2009 21:26Hi, Mike,
I’ve seen this before. But I think it’s not the Ticker, well it might be, but more precisely, it’s something conflicting with the Ticker. Try deactivating all the plugins and reactivate them one by one to find the guilty party.
Andy
Jan 4, 2010 10:39Daniel…
Thanks for the compliment and answer. Totally my fault. JQuery was fine, but the line that called it had a typo in it which I missed in the pre-Christmas deadline madness. Sorry.
Love the plugin.
Andy
Jan 4, 2010 11:24An idea I just had…
I always find it difficult to judge peoples’ reading speed. Also, (at least in the configuration we have on the Sensoria site where you onluy see one post at a time) some of the headlines we are flashing up will be really short and quick to read, but others will be longer.
Is it possible to derive the timeout by the amount of words in the post itself ? This would stop the illusion of short posts hanging around for seemingly ages and also the feeling you have to rush to read the longer ones.
A single “reading speed” setting could then also be used to speed the whole thing up or down globally and everything would keep proportionally faster or slower. This means you could very easily fine tune it if you really have under / overestimated your audience’s speed of reading.
Andy
Jan 4, 2010 20:21Thank you for a great plugin!
Could it be possible to add “Show Avatar” to the “News Ticker Content” settings, in a future version?
I would like to have the option to show the avatar of the author of the post/comments and if possible have the avatar link to the authors profile page.
I’m trying to combine your plugin with the community plugin “Mingle”. I think they could work great together. Thanks!
Marcy
Jan 5, 2010 15:44I just tried but seems to have some trouble with qTranslate
All titles are displays
Vaibhav
Jan 5, 2010 19:41Guys I have one issue… how do I make the ticker continuos? currently only after one post is shown we see the other… I want it as a stream. Any suggestions
Michael
Jan 12, 2010 19:41Fab Plugin and just what I was looking for.
Have a problem though. It stops after loading the 2nd post.
I’ve seen a previous comment where they have had the same problem but I can’t see a solution anywhere. Any ideas?
Cheers
Thomas
Jan 14, 2010 22:31It would be great if you can enable and option for short codes for this plugin so that non-template editors can include the news ticker in their posts/pages. In its basic form it would just need this line in ticker.php:
add_shortcode(‘news-ticker’, ‘insert_newsticker’);
Lee
Jan 18, 2010 12:48All seems to work well, accept it stops on the second post. I’ve got 8 in total. I see someone else has mentioned this, but I can’t see a response.
Adam Davies
Jan 19, 2010 14:17A massive thanks to Daniel for making this plugin, its been a great addition to my friends site.
I was wondering if it was easy to add another transition such as having the text appear one letter after the other (left to right of couse) and then fade out to show the next post?
Thanks again!
Nismion
Jan 22, 2010 5:45A great plugin. thanks. I use it for my latest comments and I`m expected if it will raise the number of it.
It looks great and works fine.
Really a great job.
Thanks.
Pelle
Jan 24, 2010 1:53Hi, This is just what I’m looking for, but i can’t get it to work. I know it’s almost impossible for you to help me without me posting a link to the website but as it’s not online only local i can’t do it. But i have tried disable all other scripts, removed all things that uses jquery and all the including’s of it. I’ve also tried to set all stuff that’s using jquery to noConflict mode but still no success. The news ticker stuff appears and listens to the settings perfectly fine and all commands but the animating ones work. Do you have any clue for other stuff i might could try out? Thanks in advance, Pelle
Brad
Jan 24, 2010 6:50I’m new to WP. Have a 3 col theme …want to put the ticker in the far left column. Never inserted code into theme. Can you please tell me how.
Thanks,
Brad
Moe
Jan 26, 2010 23:24trying to get this plugin to work with my theme on the pages, i would like to have a news ticker.
Don
Jan 27, 2010 15:45Mine stops on the second item as well.
Otherwise, great. Love the fading options!
Don
Jan 28, 2010 17:51I might have discovered the answer to the stopping on the second item issue.
I set the “Ticker timeout” greater than “Ticker speed” and it worked OK. Previously it was at a lesser value.
HappyNerd
Jan 28, 2010 21:05Wirklich ein echt cooles Plugin, zweigt bei mir z.Z. meinen Twitter-Status
Nilanko
Jan 29, 2010 12:05Animations are not working. Only a fixed no. of posts are displayed(that I specify). No fading effect … nothing….. Why this is so?
ElJovenRise
Jan 30, 2010 0:02Great plugin! I’m already using it and it works perfect. Only doubt I have is where is the plugin taking the date from? I’ve changed my locale file so it shows dates in spanish, all of wordpress dates now appear in spanish except for the date in the plugin. Do you have any idea on how to fix this? Are you using the date from the server or something like that?
Jack
Jan 30, 2010 4:59Hi there, I’m having problems with the ticker on my site. It just cycles from the first to the second story and then stops. Any ideas?
http://www.thefounder.co.uk/
Thanks in advance!
Ron
Feb 6, 2010 0:33Great plugin. Simple to install and configure for the site.
minipower
Apr 14, 2011 12:26This plugin would be very good if it was adjourned because with firefox 4 it is not working and in chrome too, any chance there would be a widgtizinge fresh version?
dragan
May 8, 2011 0:23External RSS Feed Url not work?!
Great plugin, but how to use external RSS Feed?
fizzypeter
Jul 5, 2011 16:59I noticed an issue with implementing your news ticker: When having a CSS dropdown menu, it won’t appear in front of the ticker, but behind. Do you have any solution for that?
The only thing I found is creating an iframe with the news ticker inside, but still haven’t found out which information to include in it.
Is there any other solution?
Thanks in advance
fizzy
Richard
Jul 7, 2011 16:31Hi Daniel, thank you for the great ‘news ticker’ plugin. It is working perfectly with WP 3.2 and Atahualpa theme 3.6.7
Is there a simple way to alter the text size and colour of the ticker text ?? without altering the remaining text on the page
Ray Fish
Jul 8, 2011 3:39Does news-ticker has a cahce somewhere? I selected displayed images. It did not fit nicely in the space so I resize and modfieid it, remove the featured image and set the new featured image with a new file name and then update the post. But the new image is not picked up. Old featured image file name is sitll picked up for display. How do I clear the cache?
htpp://www.barrychant.com – the ticker is to right of the featured area.
qlee46
Jul 13, 2011 23:53Hi,
it’s a great plugin, but when I’m trying to combine it with other jquery it doesn’t function anymore.
$(function() { $(“#menu-main”).lavaLamp({ fx: “backout”, speed: 700, click: function(event, menuItem) {
return true;
} })});
$(function()
{
var api = $(‘.scroll-pane’).jScrollPane().data(‘jsp’);
});
That’s the code in my header.php. Do you have an idea?
Thanks.
Markus
Jul 14, 2011 8:59Hi, can you explain how to change the look of the news-ticker (exp.: red backgroundcolor and white foregroundcolor and size)? Thnaks.
Daniel
Jul 19, 2011 5:30Don. Your solution “set the “Ticker timeout” greater than “Ticker speed” and it worked OK” fixed the non-looping issue. Thank you so much!
Selena Woodward
Jul 24, 2011 8:45Thanks for this plugin. It looks great on my site (www.rockinmochin.com) From your options, I’ve told it to display the description from my comment feed rather then to say comment on and then the post title. Unfortunately, it’s not doing as it’s told. Any ideas?
anne
Jul 25, 2011 12:40i want to use the plugin in combination with the qtranslate Plugin (http://www.qianqin.de/qtranslate/).
Unfortunately the plugin is showing both languages of the post at the same time.
When I try to change the core files of the plugin, the whole plugin is crashing.
E.g. I want to change this line:
<a href="”>
to a tag, the whole plugin crashes.
Do you have an idea what is going wrong?
thanks in advance
anne
Jul 25, 2011 12:41oh sorry, the tags have been converted … i want to change e.g. a span tag to a h2 tag
anne
Jul 25, 2011 13:18problem solved:
i´ve just added a translation phrase before the title and excerpt is printed:
e.g.
$title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($title);
now the translation works fine