Posts Tagged: web

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 +

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 +

Vertical Dividers On Horizontal List Items

Vertical dividers on horizontal List

Posted

I’ve lost count of the amount of times I’ve had to create a horizontal navigation menu with vertical dividers between the list items. The ones where the end result should look something like this: Item 1 | Item 2 | Item 3 | Item 4 | Item 5 I’ve tried many different ways of achieving… Continue Reading +

Sharing on Facebook without Javascript

Adding a share link to Facebook without using JavaScript

Posted

Recently I had to add a Facebook sharing link into a webpage where Javascript was not available, and I wasn’t sure if it was possible. After some researching I discovered that it was indeed possible if all you need is the basic functionality, and really, why would you want to overcomplicate things? The following method… Continue Reading +

Sass cache Grunt error

Solving an issue involving Grunt and the Sass cache

Posted

I’ve recently been trying out Grunt instead of the tried and trusted CodeKit as there’s a few things I really like about it, one of which is how customisable it is. I set Grunt us to watch my Sass/Scss files and compile whenever I saved them. Sadly, one issue I was struggling with was a… Continue Reading +