Preset Namecheap DNS for New Domains

Are you looking to setup DNS records for Namecheap domains you may add in the future, so that your domain just resolves, and doesn’t go through that “free parking at Namecheap” phase, or the additional Nginx 500 response that sometimes happens? The instructions below will get you there. Preconfigure Namecheap DNS to Auto Add DNS …

Read more

How to declare WooCommerce support in your theme

woocommerce logo image

Received a WooCommerce help SOS through our contact form, so here is the simple answer to a question we’ve been asked more than once! Declaring WooCommerce theme support is really important after WooCommerce 3.3.0 – if your theme does not contain this in functions.php, then there’s a good chance any woocommerce templates you add to …

Read more

Code to hide content on the front page of WordPress

Another day, another little WordPress tutorial for you guys. This time, I’m posting a how to for those of you who have rolled back the old sleeves, and are actually digging into some PHP to make or edit your WordPress template. Now it should go without saying that if you are making modifications to your …

Read more

Example CodeIgniter .htaccess for mod_rewrite

If you are like Silicon Dales, a few years back, you would have used CodeIgniter (CI) probably quite a lot 5-6 years ago, but perhaps not so much “these days” on projects. We have a number of clients with legacy CI sites, and sometimes, we need to move them around and configure them. For this …

Read more

Remove unwanted fields from Gravity Forms CSV export options

Ever had a situation where you’ve got Gravity Forms setup and you want to export entries in CSV format – but you don’t want certain fields… well ever, yet they show up in the export list of options?

I’m talking things like “Payment Amount” or “Payment Date” or other things like “Transaction ID” or even “IP” or “Source URL” or similar. Perhaps you just don’t need these at all, and you want to be able to “just export” by hitting “select all”?

In these circumstances, code comes to the rescue!

Read more

How to Find & Replace in MySQL

Sometimes, we need to find and replace certain strings or pieces of data in MySQL on the fly, for example if we’ve changed a Top Level domain (TLD) and want to update a bunch of links all in one go. For those times, the following command can be issued: The code from the Gist above …

Read more

How to Use Shortcodes in your WordPress Theme Files

Got a plugin that does something really nifty, and turns out really good results in your WordPress posts and pages? Want to use that shortcode in your theme files, somewhere, outside the loop, and not sure how to do that? This WordPress tutorial will tell you how to get this done. Thankfully, as with so …

Read more