__( 'Main Sidebar', 'avocation' ),
'id' => 'sidebar-1',
'description' => __( 'Main sidebar that appears on the right.', 'avocation' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
) );
register_sidebar(array(
'name' => __('Footer Area One', 'avocation'),
'id' => 'footer-1',
'description' => __('Footer Area One that appears on the footer.', 'avocation'),
'before_widget' => '',
'before_title' => '
',
'after_title' => '
',
));
register_sidebar(array(
'name' => __('Footer Area Two', 'avocation'),
'id' => 'footer-2',
'description' => __('Footer Area Two that appears on the footer.', 'avocation'),
'before_widget' => '',
'before_title' => '
',
'after_title' => '
',
));
register_sidebar(array(
'name' => __('Footer Area Three', 'avocation'),
'id' => 'footer-3',
'description' => __('Footer Area Three that appears on the footer.', 'avocation'),
'before_widget' => '',
'before_title' => '
',
'after_title' => '
',
));
register_sidebar(array(
'name' => __('Footer Area Four', 'avocation'),
'id' => 'footer-4',
'description' => __('Footer Area Four that appears on the footer.', 'avocation'),
'before_widget' => '',
'before_title' => '
',
'after_title' => '
',
));
}
add_action( 'widgets_init', 'avocation_widgets_init' );
/*
* avocation Set up post entry meta.
*
* Meta information for current post: categories, tags, permalink, author, and date.
*/
function avocation_entry_meta() {
$avocation_category_list = get_the_category_list( ', ',' ');
$avocation_tag_list = get_the_tag_list(' ',' , ');
$avocation_date = sprintf( '',
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() )
);
$avocation_author = sprintf( '%3$s',
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'avocation' ), get_the_author() ) ),
get_the_author()
);
if($avocation_category_list) {
$avocation_utility_text = '