I’ve been trying to come up with some differences between must-use and network-activated plugins. Here’s what I’ve got so far. Please let me know in the comments if I’ve overlooked anything.
Monthly Archives: June 2010
Image replacement for wp_list_pages
For those rare circumstances where you just have to replace text-based navigation with images… Continue reading
Adding More Classes to wp_list_pages()
Download
If you’re trying to style nested items in wp_list_pages() the task can be daunting. You’ll apply a style to an <li> then have to unapply those styles for the nested <li>s, and if you’re dropdowns get any deeper, you CSS can become overwhelming. It’s a little better if you don’t care about IE, because then you can use those fancy CSS selectors like ul > li, or ul li > li to target certain depths. But if you’re stuck fighting with IE, maybe this will help.
Empty Plugin (Widget)
Earlier I shared my empty plugin code. Great for a quick test or maybe even as a starting point for an awesome new plugin. I’ve decided that I also need one for a widget, so here’s that: Continue reading
Empty Plugin
Just a shell of a plugin for quick testing. Doesn’t do anything out of the box except create a page under Settings called “Empty Plugin”.
Image Browser
Sometimes a client will provide a bunch of photos – which is great – but when they’re in a bunch of different folders, it can be hard to sort through and find the right one. So, just toss your web-friendly photos into a directory on their website, and use the script below to nicely display all the photos. Continue reading