Robin Hislop's Posts
Robin got his first modem in 1984 and has been in love with the internet ever since. He co-founded Spannerworks, one of the UK's first search marketing agencies in 1997. Based in Brighton, he builds great e-commerce and CMS web sites, and markets them online.
Opencart OCMOD to prevent stylesheet.css being cached
Opencart 3 uses quite aggressive caching for performance. If your site is also making use of cache-expired headers and a CDN like Cloudflare, this can make it almost impossible to push style changes live. To force a cache-refresh for stylesheet.css when it has been updated, we need to change the URL it is referenced by […]
Build a WordPress currency convertor with rates from the Open Exchange Rates API
Learn how to build a simple Ajax currency convertor tool for WordPress, retrieving exchange rates from Open Exchange Rates.
Tags: ajax, api integration, custom module development, wordpress
Stonebridge & Co.
WordPress theme build to integrate with the Property Hive property management platform,
Tags: api integration, data import, theme build, wordpress
Output a Bootstrap grid from an ACF repeater field
Output a Bootstrap grid from an ACF repeater field elegantly using the array_chunk method.
Tags: acf, bootstrap, custom fields
Create ACF field programmatically permanently in the database
How to create an ACF field in code which is permanently created in the database and editable in the admin UI.
Tags: acf, custom fields
WooCommerce make UK county checkout field required
I was recently tasked with setting the County (billing_state / shipping_state) fields in the WooCommerce checkout to be required fields. The standard way to override these billing and shipping fields is to use the woocommerce_billing_fields and woocommerce_shipping_fields filters, like this: However, although that does set the fields as required, the fields are immediately over-written by address-i18n.js which […]
Ardea International
WordPress redesign with custom theme in Foundation framework with many custom post types and templates. Membership system and monetised content management.
Tags: custom post types, membership system, monetised content, responsive design, theme build, wordpress
SEM Careers
WordPress recruitment site using custom post types for job listings and custom web forms for online applications.
Tags: custom post types, gravity forms, responsive design, wordpress
Strip shortcodes from WordPress posts
A regular expression to remove a particular shortcode from WordPress posts using search and replace, while leaving the content intact.
Tags: data migration, search and replace, sql, wordpress