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: (more…)
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: (more…)
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”.
This post has moved!
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!
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. (more…)
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.
If you ever need previous/next links for pages in WordPress, you may have noticed that it’s not a built in feature like it is for posts – at least as far as I can tell.
I suppose it’s understandable since pages don’t really have linear organization, but every now and then, the ability to simple click ‘next’ ‘next’ ‘next’ to cycle through some pages would be really handy. For instance, I work on a lot of sites for bed & breakfasts and they inevitably have a landing page for their rooms, then child pages for each individual room. These individual rooms pages often have “next room” and “previous room” links, plus one back to the main page. (more…)
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:
Questions/Comments/Issues? Let me know in the comments. (more…)
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. (more…)
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) (more…)
twitter github wordpress instagram user mail
* that's "Lampert" spelled backwards