
WooCommerce: Hide Price & Add to Cart for Logged Out Users
If you require only logged in users to be able to see prices in woocomerce, here is how you can do it. Add the following to the bottom of your themes functions.php file.
If you require only logged in users to be able to see prices in woocomerce, here is how you can do it. Add the following to the bottom of your themes functions.php file.
Here’s how you can easily add some plus/minus buttons around the quantity add to cart input. First, the code to add the buttons to the page. Next the jQuery to control changing the quantity when the buttons are clicked. Finally, depending on your theme you may need to…
By default an Advanced Custom Fields Image object will return the full sized image. But what if you want a specific image size. Here is how you can get a specific image size url from an ACF image field. If your acf image field is returning an image…
Many WordPress plugins make use of shortcodes, which are small bits of text (enclosed with []) which you can use in content areas inside posts/pages. However, you may have the need to use a shortcode form within a php template file. Here is how to do it…
When it comes to email for your domain, there are typically two popular choices: Create email accounts from within your hosting cPanel (free) Use Google G Suite to handle your email ($5 per month) The drawback with using email accounts created within your hosting cpanel is the web…
Alright, you have installed WordPress and are ready to start picking out your theme and adding some content to your site. But first it’s a good idea to go in and change some of the default settings and clean things up a bit. In this post, I share…