Converting HTML5 to XHTML

Probably the easiest way to do it is to set the doctype, etc and then use the w3c xhtml validator and just go through one by one and pick off the errors…but that will take A LOT of time, I strongly recommend you leave it as is.

Blog shows up without Theme/CSS styles

You can add the WP_HOME and WP_SITEURL constants in your wp-config.php file to manually override the database options. Scenario one: You want to surface WordPress from your blog folder. define(‘WP_HOME’,’http://example.com/blog’); define(‘WP_SITEURL’,’http://example.com/blog’); Scenario Two: You’ve moved WordPress to another folder, but want it to surface at your root. define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com/blog’); You will need to make sure … Read more

Customising a theme

The beautiful thing of WordPress (In my opinion) is that you can make almost any website and only have to make a theme and or plugin(s). You can change a theme, delete things, extend etc. Or you can make a child theme, leaving the original theme intact and overwriting default behavior in a different place. … Read more

Move wordpress sidebar on homepage up to new position

The best way is to move <div id=”side”> outside of <div id=”content”>, so that you can properly position it next to the slider (<div id=”lof-container”>). Alternatively, you could do it with #maincontent { overflow: visible; } #side { margin-top: -300px; } though this is pretty hackish.

.htaccess on multisite and roots theme?

well, I have both roots and multisite. However, I do not have roots specific rewrite rules. I have the vanilla rewrite rules defined in the docs. I use the ones for subdomains instead of subfolders. RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond … Read more