RSS2.0 Feed button

"If we were not all so interested in ourselves, life would be so uninteresting that none of us would be able to endure it."
Arthur Schopenhauer

Sam Devol

Running with Scissors

Reading This

Display posts ticker-style in WordPress with Zazz

Posted on September 12th, 2007
Published in Computers, Things, WordPress
Tagged with:

I was thinking about a way to showcase older posts and happened across the Zazz Post Tickerplugin by Stew Houston.

I thought “Here we go, another chance for me to totally bork my blog with some unknown piece of code…” So I picked up the scissors and blah-blah-blah (you get the idea).

I took a quick look at the instructions (note that for historical purposes) and I didn’t see where I had to re-write my server’s kernel or edit core WordPress components and figured “wot the ‘ell”.

The good points: Easy to install, light-weight and does exactly what it’s supposed to do right out of the box (and that’s with WordPress 2.3-beta3). It’s easy to configure (though it does require editing the zazz-post-ticker.php file, it’s a simple, straight-forward edit), it doesn’t use tables (thank you, I’ve puked enough this week) and the CSS is not convoluted! It allows for changing the duration before fading, the number of posts and even allows for an offset (seems redundant to me to display post information that’s displayed an inch lower on the page so I liked this feature).

The bad point (singular, mind you): The javascript isn’t wrapped so it isn’t valid. But here’s a quick fix:

Open up zazz-post-ticker.php and go to line 30, it should look like this:
echo "\n”;

Add:
echo "//]]>\n";

Now you have a light-weight, easy to install/configure post ticker for WordPress that validates as well!

Feedback welcome.

Related Posts:

3 Users Commented on " Display posts ticker-style in WordPress with Zazz "

Subscribe to these comments Comment RSS or TrackBack URL
orakanggo says,
2-5-2008 at 11:26:43 from 203.130.226.203    

Hi… i have modified the query, so the plugin compatible with wp 2.3

http://www.uploading.com/files/UY7V5GZ3/zazz-post-ticker.zip.html

NOTE : to show post only in one category, just add t.term_id=[fill with category id] in where clause query

thanks

Stew says,
2-15-2008 at 23:47:17 from 70.65.153.12    

Hi Sam,

Thanks for the nice review of the post ticker. I wrote the code a little whiles back, before I started using the CDATA trick to write valid 1.1 markup.

I’ll definitely add this in to the current file.

Thanks again
Stew

dimitri says,
4-4-2008 at 06:47:25 from 87.17.25.96    

Hi,

is there a way to do the same with recent comments ?

Thanks

Bye!!

Leave Your Reply Below

 Username

 Email Address

 WebsiteI follow icon

About The Site

myimg

Observations of a Troubleshooting Monkey and

ex IT Director

ex Digital Video Director

ex Missile Mechanic

ex Motorcycle Mechanic

Work Background Contact me