Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joshuadavidnelson/feb26f83d7d12ee8c51d0af116778dff to your computer and use it in GitHub Desktop.
Save joshuadavidnelson/feb26f83d7d12ee8c51d0af116778dff to your computer and use it in GitHub Desktop.
Allow shortcodes in the intro text output of Genesis archives.
<?php
/**
* Allow shortcodes in genesis archive intro text.
*
* @author Joshua David Nelson, josh@joshuadnelson.com
**/
// 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' );
@PDM2020
Copy link

PDM2020 commented Aug 3, 2020

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