Archive for Misc category:
WordPress Howto: Making Posts Scheduled in the future show up
This is a quirky little issue based on shoehorning WordPress into matching a “Calendar of Events” style page, but working within the WordPress system. Honestly, this system is fine, but it’s probably a little messier than it could be. A co-worker made the decision to go this route and had spent many days developing the [...]
WordPress Howto: Combine Categories into a RSS/Atom Feed
This was really pretty easy but I was surprised that WordPress apparently does not have the functionality to combine posts from two or more categories into one feed. Say you have five categories: Fishing, Hunting, Vegan Diet Tips, Feather Boas and Cleaning Automatic Weapons. Say you want a feed that combines Hunting and Vegan Diet [...]
WordPress Howto: Adding a class name to post links with a specific URL
WordPress is a pretty cool beast; there is a lot you can do to extend it, and pretty easily. Having said that, digging around in the documentation for the more advanced stuff can be a bear. Recently I needed to extend WordPress to alter every link in a post, to add a new class, but [...]
What is Worse, Energy-wise?
I’ve long wondered about the “real” energy cost of materials. For instance, a couple of years ago, my father bought a solar panel to power his RV while camping. According to the literature that came with the panel, it would have to be active for 4 straight years, given average daily sunlight, to recoup the [...]
When to comment code
If you are a developer, you don’t speak one language, you speak at least two. If you already speak several spoken languages, like French, English, Spanish, Russian, or Canadian, then you add to it “programming”. What I’m saying is that you don’t need to comment all of your code. Big concepts perhaps, variable names and [...]
« newer articles — more articles »