Enable Display Posts within post listing

When using [display-posts include_content="true"], we disable any Display Posts shortcodes within that content from running to prevent infinite loops.

If you are SURE you won’t get an infinite loop and want the shortcode to run, use this filter to override it.

add_filter( 'display_posts_shortcode_inception_override', '__return_false' );

Filters used:

Published by Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributor to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Leave a comment

Your email address will not be published. Required fields are marked *