Redirect all pages to non-www and HTTPS in WordPress

Redirect Www Non Www Https

To redirect all URLs from www to non-www and also to redirect from http to https, this code snippet to be added to .htaccess file at the top should do the trick. So https://example.com # BEGIN Redirects RewriteEngine On # 301 redirect www to non-www RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] # 301…

Read More

Minimum System Requirements for macOS Catalina 10.15 – Is yours good enough?

Macos Catalina System Requirements

Find out if your Apple computer meets the minimum system requirements of the new macOS Catalina 10.15. Apple have released their operating system named macOS Catalina October 2019, which will be macOS 10.15. The name Catalina continues on with their California landmarks with the names after Santa Catalina Island in California it is the successor…

Read More

Create An ACF Repeater Bootstrap Accordion in WordPress

Accordion Acf Repeater

Create An ACF Repeater Bootstrap Accordion for use in WordPress. Accordions can be a handy way of managing larger amounts of data to display only certain bits at a time this guide shows how to use a Boostrap accordion with ACF, a non-bootstrap guide is here. Create the ACF Repeater fields for the Bootstrap accordion.…

Read More

Create a Loop of Bootstrap 4 Tabs in WordPress with ACF Repeater

Boostrap Acf Repeater Tabs

This tutorial looks to Create a while loop of Bootstrap 4 Tabs with an ACF Repeater field in WordPress. You need to already have Bootstrap 4 enabled in your theme and ACF Pro plugin installed. Create the ACF Repeater fields for the tabs.   You can create as many tabs as needed, assign the field…

Read More

Fix Google Search Console Coverage Errors – WooCommerce

Google Search Console Coverage Errors

Google Search Console alerts users when certain pages submitted in the sitemap are set to no-index and generates a coverage error, this can include WooCommerce pages like… /cart /checkout /my-account /?-add-to-cart These pages shouldn’t be cached or indexed and are correctly set to noindex, to remove the Search Console error you can add these pages…

Read More

Create A Responsive Bootstrap 4 Tab/Accordion ACF Repeater Loop

Boostrap Acf Repeater Tabs

Create a Responsive Bootstrap 4 Tab/Accordion ACF Repeater Loop for use in WordPress. Bootstrap 4 Tabs stay as tabs in all viewport sizes which isn’t great responsively for larger content, however, this code has been adjusted to go from Bootstrap tabs to accordions at a certain breakpoint. (There is also another non-Bootstrap script that does…

Read More

Add Product Price in WooCommerce as a Shortcode

Woocommerce Shortcode Product Price

Looking to insert a WooCommerce product price into a layout, well you can add the WooCommerce Product Price as a shortcode using the product ID as an attribute for the correct product. The code below goes into your functions.php file, the add the shortcode where you need to display the price. add_shortcode( ‘cl_product_price’, ‘cl_woo_product_price_shortcode’ );…

Read More