Navigation Function

Topic:

Bones is setup to use the WordPress Navigation Function, but you can also do a few cool things w/ it. You can find the code in the library/bones.php file. It looks like this: function bones_main_nav() { // display the wp3 menu if available wp_nav_menu( array( ‘menu’ => ‘main_nav’, /* menu name */ ‘theme_location’ => ‘main_nav’,… 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 »