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.
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.
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.
To celebrate the season, Elegant Themes is giving away three free memberships to their entire theme library — an impressive collection of 78 awesome WordPress themes yours for free!
A cool trick you can do with WordPress is display information directly from your theme’s
style.css stylesheet. I recently used this on a site where the theme’s version number is used throughout the template to keep things current and consistent.
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.
In this DiW post, we transform three slices of code into a clean & stylish tabbed menu that visitors can use to login, register, and recover passwords from anywhere in your site. Too many features & details to explain up front, so check out the working demo to see the finished product. On the menu:
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…
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:
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:
The post_class() function in WordPress is pretty darn useful. It is used like this, in most templates, in a wrapping div of all the content you are outputting: