I am using the WP-Paginate plug-in and need to apply a class to the containing LIs for the next/previous links. Can someone tell me how to do this? If there's a better/easier way to do this other than using WP-Paginate, then I'm open to suggestions. Thanks!
Happy to say that it's not hard at all to achieve what you are looking for.
As I understand it, you have to add a call to
To do what you need just create your own function, let's call it
Within your function
The code you need is below. You can add it to your theme's
And if all goes as planned, this is what you should expect to see when using an element inspector with your browser:
|show 1 more comment|
If I understand you correctly, you want to change:
Besides modifying the source, you could do it with a little jQuery magic: