Blog posts related to web development.
HostPapa – Where’s the Support?
If you are currently hosting a WordPress website with HostPapa – move hosts. Now. I’m not joking. Their lack of help and piss-poor support makes them a nightmare to work with.
Add Default Text for WordPress Pages and Posts
Making the WordPress ‘default_content’ hook work in your favor by easily adding default text to new pages, new posts or both. The code for this is slightly adapted from other ‘default text’ code I’ve seen online because it allows you to distinguish between whether you’re adding a new page or a new post.
Prevent Profile View for Users in WP
Prevent ‘Subscribers’ from viewing any portion of your WordPress administration area. The code can be adapted to fit your needs – block out any WordPress user based on level from various parts of the admin section. Very handy if you’re working with user registration at your blog.
Removing the WP Version – There’s More
Follow up to my Removing the WordPress Version. Basic information on how working with wp_register_script() could still show your WordPress version and what you can do to stop it.
New Version of DMG WP Theme Options Coming Soon
I’ve been looking to add a tabbed sections feature to DMG WordPress Theme Options for a while. I finally figured it out and made a number of other changes to the code while I was at it. Read a bit more about the changes that will come along with the next release of DMG WordPress Theme Options.
Client Management Plugin
I’m undertaking the development of a Client Management plugin for WordPress. This is a personal project that should help in keeping track of clients, projects, price quotes, payments and invoices. All this will of course be housed on a personal server to keep sensitive data safe.
WordPress Theme Options – Round 2
Re-exploring WordPress Theme Options to make using WordPress features easier to use as options. Looking for a way to add input fields for things like pages, posts, categories, tags and authors and why I think it’s a good addition.
WordPress Categories, RegEx and the Parent/Child Relationship
I couldn’t seem to find a WordPress function that would return an array of all categories in their parent/child relationship order – so I went ahead and coded a way. If you know of a better way, please share. If not, enjoy the code.
WP Widgets API – Adding Classes and Unique IDs
Adding unique IDs to your multiple use widget can make it extremely easy for your users to style the output. Using the WordPress Widgets API to access the property declarations of the WP_Widget class is the way to go. Learn from some sample code on how to add classed and unique IDs to your output.
Looking at WordPress Theme Options
Re-exploring the wonderful world of WordPress theme options. I wanted to find a method that would make adding WordPress theme options easier than it already was. Since there wasn’t anything online that fit my needed I created a way. A few thoughts about the process and a few of the features of the soon to be released code.