Posts Tagged: WordPress

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 +

WordPress URL Functions

Getting your site URL in WordPress

Posted

I’ve worked with WordPress for years, and one of the most common problems I see when looking at others code is the way they chose to get the path to their theme directory or the url of the site. A lot of front-end developers still don’t seem to really know what the best way is… Continue Reading +