Posts Tagged as php

How to Create a Theme Development Environment for a Live WordPress Site

January 11th, 2010 38 Comments

Any good website owner knows that they need to be constantly looking at ways to improve their site even through small little tweaks. If you’re using Wordpress you’ll notice that it isn’t easy to create a development version without creating a separate installation. Of course, you can make changes directly on a live WordPress site but that isn’t recommended for anything other than minor tweaks.

Read more...

Add a Category and Page Specific Class to the Body Tag in WordPress

July 23rd, 2009 3 Comments

Wordpress is a powerful CMS, especially for blogging but what if you want to style something on a single page and not affect anything on other pages? There isn’t built-in way to do this so we need to use the platform that Wordpress runs on by writing some custom PHP.
<?php if (is_home()) { ?>
<body id=”home”>
<?php [...]

Read more...
Page: 1