Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //* Customize the post info function
- add_filter( 'genesis_post_info', 'sp_post_info_filter' );
- function sp_post_info_filter($post_info) {
- if ( !is_page() ) {
- $publication-date = types_render_field("pubdate", array("output"=>"html")); //My types custom field
- $authors = types_render_field("authors", array("output"=>"html")); //author custom taxonomy
- $post_info = '[pubdate] by [authors] [post_comments] [post_edit]';
- return $post_info;
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement