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)
Category: WordPress Bits
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”.
Advanced Most Recent Posts Mod
This post has moved!
Easy Random Quotes
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!
Metabox Header Color
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
WordPress MU – Making the Blog ID More Convenient
Maybe it’s just me, but grabbing the ID for a specific blog in WordPress Mu is way too many steps. This cheezy little plugin just puts the ID under the Site Admin menu as a dead menu item. Nothin’ fancy, but it saves time.
Continue reading WordPress MU – Making the Blog ID More Convenient
Customize Default WordPress Avatar
Update: I recommend using my completely new version Add New Default Avatar. Click the link to go check out the details. This plugin is no longer being maintained.
Not happy with the default avatar options built into WordPress? Neither was I (actually, I never gave it much thought – someone else pointed it out to me).
So, I put my fingers to work and made a plugin that will allow you to a new picture and set it as the fall-back options for commenters without gravatars. Other features include:
- Enable/Disable without activating/reactivating
- WPMU compatible
Questions/Comments/Issues? Let me know in the comments. Continue reading Customize Default WordPress Avatar
Making use of Custom Fields
Custom fields in WordPress are a great way to add post/page-specific content outside of the main content area. Here’s a rundown of php snippets I use to get custom fields displayed. Continue reading Making use of Custom Fields
Better Organization
When you have WordPress installed do you really want all those wp- files in the root directory? No! But do you need them there? I used to think so, otherwise why would it come that way? But you can move those files so they’re out of the way!
With a few easy changes, you can take all the files to never edit and get them out of the way, then bring your content folder to the fore.
Pros: easy to navigate, security via non-default, pleasant to look at
Cons: some plugins will either not work, or need to be edited (default paths hard-coded rather than using global variables)
(Note: NextGen gallery is currently giving me issues, will update if I find a solution) Continue reading Better Organization