• Resolved bkmarsh

    (@bkmarsh)


    I have a set of pages I’d like to use this plugin for. Page “A” uses the short code to insert page “B”. Page “B” has a few child pages “B1”, “B2”, and “B3”. The theme I’m using shows Page “B” correctly with links to the child pages. When I view page “A”, the content for page “B” appears as expected, but the links to pages B1, B2, and B3 are missing.

    Does the plugin support child pages? Do I have to use a custom template?

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

    (@figureone)

    You’ll need to disable the deep nesting check. See here:
    https://github.com/uhm-coe/insert-pages/blob/master/readme.txt#L226-L232

    There are other support threads here discussing the same issue if you get stuck. For example:
    https://wordpress.org/support/topic/nested-inserts-possible/

    Thread Starter bkmarsh

    (@bkmarsh)

    I’ve tried this and everything I can find on the topic, but it still doesn’t display the sub page content they way I think it shoul. The pages are using a template for sub pages so I’ve asked the author of the theme (Maranatha) if he has used your plugin successfully.

    Just a note, I’ve seen the filter with different code. I’ve tried both with the same result so they may do the same thing. New to WordPress so that figures into it as well.

    add_filter( ‘insert_pages_apply_nesting_check’, ‘__return_false’ );
    add_filter( ‘insert_pages_apply_nesting_check’, function ( $should_apply ) { return false; } );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Having trouble inserting pages with child pages’ is closed to new replies.