__( 'Primary Navigation', 'application' ),
) );
}
endif;
?>
id="li-comment-">
__( 'Primary Widget Area', 'application' ),
'id' => 'primary-widget-area',
'description' => __( 'The primary widget area', 'application' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
) );
// 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' => '',
) );
// 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' => '',
) );
// 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' => '',
) );
// 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' => '',
) );
// 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' => '',
) );
}
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;
/** Register sidebars by running application_widgets_init() on the widgets_init hook. */
add_action( 'widgets_init', 'application_widgets_init' );
if ( is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" )
wp_redirect( 'themes.php?page=application_functions.php');
// include panel file.
require_once(TEMPLATEPATH . '/panel/application_options.php');