-
-
Save alexpani/21ea618ad7f9dbc450afcaac5e246b16 to your computer and use it in GitHub Desktop.
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
//* Customize the entry info in the entry header (requires HTML5 theme support) | |
add_filter( 'genesis_post_info', 'an_post_info_filter' ); | |
function an_post_info_filter($post_info) { | |
$post_info = 'Pubblicato il [post_date] da [post_author_posts_link] [post_comments] [post_edit]'; | |
return $post_info; | |
} |
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
//* Customize the post meta function | |
add_filter( 'genesis_post_meta', 'an_post_meta_filter' ); | |
function an_post_meta_filter($post_meta) { | |
if ( !is_page() ) { | |
$post_meta = '[post_categories before="Categoria: "] [post_tags before="Tag: "]'; | |
return $post_meta; | |
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment