The latest version of Genesis has deprecated two widgets, but they still annoyingly show up in the widgets panel even if you're not using them. Thankfully it's easy to remove them using WordPress's unregister_widget function. Just place the following … [Continue reading]
How to add excerpt support for WordPress pages
Posted on March 16, 2012 Written by 1 Comment
Adding a custom excerpt in WordPress posts is easy - when you're editing a post, you can turn on the excerpt metabox in screen options and away you go. But that option is not available when you're editing pages. Thankfully, the add_post_type_support … [Continue reading]
How to make sure your custom CSS is cached by the browser
Posted on March 8, 2012 Written by 7 Comments
If you're writing a custom theme, you'll want to make sure that the browser properly caches the CSS, so that it's not requested each time. To solve this, you add a cache-control header to your .htaccess file:But what if you subsequently … [Continue reading]