Popular Posts
All posts ordered by popularity
WordPress widget_init not working
Working on USP Pro, I noticed that the included Form Widget stopped working. It didn’t display at all, like it wasn’t even registering with WordPress. After some investigating, I discovered that changes in the WordPress core required an update to the widget code. This article explains the process of troubleshooting and the working solution.
WordPress Set Featured Image with Fallback
In this tutorial, we’ll see how to enable theme support for Featured Images (aka Post Thumbnails), and also how to display them with fallback image support.
Print this JavaScript
You know those “Print this page” links that let you print the whole page? Yeah, those. Here is how to create one of those for your web page using JavaScript and HTML.
Media Temple Server Down
Having issues with Media Temple Grid and DV servers? Losing sales, clients, and business? It’s a depressing, nauseating feeling no doubt. Unfortunately there is not a lot that we, as customers, can do when the servers go down. To help keep your sanity, here is a list of resources for keeping an eye on things, […]
Disable theme switching
By default WordPress enables users to switch themes while working in the Admin area. Sometimes a user might screw this up and accidentally activate the wrong theme.
Instant screenshots of any web page
Here’s a trick to instantly generate a screenshot of anything on the Web. Without a plugin.
18 Sweet WordPress Functions
Here is a collection of 18 sweet WordPress functions that can be used to improve the functionality of any WordPress-powered site. Enjoy!
Responsive CSS for Simple Ajax Chat
Thank you to Benjamin S. for sharing this CSS snippet for my free WordPress plugin, Simple Ajax Chat. Simple Ajax Chat (SAC) provides a setting that makes it easy to add your own custom CSS/styles. So today we’re going to take advantage of that option to customize the appearance of the SAC chat box so […]
Update WP plugins via Mac Terminal
Here’s a quick guide for updating your WordPress plugins in the Plugin Directory using Mac Terminal.
Fix Chrome Border Radius
I’ve posted before about fixing weird default browser styles. It happens all too often. Well-intentioned browser developers taking liberties on the page with things like CSS styles. This post shares a quick code snippet that fixes the Chrome browser’s new “rounded corners” style that now is applied to form elements like buttons and inputs.
Content negotiation for WordPress
Quick PHP script for automatically selecting the best content type based on what the browser accepts. Works as-is for WordPress, or is easily modified to work with any PHP page.
Center div
Round-up of some common ways to center divs with CSS: horizontal center, vertical center, and both horizontal and vertical center. Nine techniques!