Using the Example Function

Topic:

In Bones for Genesis, you’ll find an example function that looks something like this: // an example function (you can use this to view hook locations) function genesis_do_example() { // enter your function here ?> <div class=”help”> <p>This is an example function. Please replace this with your own custom function.</p> </div> <?php } /* end… Read more »

Adding LESS Support

Topic:

LESS is an amazing stylesheet language that takes CSS and kicks it up a notch. Bundled with Bones for Genesis, you’ll find the LESS library and a LESS stylesheet ready to roll. In the functions.php file, simply un-comment (remove the /* at the beginning and the */ at the end) this area: /* function bfg_less_support()… Read more »

Adding Header Background Image Support

Topic:

Adding WordPress 3+ Header Image Support is simple. You can drop the following code in the functions.php file and it will get you started. // header image define if (!defined(‘NO_HEADER_TEXT’)) { define(‘NO_HEADER_TEXT’, true ); } // no header text if (!defined(‘HEADER_TEXTCOLOR’)) { define(‘HEADER_TEXTCOLOR’, ‘ffffff’); } // header text color if (!defined(‘HEADER_IMAGE’)) { define(‘HEADER_IMAGE’, get_template_directory_uri() …. Read more »