__( 'Main Menu', 'material' )
)
);
}
add_action( 'after_setup_theme', 'material_setup' );
}
/**
* ----------------------------------------------------------------------------------------
* 5.0 - Display meta information for a specific post.
* ----------------------------------------------------------------------------------------
*/
if ( ! function_exists( 'material_post_meta' ) ) {
function material_post_meta() {
echo '
';
if ( get_post_type() === 'post' ) {
// If the post is sticky, mark it.
if ( is_sticky() ) {
echo ' ';
}
// Get the date.
printf(
'- '.__(' Posted on ','material').'%2$s
',
esc_url( get_permalink()),
get_the_date()
);
// Get the post author.
printf(
'- '.__(' by ','material').'%2$s
',
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
get_the_author()
);
}
}
}
if ( ! function_exists( 'material_post_meta2' ) ) {
function material_post_meta2() {
echo '