Popular Posts
All posts ordered by popularity
Simple live comment preview with jQuery
Here is a very simple and basic live-preview for comments and contact forms.
Redirect old domain to new domain
To redirect an old domain to a new domain, use any of these three simple .htaccess techniques.
WordPress Fix Image Upload Errors
Here are some quick tips to help troubleshoot and fix image and file upload errors in WordPress. Hopefully it helps someone out there get things back on track with their uploaded images. I know it can be frustrating!
Private notes and members-only content
Two cool tricks today, shortcodes to display private notes and members-only content.
The Right Way to Include Google Fonts in WordPress
This tutorial explains the right (and wrong) way to include (aka enqueue) Google Fonts in your WordPress theme.
PHP Add and Remove Query Strings
Found a couple of useful PHP code snippets for adding and removing query strings from URLs. This is useful when implementing paged and search functionality, among other things. These functions work great and are a real time saver — copy, paste, test, and done.
Publish a post via functions.php
Normally users create new posts from the Posts Edit screen in the WordPress Admin, but you can also publish posts from the functions.php file.
Contact Form X
There are a million contact form plugins, but this one is MINE. One of the primary communication channels for my online empire is the Perishable Press Contact Page. I get a TON of email from that location, all coming from different projects, plugins, books, tutorials, etc. So the contact form that I display must be […]
Override inline CSS styles
Quick tip for overriding inline CSS styles from within your stylesheet.
jQuery Add / Remove Class
Adding and removing classes to/from HTML elements is super-easy with jQuery. Here is a quick tutorial that explains how it’s done. The code snippets are copy & paste friendly, so you can grab, gulp, and go.
Change Database Type to InnoDB or MyISAM
Originally, the WordPress database was formatted as type MyISAM. Then years later they changed the database format to InnoDB. Reportedly, InnoDB is superior to MyISAM in several ways. This is true for any dynamic site, not just WordPress. If your database is not InnoDB, you may benefit from changing it. This quick tutorial explains how […]
Restore Removed Query String Paramaters in the WP Admin Area
Developing my WordPress plugins recently, I noticed that Chrome was removing the query-string parameters from the URL as displayed in the browser’s address bar. Likewise Firefox and others were not showing the full URL in the address bar, which was making development difficult, as I was testing URL redirects involving query parameters at the time.