This file contains hidden or 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
| <?php | |
| add_shortcode( 'post_custom_tax', 'jw_post_custom_taxonomy_shortcode' ); | |
| /** | |
| * Produces the custom taxonomy terms links list. | |
| * | |
| * Supported shortcode attributes are: | |
| * taxonomy (taxonomy to list, default is category), | |
| * after (output after link, default is empty string), | |
| * before (output before links, default is 'Filed Under: '), |
This file contains hidden or 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
| //* Remove the entry header markup (requires HTML5 theme support) | |
| remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); | |
| remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); | |
| //* Remove the entry title (requires HTML5 theme support) | |
| remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); | |
| //* Add the entry header markup and entry title before the content on all pages except the front page | |
| add_action( 'genesis_before_content', 'jw_add_entry_header' ); | |
| function jw_add_entry_header() |
NewerOlder