',
) );
// Area 2, located below the Primary Widget Area in the sidebar. Empty by default.
register_sidebar( array(
'name' => __( 'Secondary Widget Area', 'application' ),
'id' => 'secondary-widget-area',
'description' => __( 'The secondary widget area', 'application' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
) );
// Area 3, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'First Footer Widget Area', 'blogmedia' ),
'id' => 'first-footer-widget-area',
'description' => __( 'The first footer widget area', 'blogmedia' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
) );
// Area 4, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'Second Footer Widget Area', 'blogmedia' ),
'id' => 'second-footer-widget-area',
'description' => __( 'The second footer widget area', 'blogmedia' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
) );
// Area 5, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'Third Footer Widget Area', 'blogmedia' ),
'id' => 'third-footer-widget-area',
'description' => __( 'The third footer widget area', 'blogmedia' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
) );
// Area 6, located in the footer. Empty by default.
register_sidebar( array(
'name' => __( 'Fourth Footer Widget Area', 'blogmedia' ),
'id' => 'fourth-footer-widget-area',
'description' => __( 'The fourth footer widget area', 'blogmedia' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
) );
}
if ( ! function_exists( 'application_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post—date/time and author.
*/
function application_posted_on() {
printf( __( '%2$s by %3$s', 'application' ),
'meta-prep meta-prep-author',
sprintf( '%3$s',
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),
sprintf( '%3$s',
get_author_posts_url( get_the_author_meta( 'ID' ) ),
sprintf( esc_attr__( 'View all posts by %s', 'application' ), get_the_author() ),
get_the_author()
)
);
}
endif;
// Filter wp_nav_menu() to add additional links and other output
function application_nav_menu_items($items) {
$homelink = '