I’ve got nothing against the “Howdy” greeting in WordPress, but in case you do, this little snippet might just help you out.
It’s currently set to change “Howdy” to “Yo.” Just drop this in your functions.php file. I’ll turn it into a spiffy plugin later… Continue reading Change “Howdy” to Something Else
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.
Continue reading Must-Use vs Network Activated Plugins in WordPress
For those rare circumstances where you just have to replace text-based navigation with images… Continue reading Image replacement for wp_list_pages
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.
Continue reading Adding More Classes to wp_list_pages()
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 (Widget)
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”.
Continue reading Empty Plugin
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 Image Browser
This has moved to its own page: https://trepmal.com/plugins/easy-random-quotes/
Add your own selection of quotes and pull them randomly into posts or pages with a shortcode, or into the template with template tags.
It also has a widget!
Continue reading Easy Random Quotes
Easily change the colors of the metabox headers using a simple page in the admin area.
Currently submitting plugin to the WordPress repository, will post a link (hopefully) soon. Continue reading Metabox Header Color