How to add a news ticker in wordpress blog?

What is News Ticker?
In some news website, you can see a virtual news bar where some news are showing just like a electrical banner, it is called news ticker. You can use news banner for providing latest news to your visitors. Or, you can show recent post/popular post rather than news.
 
At first, login you wordpress site then go to Dashboard>Appearance>Editor and open header.php. Then copy and paste below code in header.php and save it.
Wordpress tutorials for starting a blog – Part 6: (How to add a news ticker in WordPress blog)
 
Then open footer.php file and copy and paste below code in footer.php and save it.
Wordpress tutorials for starting a blog – Part 6: (How to add a news ticker in WordPress blog)
Then go to functions.php, copy and paste below code in functions.php before then ?> and save it.
 
Wordpress tutorials for starting a blog – Part 6: (How to add a news ticker in WordPress blog)
Then open style.css file, copy and paste below code in style.css and save it.
Wordpress tutorials for starting a blog – Part 6: (How to add a news ticker in WordPress blog)
 
Now go to index.php file and open this, then copy and paste below code in index.php and save it.
Wordpress tutorials for starting a blog – Part 6: (How to add a news ticker in WordPress blog)
 
After completing following works perfectly, refresh your home page, you can see a news ticker in your wordpress blog.

Leave a Reply

Your email address will not be published. Required fields are marked *