Posts Tagged ‘wordpress’

Delete Unwanted WordPress Custom Capabilities

What happens, as mentioned in this post in the WordPress forum, is that you can end up with custom capabilities as remnants of old plugins you’ve used–or, as in my case, because I am playing around with custom capabilities. It’s very easy in various role plugins to say “Add New Capability”, but nowhere could I [...]

Reasons Not to Hack Pre-Built Themes, #1: Gorgon’s Knot of Conditional Code

I’ve been collating the reasons why it’s unwise to do any significant customization to custom-built themes. Here’s one: Premium theme builders are selling to a market that wants tons and tons of options. Under the hood, that translates into zillions of conditional segments. I’ve borrowed, and partially obfuscated, a chunk of code I’m having to [...]

WordPress Best Practices Database Published

I just published a WordPress best practices database, here: wp-best-practices.asdf573189.com/. It’s mainly for my internal use and sharing with colleagues, but I might as well share it with the world, as well.

Roots Theme—HTML5+Responsive Design+more

Roots Theme

Responsive Design CSS So I have been looking a lot at Responsive Design. If you are not familiar, my brutish summary is: Fluid layouts are (a) manageable, (b) cool. You can use the CSS @media queries feature to rearrange elements on your page layout, based on different window widths, and this means making things easier [...]

Remove unwanted meta boxes from \WordPress Write Panels

Here is the code. Comment out the ones you don’t want to remove.

Using Plugins for Custom Client Functions

photo credit: romana klee This just never occurred to me: That you might want to use plugins when developing custom features for a client, rather than simply include the code in the functions.php file (or an extension of same). Now, because the plugin was not necessarily for general consumption, there could still be an awful [...]

Anatomy of a WordPress Theme (for Designers)

I would like to make this post so that designers who are not as familiar with designing for blogs can see some of the facets of design that are required to cover all the bases when designing a WordPress theme. First, here is a the screenshot (small) of the entire example page. Click on it [...]

My IE testing setup in a nutshell (for WordPress)

Here is my setup for handling irregularities in IE, when developing WordPress themes. [sourcecode language="html"] <link rel="stylesheet" href="<?php bloginfo(‘stylesheet_url’); ?>" type="text/css" /> <!–[if IE]> <link rel="stylesheet" href="<?php bloginfo(‘stylesheet_directory’); ?>/css/tripoli.simple.ie.css") /> <![endif]–> <!–[if lte IE 6]> <link rel="stylesheet" href="<?php bloginfo(‘stylesheet_directory’); ?>/css/ie6.css" type="text/css" media="screen"> <![endif]–> <!–[if IE 7]> <link rel="stylesheet" href="<?php bloginfo(‘stylesheet_directory’); ?>/css/ie7.css" type="text/css" media="screen"> <![endif]–> <!–[if [...]

Created a Plugin to Add List Links Shortcode

A bit neglected thing is the Links manager feature of WordPress. I have been wanting to use it to manage lists of cool stuff I find. I was thinking, there needs to be a different thing that’s not exactly a page (a theoretically “permanent” page of stuff), or a post (a very time-dependent grouping of [...]