I like to style some post (bold and link) in the post editor (easy and fun) and categorize it as "quote". Then display it based on a CSS in a sidebar, rotating it, like show 1 each 5 second, randomly. Do you know a plugin the just do that ? thanks in advance
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
You don't need a plugin for that (and I can't imagine that one would exist for that). A plain simple function, that you call in your sidebar, is enough: The Query
This would simply be placed in your functions.php file and called in you desired sidebar. The Script and jQuery Plugin definitionYou then just would have to add some jQuery: (Use this plugin and place it inside a folder named
NoteThis ↑ is not tested. If it's not working, check your errors, enable Happy rotating. :) |
|||
|
|
