skip to main content

Jquery News Ticker – Display Recent Blog Posts

0

In this tutorial I will show you how to display your recent blog posts in your WordPress theme in a news ticker style format using the jQuery news ticker script. If you want to link to external RSS feed(s) try this tutorial. If you want to add a news ticker to a website that doesn’t use WordPress primarily but features a WordPress powered blog section then try this tutorial.

Display latest Blog Posts

Image provided by Shutterstock

Prerequisites

Having a basic understanding of the structure of WP themes, PHP, HTML and CSS is recommended but not essential.

Download

Updated 15th February 2016

Download

Demo

 

Instructions

Upload the JS, Images and CSS folder to your theme directory. Add the following code to functions.php.

You can call the function by adding the following to your theme file, ie; index.php.

FAQs

How many posts does it fetch?

wp_get_recent_posts() fetches the latest 10 posts by default but does accept arguments.

Check out the WordPress Codex for a more comprehensive list of arguments

Can I change any of the news ticker settings?

The jQuery news ticker comes with options that you can change in the function wow_jq_inews_execute()

Conclusion

If you are having any problems with the script or have any questions then please feel free to contact me.