Remove p and br tags from Contact Form 7
Contact Form 7 can add extra tags into forms, but it’s easy enough to put a stop to.
I originally started a private blog years ago to make note of useful development bits and pieces. Nowadays there’s a little of everything here, from development and digital news to gaming and guitar stuff.
Contact Form 7 can add extra tags into forms, but it’s easy enough to put a stop to.
I always forget how to import an SQL database via SSH, so left myself this note!
On a simple WordPress build, some of the pages suddenly had incredibly slow load times due to images in an Advanced Custom Fields repeater.
With the release of WooCommerce 3.0, options for lightboxes and other features have been removed – enable these with a snippet in your functions.php file.
Seeing strange character encoding in a migrated WordPress site, I had a look into character sets and found a nice easy fix.
Change the length of your excerpts in WordPress and replace the default ellipsis.
Using WordPress with Wamp can sometimes result in 404 / “page not found” errors. Changing your Apache settings in Wamp should fix this.
Add tags to pages in WordPress with a quick fix in your functions file.
Adding excerpts to pages in WordPress is really easy. This small snippet in your functions file should do the job!
After forgetting the password for a WordPress install on localhost, I found a handy way to force a reset using your functions.php file.
For a better experience on this site, please enable JavaScript in your browser