• Resolved slimmilkduds

    (@slimmilkduds)


    Has anyone got insert pages to work with the plugin Content Views? The shortcode expands fine in the back end but not in the front end.

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Ryan

    (@figureone)

    You can allow inserted pages to be shown in content views by disabling the nesting check that prevents infinite loops (e.g., Page A inserted in Page B, and Page B inserted on Page A).

    Do this by hooking into the insert_pages_apply_nesting_check filter in your theme:

    function allow_insert_in_content_views( $apply_nesting_check ) {
      return false;
    }
    add_filter( 'insert_pages_apply_nesting_check', 'allow_insert_in_content_views' );
Viewing 1 replies (of 1 total)
  • The topic ‘Incompatability with Content Views plugin’ is closed to new replies.