Stuart Lambon

Blog — Wordpress

Advanced customisations to the WordPress WYSIWYG editor

I’ve never really been a fan of content management systems that offer an in-context content editor unless they’re done well on a minimal scale; websites such as Medium do this very well. For most websites with more content and/or with e-commerce capabilities an in-context editor becomes hard to use because they user may get distracted by other parts of the site, lose their place or be bombarded by edit buttons everywhere. I have always preferred content be added the way that WordPress does it; via a back-end interface that focuses the user on what they are writing—in fact in version 4.1 they also added a […]

Read More

Setting a store-wide percentage for PayPal Adaptive Payments on WooCommerce

The WooCommerce PayPal Adaptive Payments plugin is a paid-for WooCommerce extension that allows you to split your PayPal payments between one or more receivers; it supports chained, parallel and simple payments. The extension by default allows you to set these fees on a product-by-product basis but this is a rather laborious and ineffective way of doing things if your store has many products and your fee is always to be the same. Luckily, by using the woocommerce_paypal_ap_payment_args filter you can dynamically assign receivers. The code provided on the documentation page allows you to set up multiple receivers across all products and this solves the […]

Read More