Support » Plugin: Exclude Pages » Works, although only with an edit

  • This worked for me on WP 4.9.4 using PHP Version: 7.0.28, however only after editing the plugin by changing: $parent = & ep_get_page( $page->post_parent, $pages );
    to: $parent = ep_get_page( $page->post_parent, $pages );

    This also worked with side menus such as BE Subpages Widget, which uses wp_list_pages, not just navigation using standard functions wp_nav_menu or wp_page_menu.

    It is unfortunate the plugin hasn’t been updated, because it is a good plugin that does exactly what I wanted… allowing pages to be present in the site without automatically being listed in auto-menus.

    • This topic was modified 1 year, 5 months ago by  mlipenk.
  • The topic ‘Works, although only with an edit’ is closed to new replies.