__('Top Navigation', 'arefly-v1'), 'utility' => __('Bottom Navigation', 'arefly-v1') )); // Add custom background support add_theme_support( 'custom-background', array( 'default-image' => '', // background image default 'default-color' => '', // background color default (dont add the #) 'wp-head-callback' => '_custom_background_cb', 'admin-head-callback' => '', 'admin-preview-callback' => '' ) ); } } add_action('after_setup_theme', 'arefly_v1_theme_support'); /* end Reverie theme support */ // create widget areas: sidebar, footer $sidebars = array('Sidebar'); foreach ($sidebars as $sidebar) { register_sidebar(array( 'name'=> $sidebar, 'id' => 'Sidebar', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' )); } $sidebars = array('Footer'); foreach ($sidebars as $sidebar) { register_sidebar(array( 'name'=> $sidebar, 'id' => 'Footer', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' )); } // return entry meta information for posts, used by multiple loops, you can override this function by defining them first in your child theme's functions.php file if(!function_exists( 'arefly_v1_entry_meta')){ function arefly_v1_entry_meta() { echo ''. __('Written by', 'arefly-v1') .' '; echo ''; } }; if ( ! isset( $content_width ) ) $content_width = 760; /************************* START YOUR OWN FUNCTION HERE *************************/ ?>