Problem Any Word document opened that has merge fields - displays the full merge field code. For example, a field link will show { HYPERLINK } and a merge field…
The following code will disable comments and pingbacks in a WordPress. add_filter( 'pings_open', '__return_false', 10, 2 ); add_filter( 'comments_open', '__return_false', 10, 2 ); To disable for all multi-site websites, you…
The following formulas show how to calculate the difference between two dates. The difference can be measured by: days months years days - ignoring years days - ignoring months and…
When sending emails meta-data in the email "header" explains who sent the email. There are two similar, but quite different, details that when not set correctly can make your emails…
The wp-config.php file in WordPress is one of the first files loaded each time a page is viewed. It contains database settings and encryption keys - in the wrong hands…
The following jQuery shows a method I've used to automatically format images with a caption taken from the image ALT tag. This method is useful where you can only insert…
Google Chrome 66 introduced a new feature hoping to put an end to annoying autoplaying videos. It was meant to stop videos with audio from autoplaying. But it was massively ineffective - their…
Here's four options for disabling comments in WordPress. Please note - any existing comments may still be displayed, depending on how your theme is configured. You may need to delete…
I'm not interested in getting into the technical aspects of setting up a VPS as a web server - instead I choose to use DigitalOcean and ServerPilot to get me…