Wordpress

How to fix the ‘Is its parent directory writable by the server?’ error in WordPress

If you go to upload an image and get this error: Then (generally) all you need to do is remove the custom upload directory under Settings->media: Note: If you are still getting this issue, then you might have run out of space on your server or have incorrect permissions, in which case please contact your […]

How to fix the ‘Is its parent directory writable by the server?’ error in WordPress Read More »

Video: How to create variable products in Woocommerce

Variable products might seem kind of confusing but they are actually a super easy way to create products where the user can select different options and the price, description, images etc can change dynamically. Some examples might include an art gallery that sells prints in different sizes and color finishes or a gym that offers

Video: How to create variable products in Woocommerce Read More »

Limit WordPress Search results to Custom Post Type (and dont break your app)

So recently I was asked to limit search results to a particular custom post type, for example a woocommerce product, here is how I did it: [dt_code] // Change search function globally to search only post, page and portfolio post types function prefix_limit_post_types_in_search( $query ) { if ( $query->is_search ) { $query->set( ‘post_type’, array( ‘product’

Limit WordPress Search results to Custom Post Type (and dont break your app) Read More »

Woocommerce show different text depending on whether a product is In or Oust of Stock

I was asked by a client to make a modal popup for a product when the thumbnail was clicked on, as part of this popup they wanted the product to show some text letting the user know if it was in stock or not. I have been doing a bit of react.js work recently and

Woocommerce show different text depending on whether a product is In or Oust of Stock Read More »

Woocommerce Uploads, 403 Errors & Permissions

Woocommerce has a great system for creating virtual, ‘downloadable’ products. This is fantastic for when you offer some sort of digital product which the user can access after checkout. An example of this would be a training organisation, using downloadable products you can make the enrollment forms available for the user after paying for their

Woocommerce Uploads, 403 Errors & Permissions Read More »

Scroll to Top