Refine WordPress

Refine your WordPress website. Get the little details right with cool plug-ins, neat CSS, and bits of custom code in your functions.php file. We’ll cover shortcodes, widgets, the login page and using different technologies like PHP and JavaScript/jQuery.

Animated placeholder text reveal tutorial

Animate Search and Text Placeholders

Add text-reveal animations to input, search and text area placeholders on your WordPress site with this short copy-and-paste tutorial. It’s a neat UX enhancement for pages where you want to draw the user’s attention to an input box.

Share draft post link tutorial

Share Link to a Draft Post in WordPress

Learn how to create sharing links for Draft Posts in WordPress with some simple PHP code. These links can be used to share draft content with non-logged-in users. We’ll make a small meta box on the Edit Post page too, so it’s super easy to copy the draft post link.

Animated gallery block tutorial

Animated WordPress Gallery Links

Turn the regular WordPress gallery block into a series of CSS-animated link-tiles. It’s a fun way to add bling to your site without slowing down the page-load. We’ll set it up so all we need to do is add the “animated-gallery-links” class to any gallery block we want to animate.

JavaScript click-to-copy tutorial

Reusable JavaScript Click-to-Copy

Add click-to-copy JavaScript functionality to any WordPress site. Use it with any element (or WordPress block) just by setting a CSS class name. It’s ultra-lightweight and should work with page builders too.

WordPress accordion tutorial

Create a WordPress Accordion without a Plugin

Learn how to create a lightweight JavaScript accordion for WordPress blocks without installing a plugin. It’s an easy-to-follow tutorial and the code can be customised to fit into your projects.

Single product image grid tutorial for WooCommerce

WooCommerce Single Product Image Gallery Grid

Change the WooCommerce single product image gallery into a grid layout, where the featured image and gallery thumbnails all the same size. For variable products, the top-left image is dynamic… so it shows the image of the selected product variation.

WooCommerce custom registration fields

Separate WooCommerce login and registration forms

Learn how to split the WooCommerce login and registration forms into two separate URLs without using a plugin. We’ll also make it easy to add custom fields to the registration form, so you can capture things like billing address when new users/customers register.

Add share to social links to WordPress posts

Add Share-to-Social Links to WordPress Posts

Add share-to-social network links to any WordPress content without installing a plugin. We’ll use some simple PHP to hook the content and inject the links & icons. It’s easy to customise and to add more networks of your own.

Numbered headings tutorial for WordPress

Auto-Numbered Headings

Learn how to add automatically-numbered headings for your post content. They can be ascending or descending. It’s a great little tutorial for Top Ten lists.

WordPress glossary terms tutorial

Create a Glossary with Rich HTML Tooltips

In this tutorial we’re going to create a glossary for a WordPress site, with rich HTML tooltips controlled by Popper JS, We’ll do this by creating a custom plugin, step-by-step.

Product Attribute Icons Tutorial

Product Attribute Icons for WooCommerce

Create a strip of product attribute icons and HTML snippets for the WooCommerce single product page. It’s a straightforward copy-and-paste tutorial that’s fully customisable with snippet files and filters, so you can use the same code in multiple projects.

WordPress Swiper Gallery Tutorial

Multiple WordPress Gallery Effects with Swiper

This tutorial extends the standard WordPress Gallery Block by using Swiper and GLightbox. You can apply different transition effects to your WordPress galleries by adding CSS Classes to the gallery blocks.

Product variation custom fields tutorial

Custom WooCommerce Product Variation Fields

This tutorials covers how to add custom fields to your product variations in WooCommerce, sanitise the inputs and display the fields in your customers’ orders. We’ll do this with a few snippets of code, without installing another plugin. It’s easy to extend, and you don’t need to be a developer to follow it. I promise.