My Ramblings

This is a blog about design, front-end development, WordPress and other random musings by Liam Jay

wp_home vs wp_siteurl in WordPress

The difference with WP_HOME and WP_SITEURL in WordPress

Posted

A brief explanation on the difference between WP_HOME and WP_SITEURL in WordPress If you’ve done any development work with WordPress then you’ve probably noticed two similar looking rows in the database. Specifically WP_HOME and WP_SITEURL. These two have always confused me. To set the URL of your site you need to use the WP_HOME constant,… Continue Reading +

How to set a featured product loop in WooCommerce 3

Featured Products Loop in WooCommerce 3

Posted

If you’ve ever needed to display featured products through a custom loop in WooCommerce on one of your custom template pages, this snippet of code is what I’ve been using for WooCommerce 3 and above. You’ll need to wrap this in a list element possibly with a class of “products” depending on your css. <?php… Continue Reading +

An example of a secure web url

Self-signed certificates for SSL on MAMP

Posted

Getting SSL on MAMP can be a pain. For local development you can use self signed certs. To overcome the problems relating to local dev on OSX. I do the following: Please note, I am using Google Chrome for this and have not tested in on any other browsers. Create your certificate and serve it… Continue Reading +

Multiple examples of acceptance checkboxes that help make a contact form GDPR compliant.

GDPR Compliant Contact Form

Posted

How to make a GDPR Compliant Contact Form. This post is more for my own future reference than anything else, so I can use it when I need to make a GDPR Compliant Contact Form, but it might be of some help to others too. I’m sure by now, almost everyone in the web industry… Continue Reading +

CSS

CSS is not easy

Posted

Technically this isn’t much of a blog post, but I saw a great quote by Jeremy Keith on the subject of CSS simplicity and wanted to share it as it mirrors most of my own feelings on the subject. Unlike a programming language that requires knowledge of loops, variables, and other concepts, CSS is pretty easy… Continue Reading +

Web Tools - Sass, Gulp, Grunt and React

KISS your workflow

Posted

Do I need to use Grunt? Do I need to use Gulp? Do I need to use Sass? Do I need to use React? I see people asking these type of questions a lot, and I think the answer should be to ask what problems each of those things is trying to solve and do… Continue Reading +

Final Final Final Final PSD

Good File Structure For Design Visuals

Posted

A couple of days ago, I saw the above image by Yash Bhardwaj who created this humorous little illustration showing what everyone who has ever worked on a design project will have experienced at one time or another. I know as I used to be guilty of doing the same thing, and I figured there… Continue Reading +