Deprecated: Return type of HM\BackUpWordPress\CleanUpIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/charlott/ourfragileplanet.com/site/wp-content/plugins/backupwordpress/classes/class-path.php on line 455

Warning: Cannot modify header information - headers already sent by (output started at /home/charlott/ourfragileplanet.com/site/wp-content/plugins/backupwordpress/classes/class-path.php:452) in /home/charlott/ourfragileplanet.com/site/wp-includes/feed-rss2.php on line 8
Programming Archives - Our Fragile Planet https://ourfragileplanet.com/category/programming/ An online notebook for tech, music, food, wordpress.... and whatever else I am keeping note of... Sun, 14 Jan 2024 19:51:37 +0000 en-GB hourly 1 https://ourfragileplanet.com/site/wp-content/uploads/2016/06/ofp-logo-150x150.png Programming Archives - Our Fragile Planet https://ourfragileplanet.com/category/programming/ 32 32 appending phone listings with open office https://ourfragileplanet.com/2017/09/12/appending-phone-listings-open-office/ Tue, 12 Sep 2017 11:48:19 +0000 https://ourfragileplanet.com/?p=366 Just keeping a note of the process here as I’ll need to do it again and it’s been a bit […]

The post appending phone listings with open office appeared first on Our Fragile Planet.

]]>
learndash core changes on upgrade https://ourfragileplanet.com/2017/05/25/learndash-core-changes-upgrade/ Thu, 25 May 2017 13:41:03 +0000 https://ourfragileplanet.com/?p=346 Adding the company name from woocommerce to the learndash email report add the following to ../wp-content/plugins/sfwd-lms/includes/vendor/wp-pro-quiz/lib/controller/WpProQuiz_Controller_Quiz.php ‘$companyname’ => $user-> billing_company, […]

The post learndash core changes on upgrade appeared first on Our Fragile Planet.

]]>
Updating to WooCommerce 3.0 https://ourfragileplanet.com/2017/05/24/updating-woocommerce-3-0/ Wed, 24 May 2017 09:59:34 +0000 https://ourfragileplanet.com/?p=335 There were a couple of files that the template that I was using was out of date that I had […]

The post Updating to WooCommerce 3.0 appeared first on Our Fragile Planet.

]]>
How to upgrade Open Cart 2.2 https://ourfragileplanet.com/2017/04/07/upgrade-open-cart-2-2/ Fri, 07 Apr 2017 14:10:18 +0000 https://ourfragileplanet.com/?p=324 1. Back up the files and database. You can backup the database with the opencart backend tools or phpMyadmin – […]

The post How to upgrade Open Cart 2.2 appeared first on Our Fragile Planet.

]]>
WordPress Notification Bar plugin https://ourfragileplanet.com/2017/02/03/wordpress-notification-bar-plugin/ Fri, 03 Feb 2017 17:27:33 +0000 https://ourfragileplanet.com/?p=304 I want to add a slide in notification bar which contains a mailchimp sign up form. I actually didn’t find […]

The post WordPress Notification Bar plugin appeared first on Our Fragile Planet.

]]>
Adding line breaks to ultimate member multi-select display https://ourfragileplanet.com/2017/02/02/adding-line-breaks-ultimate-member-multi-select-display/ Thu, 02 Feb 2017 16:06:52 +0000 https://ourfragileplanet.com/?p=299 Displaying the multi-select fields in a row made it very hard to read the areas that members covered. I couldn’t […]

The post Adding line breaks to ultimate member multi-select display appeared first on Our Fragile Planet.

]]>
Adding styled google calendar events listing to website https://ourfragileplanet.com/2016/11/11/adding-styled-google-calendar-events-listing-website/ Fri, 11 Nov 2016 12:39:41 +0000 https://ourfragileplanet.com/?p=291 I want to do a static brochure site but incorporate an events listing. I thought a google calendar would be […]

The post Adding styled google calendar events listing to website appeared first on Our Fragile Planet.

]]>
WordPress membership plugins https://ourfragileplanet.com/2016/11/07/wordpress-membership-plugins/ Mon, 07 Nov 2016 16:02:59 +0000 https://ourfragileplanet.com/?p=288 What I wanted was membership that was for a limited period, with a customised registration form and manual approval. Simple […]

The post WordPress membership plugins appeared first on Our Fragile Planet.

]]>
WP Store Locator – email as link in single store page https://ourfragileplanet.com/2016/10/28/wp-store-locator-email-link-single-store-page/ Fri, 28 Oct 2016 14:19:58 +0000 https://ourfragileplanet.com/?p=284 This is a nice little plugin but it needed a fix doing to its core files as well as to […]

