Email and Cloudflare

If you are using cloudflare to hide your servers IP address, then you need to ensure you don’t send email from that server. Reasons: Creating a SPF record to avoid email going to spam will require you to specify the servers IP address – fail! Sending an email will reveal your IP address in the […]

Read More

Copy to clipboard

Most browsers will only allow copying of text from a visible input box or textarea Text area example for wordpress (jQuery) This example overwrites the textarea value in case user has altered it

Read More

Plugin release checlist

Basic bug checks: All files declare your plugins namespace at the top (assuming you are using one) Search all the files for “add_action”, confirm all uses include the namespace before the function name Search all the files for “add_shortcode”, confirm all uses include the namespace before the function name

Read More

Debugging checklist/tips

Using a namespace? All php files declare the namespace at the top? Search all the files for “add_action”, confirm all uses include the namespace before the function name Search all the files for “add_shortcode”, confirm all uses include the namespace before the function name

Read More