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 [...]
Archive for the ‘Code & Tech’ Category
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
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 [...]
New developments in web app frameworks-Node.js
Told to me by the same clever man at NextSpace, whose name I did not get, Node.js is a server-side web application framework written in Javascript, that has been getting a lot of attention. Even though it is written in JavaScript, you can actually write it in CoffeeScript, a simple Ruby-like language that is compiled [...]
New developments in web app frameworks-Backbone.js
Okay, this is just a summary of a few things I’ve been made aware of recently that seem cool and useful. It’s wonderful to see how people are sorting out the most useful things these days, and, often, making them popular. Clearly presented, well-documented, well-designed things, that take off because of that. How nice. Backbone.js [...]
jQuery.fixture for prototyping Ajax Development
This is a neat thing if you are developing a RESTful application, but you do not have the REST server at the other end, or you are waiting for someone else to develop it. [Link] If I had known about this a little while ago, I might not have had to build my own test [...]
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 [...]
For Freelance Camp: Sample Contract & Spec
Photo credit: WordRidden I am really hoping to talk about contracts and agreements at Freelance Camp tomorrow, particularly regarding topics about small clients. As an attachment for that, here is a gener-ified version of my Functional Spec Template. I could say a lot about it, but it’s very late and I have to get up [...]