Created
January 27, 2017 03:55
-
-
Save joshuadavidnelson/feb26f83d7d12ee8c51d0af116778dff to your computer and use it in GitHub Desktop.
Allow shortcodes in the intro text output of Genesis archives.
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
<?php | |
/** | |
* Allow shortcodes in genesis archive intro text. | |
* | |
* @author Joshua David Nelson, [email protected] | |
**/ | |
// Custom Post Type Archive Intro Text | |
add_filter( 'genesis_cpt_archive_intro_text_output', 'do_shortcode' ); | |
// Author Archive Intro Text | |
add_filter( 'genesis_author_intro_text_output', 'do_shortcode' ); | |
// Term Archive Intro Text | |
add_filter( 'genesis_term_intro_text_output', 'do_shortcode' ); |
THANK YOU! Just what I needed.
awesome man, showed up easyin a search goes in functions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this.