by Chris Coyier & Jeff Starr

Tag: Theme

How to Include Styles in Child Themes

Posted by Updated on

This DigWP tutorial explains the "new" way to include parent stylesheets in Child Themes. I put the word "new" in quotes because the technique actually has been around for years, but there are many developers and designers who still use the old @import way of adding parent styles. This tutorial is for people who may be unfamiliar with using WordPress’ enqueue functionality for Child Themes. Here you'll find copy-n-paste techniques, examples, caveats, and numerous resources. Basically everything you need to know about including styles in your Child Themes.

Backup and Restore Theme Options

Posted by Updated on

After taking the time to set a whole bunch of theme options, it's nice to be able to make a quick backup of your theme settings. Many themes have this functionality built-in, but for themes that don't, here is a plug-n-play snippet to create a "Backup/Restore Theme Options" page. You can see the snippet in action in the shapeSpace theme.

H5 Theme Update

Posted by on

Theme update! The H5 Starter Theme is all updated and afresh for your theme-building adventures. The previous version of H5 still works great, but there was a lot of room for improvement, especially with all of the new features and functionality made available in recent versions of WordPress. So now the H5 starter theme is better than ever and as always 100% free download for everyone.

Find the Perfect Theme with “There is a Theme for That”

Posted by Updated on

I've been working with WordPress for about 2 years now. I've set up dozens of websites for both myself and clients and finding the perfect theme has always been a bit of a chore. Don't get me wrong, I love that there are so many to choose from, but now that there are over 100 companies that make WordPress themes outside of the big market places like TemplateMonster and ThemeForest I quickly got tired of clicking through all of them to find the perfect theme.

Tumblr Links with Post Formats

Posted by Updated on

With WordPress 3.1’s new Post Format functionality, it’s easier than ever to create your own Tumblr-style Link posts. We do this right here at DigWP.com using our own hand-rolled method. Scroll through a page or two of the site’s most recent posts, and you’ll see that Link posts are formatted and styled differently than regular posts (see screenshot below). In this tutorial, you'll learn how to use WordPress' new Post Formats to setup your own Tumblr-style Links in 3 easy steps.

Call a Widget with a Shortcode

Posted by Updated on

We covered how to run a shortcode in a widget. But what about inserting a widget with a shortcode? I recently had this situation come up. I had a single page where I just wanted to be able to chuck in a widget without the whole rigmarole of creating a special widgetized area and probably a custom page template for that widgetized area and such. I wanted to just put [widget widget_name="my_widget"] in the pages content and have that widget pop in. Turns out it wasn't as easy I wanted it to be, but it's not that bad...

WordPress Custom functions.php Template, Part 2

Posted by Updated on

In a recent post, we show you how to clean up and enhance the functionality of WordPress with a custom functions.php template. In that post, we explain how using a custom functions.php template can speed up development while optimizing many key aspects of WordPress. In this post, we deliver another prime collection of 15 custom functions to enhance your WordPress site. These functions provide all sorts of useful functionality, including stuff like:

WordPress functions.php Template with 15 Essential Custom Functions

Posted by Updated on

When designing WordPress themes, I always add a common set of custom functions to the theme’s functions.php file. This speeds up development time because I don’t have to hunt for and individually copy the same slew of functions for every theme. I just drop in a copy of my functions.php template and build up from there. This takes care of all those little things that always need to be done:

Code is poetry