Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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' );
@sitealacarte

This comment has been minimized.

Copy link

commented Mar 31, 2017

Thank you for this.

@DesignMeCG

This comment has been minimized.

Copy link

commented Jan 13, 2018

THANK YOU! Just what I needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.