DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Tag: tricks

Backup and Restore Theme Options

Posted by 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.

Bring Back Single-Column Dashboard in WP 3.8

Posted by on

After updating to WordPress 3.8, the single-column Dashboard disappears with no options to bring it back. For years, users could set the number of columns in the Dashboard to suit their needs, but apparently some brilliant decision was made to just remove it. Personal opinions and feelings aside, here is a quick snippet to bring back single-column Dashboard layout for those who were using it and wish to continue doing so.

Plugins & Tools for WordPress Developers

Posted by on

I recently spent some time updating my growing collection of WordPress plugins, and during the process discovered some great resources for my WP “developer toolbox.” These are some super-useful plugins and tools for debugging, logging data, working with translation files, analyzing performance, and making otherwise difficult tasks efficient and manageable. May they serve you well!

Add Shortcut Links to the Toolbar

Posted by on

WordPress makes it easy to add custom stuff to the Toolbar. This is a great way to personalize the look and feel of the WP Admin with custom menus, links, or whatever makes sense. To further streamline workflow, you can create keyboard-shortcuts to open your Toolbar links with a single keystroke.

Limit WordPress Post Navigation to Same Author and Category

Posted by on

In this DigWP post, guest author David Powell explains how to limit WordPress’ default post-navigation to include posts only from the same author and category as the currently viewed post. This method is effective, but involves making modifications to core WordPress files, something you should only do as a last resort, and if you know what you are doing. If you’re comfortable with that, read on to learn how it’s done..

Attach Unattached Media Files

Posted by on

Attaching any unattached media files that you may have floating around is a good way to keep things organized and running smooth. Normally, when you’re working on a post in the Edit Post screen, you click the Upload/Insert button and use the nifty drag-n-drop media uploader to get ‘er done. When you upload your media files in this manner, WordPress “knows” that you want to attach the file to that particular post. Super straightforward sure, but there are situations where WordPress doesn’t know which post to use. In this DigWP post, we walk through the process of finding unattached media files and attaching them to their respective posts.

Don’t fork your theme, flex it with “is_plugin_active” conditional

Posted by on

Donkey Work

Donkey work is really the last thing I want to be doing. Piddly tasks that could have been avoided with a little thought and perspective. Below I explain how I worked my way away from becoming a donkey with a dozen child themes to manage and maintain, with just a little knowledge of a native wordpress function.

Goodbye Admin Bar, Hello Toolbar

Posted by on

When the Admin Bar hit the streets in WordPress 3.1, people seemed to either love it or hate it. And rightly so, it was a significant change in the appearance of the WP Admin area, and if not disabled in your User Profile, the front-end of your site as well. Many tips, tricks and plugins for customizing the Admin Bar began appearing around the Web. And then just as the dust began to settle, BAM — the “Admin Bar” transforms into the “Toolbar” with the WordPress 3.3 update.

Code is poetry