Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome, Safari or Firefox browser.
Use a spacebar or arrow keys to navigate
Erick Hitter
cdia@ethitter.com
Two aspects:
Place the following in your theme's functions.php
file:
function wdn109_register_sidebars() { register_sidebar( array( 'name' => 'Sidebar', 'id' => 'sidebar-1', 'description' => 'Appears on posts and pages', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } add_action( 'widgets_init', 'wdn109_register_sidebars' );
http://codex.wordpress.org/Function_Reference/register_sidebar
Place the following in your theme where the Sidebar should appear:
<?php dynamic_sidebar( 'sidebar-1' ); ?>
http://codex.wordpress.org/Function_Reference/dynamic_sidebar
function wdn109_theme_support() { add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 400, 300, true ); } add_action( 'after_setup_theme', 'wdn109_theme_support' );
Two elements:
http://codex.wordpress.org/Function_Reference/set_post_thumbnail_size
Place the following in your theme where the image should appear:
<?php if ( has_post_thumbnail() ) the_post_thumbnail(); ?>
http://codex.wordpress.org/Function_Reference/has_post_thumbnail
http://codex.wordpress.org/Function_Reference/the_post_thumbnail
Place the following in your theme's functions.php
file:
function wdn109_theme_support() { register_nav_menu( 'primary', 'Navigation Menu' ); } add_action( 'after_setup_theme', 'wdn109_theme_support' );
http://codex.wordpress.org/Function_Reference/register_nav_menu
Place the following in your theme where the menu should appear:
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>