David Herron is a blogger, software engineer, electric vehicle enthusiast, and energy healer.

Create hierarchical navigation for custom post types in Wordpress with PODS

wordpress-logo-stacked-rgb.pngOn my Wordpress site I want to create "documentation" areas with a cluster of pages organized as a hierarchy, with an index to those pages showing as a sidebar. Many think of doing this for "Product Documentation", but I simply want to organize notes and additional material related to some books that I'm writing. Just as a book is organized by chapters and subsections, I want to hierarchically organize these pages.

Where should you put routes in an Express/Node.js web application for simple easy coding enjoyment?

nodejs-dark.pngThe Express.js app framework for Node.js is a pretty cool system that makes it easy to implement web apps and even REST API's. But the Express team doesn't give you any guidance on structuring the application code. They give you an API and it's up to you to decide how or even if you structure the model-view-controller paradigm or any other paradigm you wish to use.

Tame having dozens of open browser tabs in Chrome with the Great Suspender

I'm now primarily using a Chromebook for all my work - which includes software development on Linux, thanks to having installed Crouton. Since the Chromebook has only 4GB of main memory, things are a little constrained. I'm accustomed to running dozens of open tabs and on the Chromebook what happens is tabs are killed off when memory runs low, and if you revisit the tab it might cause a complete reload. That'd been bugging me until I found a new tool that completely tames open browser tabs.

What to do when Wordpress says this file type is not permitted for security reasons

wordpress-logo-stacked-rgb.pngIn Wordpress, have you tried uploading a file to a post only to be told "Sorry, this file type is not permitted for security reasons". Or maybe the file upload silently fails with no visible message, and nothing attached to your post? In my case I'd defined a Book post type (using the PODS framework) and added a bunch of file upload fields to support different file extensions.

Safely detect if a Node.js module is installed before using require() to load it

nodejs-dark.pngSometimes you need to detect whether a Node.js module is installed, and print a useful error message if it isn't. For example Grunt does this. The instructions are to install "grunt-cli" then add "grunt" to the package.json for the project for which you want to use Grunt. If you haven't installed grunt locally, typing "grunt" gives you a nice error message telling you what to do.

Does buying eBooks mean we must sell our soul to Big Brother?

Akasha epub logoDoes buying an electronic book make you into a pawn of big brother, who knows your every book purchase, can delete any book you purchase on a whim, and can change what the books say at any time? A few years ago Richard Stallman (the famous open source advocate) wrote essentially that warning against electronic books.

The ultimate guide to a quickly customized mobile responsive Wordpress theme

wordpress-logo-stacked-rgb.pngI'm getting up to speed with Wordpress. One thing I wanted was to quickly get a halfway decent looking mobile responsive theme, and then get on with the business of writing my content. My belief is that it's folly spending too much time on creating the perfect theme & look & feel, and that it's the content which is more important.

How to customize the per-post authoring byline in Wordpress

wordpress-logo-stacked-rgb.pngAs a new Wordpress site owner, I'm going over every detail of the presentation to make sure everything looks right. This evening the task is improving the per-post publishing byline, and author information. As a side task, I want to have the site display my full name anywhere it would normally show the user login name. My theory is that because my mother named me "David Herron" and not "webmaster" that my website shouldn't show my name as "webmaster".

Drupal & Blogger user tries Wordpress after years of sneering, and likes it

wordpress-logo-stacked-rgb.pngThe other night talking with my girlfriend about developing a website for her, we decided that she needed a Wordpress blog. She's done quite a lot with Blogger blogs and is very familiar with them, but the goals she had were impossible given Blogger's limitations. While Drupal is a very powerful system and could have done what she wanted, it's not exactly user friendly.

Twerking your way to Skype on a Chromebook - ChromeOS future includes Android apps

One of the pain points of Chromebook users is that certain kinds of applications either aren't available for ChromeOS or are impractical. ChromeOS is a Chrome web browser, running pre-packaged on top of Linux, with a bunch of security goodness backed up by Google cloud services. It's an amazing environment but the applications are limited to running inside Chrome. Well, unless you jailbreak the device and install Crouton allowing you to run Linux.

Pages

Short URL

Subscribe to Front page feed