Allow shortcodes in Genesis Archive Intro Text

Allows the use of shortcodes in Genesis Archive Intro Texts/description. These settings are available for term archives, author archives, and custom post type archives.

<?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' );

Source: https://gist.github.com/joshuadavidnelson/feb26f83d7d12ee8c51d0af116778dff

Tags: , , , ,