Just keeping a note of the process here as I’ll need to do it again and it’s been a bit of a faff. I had two csv listings of phone numbers – I needed to[…]
Category: Programming
This is a place that I store programming recipes that I’ve used on websites. Not that fascinating but it might help someone somewhere.
learndash core changes on upgrade
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, it goes in around line 842 in this context:
Updating to WooCommerce 3.0
There were a couple of files that the template that I was using was out of date that I had to do things with cart/cart.php because it had a paypal alert /product-content.php I deleted because[…]
How to upgrade Open Cart 2.2
1. Back up the files and database. You can backup the database with the opencart backend tools or phpMyadmin – I did both. 2. then I’m going to look at the extensions that I already[…]
WordPress Notification Bar plugin
I want to add a slide in notification bar which contains a mailchimp sign up form. I actually didn’t find anything suitable so I just coded my own with jQuery Toggle animate
Adding line breaks to ultimate member multi-select display
Displaying the multi-select fields in a row made it very hard to read the areas that members covered. I couldn’t change the display without editing the core files, because they weren’t wrapped in a span[…]
Adding styled google calendar events listing to website
I want to do a static brochure site but incorporate an events listing. I thought a google calendar would be a good idea. Google has made everything a bit more complicated with all their maps[…]
WordPress membership plugins
What I wanted was membership that was for a limited period, with a customised registration form and manual approval. Simple WordPress Membership Seemed okay until I wanted to customise the registration process then it needed[…]
WP Store Locator – email as link in single store page
This is a nice little plugin but it needed a fix doing to its core files as well as to functions.php 1. In the core files I had to change the store_address shortcode that is[…]
Woocommerce: Alert at checkout when specific category is in basket
I needed an alert at the checkout to warn people that an item in their basket had to be collected. To set the conditional alert at the checkout when specific category is in basket I[…]
Set a minimum order quantity in woocommerce
To set a minimum order quantity in woocommerce you need to add the following to your theme’s functions.php Change 50 to whatever amount you want to be the minimum.
Add variations to the category page
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 your theme file
How to implement Scroll to Fixed – navigation effect
I am trying to implement a scroll to fixed navigation bar in a wordpress theme. The bar is beneath a banner image and then as the page was scrolled to a certain point the navigation[…]
Maintenance mode plugins
Something I often need to implement inside wordpress is an under-maintenance page. This can be a total annoyance because there’s so many under maintenance plugins out there and many of them won’t take custom html.[…]
Adding a taxonomy separate to categories for wordpress
I had a situation where I wanted to use categories for different sorts of reviews, but I also wanted them location based to allow growth in the future. I didn’t want to create loads of[…]
Testing an Oovoo embedded video chatroom
I’m experimenting with embedding a video chat room using oovoo as a client has asked about doing something like that and now I’m like a dog with a bone trying to figure it out.
Display post listing differently if there’s more than 3 in the category
Basically I just wanted to display only titles with a link in a page sidebar for posts in a category where there were more than three but I wanted to show the full content for[…]
Change single.php for posts in child of category
Sometimes WordPress can tie you in knots trying to figure out something that should seemingly be simple. In this situation I was searching for a solution to make wordpress check if a single post was[…]
RMA email notifications – OpenCart Returns
I was surprised to discover that RMA notifications aren’t sent automatically by OpenCart. There’s an easy fix
How to work with opencart
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 sales – it’s okay, but opencart is a great interface if all you really want[…]