Created
January 4, 2013 07:50
-
-
Save tomharrigan/4450740 to your computer and use it in GitHub Desktop.
add rich snippet stuff for date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function woo_post_meta() { | |
if ( is_page() ) { return; } | |
$post_info = '<span class="small">' . __( 'By', 'woothemes' ) . '</span> [post_author_posts_link] <span class="small">' . _x( 'on', 'post datetime', 'woothemes' ) . '</span><span class="updated"> [post_date] </span><span class="small">' . __( 'in', 'woothemes' ) . '</span> [post_categories before=""] ' . ' [post_edit]'; | |
printf( '<div class="post-meta">%s</div>' . "\n", apply_filters( 'woo_filter_post_meta', $post_info ) ); | |
} // End woo_post_meta() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment