Simon Davies Digital ltd

Simon Davies

Posts Categorized: WordPress

Show Woocommerce stock status for unmanaged products

Posted by Simon Davies & filed under WooCommerce, WordPress.

The WooCommerce stock status (In Stock, Out of stock) will only show if WooCommerce is managing the stock for you. I was working on a project and the client wanted the ability to manually set if the product was in stock or not. The code snippet below will allow you to show the stock status [...]

WP-Admin broken after updating WordPress

Posted by Simon Davies & filed under MAMP, WordPress.

Have you just updated your local of WordPress and its now all broken on MAMP, I've had this problem a few times now so thought it would be worth sharing how to fix this. The problem is caused by the load-scripts.php file being compressed with zlib, I first did as suggested on this stackoverflow question. [...]

Locking down WordPress

Posted by Simon Davies & filed under WordPress.

I just came across a free eBook called Locking Down WordPress from CodePoet featuring Rachel Baker, Brad Williams, and John Ford. It's an interview style book asking the 3 pro's how they handle security for their sites and is a must for anyone who uses WordPress for their clients as it will save headaches later [...]

The dangers of search and replace in WordPress

Posted by Simon Davies & filed under WordPress.

This week I learnt an important lesson when using Search and replace in WordPress. When I'm working on a site in development I have WordPress running on a dev domain so the client can view the website and make any changes via the dashboard. When the site is ready to go live I go about [...]

Contact

Want to hear more about Simon Davies Digital and what we can do for your business or simply want to say hello, then get in touch.

+44 7846 400933
[email protected]