Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter manuelh

    (@manuelh)

    I found your post about the deep nesting check. I inserted the following into my functions.php and it seems to work :).

    function your_theme_init() {
        // Disable nesting check to allow inserted pages within inserted pages.
        add_filter( 'insert_pages_apply_nesting_check', function ( $should_apply ) { return false; } );
    }
    add_action( 'init', 'your_theme_init' );
    Thread Starter manuelh

    (@manuelh)

    I should also mention the following:

    I have a page, where I insert the tabs. In each tab, I insert another page. The structure looks like that:

    – homepage
    |- inserted page with tabs (working)
      |- inserted page (not working)
    |- inserted page without tabs (working)

Viewing 2 replies - 1 through 2 (of 2 total)