The post WP Store Locator – email as link in single store page appeared first on Our Fragile Planet.

]]>
Woocommerce: Alert at checkout when specific category is in basket https://ourfragileplanet.com/2016/09/28/woocommerce-alert-checkout-specific-category-basket/ Wed, 28 Sep 2016 09:16:52 +0000 https://ourfragileplanet.com/?p=257 I needed an alert at the checkout to warn people that an item in their basket had to be collected. […]

The post Woocommerce: Alert at checkout when specific category is in basket appeared first on Our Fragile Planet.

]]>
Set a minimum order quantity in woocommerce https://ourfragileplanet.com/2016/09/28/set-minimum-order-quantity-woocommerce/ Wed, 28 Sep 2016 09:08:04 +0000 https://ourfragileplanet.com/?p=254 To set a minimum order quantity in woocommerce you need to add the following to your theme’s functions.php Change 50 […]

The post Set a minimum order quantity in woocommerce appeared first on Our Fragile Planet.

]]>
Add variations to the category page https://ourfragileplanet.com/2016/09/28/add-variations-category-page/ Wed, 28 Sep 2016 09:00:59 +0000 https://ourfragileplanet.com/?p=249 To add variations to the category page and products page in Woocommerce you should save this code as …/woocommerce/loop/add-to-cart.php in […]

The post Add variations to the category page appeared first on Our Fragile Planet.

]]>
How to implement Scroll to Fixed – navigation effect https://ourfragileplanet.com/2016/07/28/implement-scroll-fixed-navigation-effect/ Thu, 28 Jul 2016 19:09:05 +0000 https://ourfragileplanet.com/?p=211 I am trying to implement a scroll to fixed navigation bar in a wordpress theme. The bar is beneath a […]

The post How to implement Scroll to Fixed – navigation effect appeared first on Our Fragile Planet.

]]>
Maintenance mode plugins https://ourfragileplanet.com/2016/07/27/maintenance-mode-plugins/ Wed, 27 Jul 2016 11:10:16 +0000 https://ourfragileplanet.com/?p=205 Something I often need to implement inside wordpress is an under-maintenance page. This can be a total annoyance because there’s […]

The post Maintenance mode plugins appeared first on Our Fragile Planet.

]]>
Adding a taxonomy separate to categories for wordpress https://ourfragileplanet.com/2016/07/25/adding-taxonomy-separate-categories-wordpress/ Mon, 25 Jul 2016 14:28:46 +0000 https://ourfragileplanet.com/?p=175 I had a situation where I wanted to use categories for different sorts of reviews, but I also wanted them […]

The post Adding a taxonomy separate to categories for wordpress appeared first on Our Fragile Planet.

]]>
Testing an Oovoo embedded video chatroom https://ourfragileplanet.com/2016/06/29/124/ Wed, 29 Jun 2016 16:04:19 +0000 https://ourfragileplanet.com/?p=124 I’m experimenting with embedding a video chat room using oovoo as a client has asked about doing something like that […]

The post Testing an Oovoo embedded video chatroom appeared first on Our Fragile Planet.

]]>
Display post listing differently if there’s more than 3 in the category https://ourfragileplanet.com/2016/06/17/display-post-listing-differently-theres-3-category/ Fri, 17 Jun 2016 16:44:13 +0000 https://ourfragileplanet.com/?p=119 Basically I just wanted to display only titles with a link in a page sidebar for posts in a category […]

The post Display post listing differently if there’s more than 3 in the category appeared first on Our Fragile Planet.

]]>
Change single.php for posts in child of category https://ourfragileplanet.com/2016/06/17/change-single-php-posts-child-category/ Fri, 17 Jun 2016 16:39:23 +0000 https://ourfragileplanet.com/?p=117 Sometimes WordPress can tie you in knots trying to figure out something that should seemingly be simple. In this situation […]

The post Change single.php for posts in child of category appeared first on Our Fragile Planet.

]]>
RMA email notifications – OpenCart Returns https://ourfragileplanet.com/2016/06/16/rma-email-notifications-opencart-returns/ Thu, 16 Jun 2016 12:44:00 +0000 https://ourfragileplanet.com/?p=114 I was surprised to discover that RMA notifications aren’t sent automatically by OpenCart. There’s an easy fix There’s a free […]

The post RMA email notifications – OpenCart Returns appeared first on Our Fragile Planet.

]]>
How to work with opencart https://ourfragileplanet.com/2016/06/14/how-to-work-with-opencart/ Tue, 14 Jun 2016 13:41:23 +0000 https://ourfragileplanet.com/?p=38 I am really enjoying working with OpenCart 2.2.0.0, I’m a big fan of wordpress but it’s not brilliant for online […]

The post How to work with opencart appeared first on Our Fragile Planet.

]]>