WordPress child theme in progress

Nyancat is nyanning for a WordPress child theme

A few weeks ago, I selected a WordPress theme based on a few factors important to my workflow:

  • Support for multiple post-types
  • Strong semantic HTML
  • Bootstrap framework (for syntax portability in design)
  • Active development anchored with Git

At the time I published this article, the not-named theme is not live but I’m ensuring that I’m deploying its basic framework using best practices, i.e. creating a WordPress child theme. After that’s done, I’ll proceed with the website redesign.

Why use a child theme?

WordPress allows you to install a theme from anywhere and you are allowed make modifications as you wish, in any method you see fit. However, as the adage goes, just because you can doesn’t mean you should. I was mainly concerned with theme updates and how changes by the original author would affect modifications by me.

Whenever you use an authored theme/template for any content management system, there most certainly will be updates released over time that address broken functionality, security issues, and feature enhancements. How you choose to make customizations to your website theme will ultimately affect how well (or poorly) your upgrade will happen. For example, if you dive right into the style.css file that is included with your WordPress theme, changes you make will be overwritten if you install any update from the original author.

With that in mind, child themes work well because you can, in most cases, keep your own custom tweaks to a WordPress theme when a theme update is installed. How is that possible? A child theme is a separate directory in wp-content/themes/ that contains overrides to the original theme you are using. Normally, this new directory will contain only a style.css and functions.php file. WordPress will first check your functions.php and use original theme’s code to render the website, while pulling in your style.css overrides on top of the original theme’s CSS.

For reference on how to do this yourself, check out the Smashing Magazine how-to article.

Advertisements

Site maintenance, major changes coming soon

Posterous is going bye-bye so we are consolidating our media

Live blog is coming back

In preparation for major changes to the website, I’m doing some housecleaning. I’m saddened that Posterous is shutting down… To keep our existing posts alive, I am moving our LIVE subdomain here back in WordPress. What’s unclear is how well the archived data will meld into the website. I plan to use the techniques outlined in a recent WordPress dev post:

Next up, RSS

The future of Feedburner is unclear so I’m taking the subdomain “RSS” and keeping it as a standard A-Record until I find a polished alternative, in the event Feedburner goes officially belly-up.

Theme change

I admit, my 2011 theme wasn’t done well and was rushed out the door. “Pedestal of the Lunar Fang” was my adaptation (child theme) of WordPress’s Twenty Eleven parent theme and served as a way for me to understand the child theme process, inherited CSS, and proper customization workflow. The next theme, launching spring 2013, will also be a child theme but from a different source. If I have edits, I will publish them in my GitHub repository.

Mashable Howto: Get the Most Out of Google Maps

Jennifer Van Grove from the high-powered social media site Mashable wrote a great, comprehensive article about Google Maps and how to take advantage of its various features beyond simple address searches.

Excerpt:
Google Maps has become the standard mapping utility for everything from getting directions and finding nearby food options to viewing the surface of the moon. Are you getting the most out of your Google Maps experience? Keep reading to get some helpful hints on how to maximize (or minimize) all your mapping desires. 

See entire article at Mashable…