Support » Plugins and Hacks » [Resolved] Conflict with plugin: Exclude Pages from Navigation

[Resolved] Conflict with plugin: Exclude Pages from Navigation

  • When plugin, Exclude Pages from Navigation, is active the following happens to your plugin…

    Missing page name and links for items at root level in the tree display.
    These items rollover menu contain the following for links…

    Rename | Preview | Publish | Template | Delete

    as opposed to the normal menu of…

    Rename | View | Unpublish | Edit | Template | Move | Delete

    also.. these no name items have no further info like, template, status or an add new button.

    I have to turn off the plugin in order to access pages on root level or disable the plugin Exclude Pages from Navigation.

    I am using 3.5.1 WP with Exclude Pages from Navigation 1.92


Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, we’re a bit off this week (lot of work and some of us are on hollidays). Also, we’ell get back to you ASAP.

    Hi, we got time to investigate your problem.

    It appears that Exclude Pages from Navigation uses a hook on the get_pages() function to strip any result returned. We use that function to display the page tree.

    We’re going to see how and when we can modify APM to avoid such problem.

    In the meantime, you may include the following code in the functions.php file of your theme to resolve the problem.

    if( function_exists('pause_exclude_pages') ){ //Plugin "Exclude pages" installed
    	add_action('template_redirect', 'pause_exclude_page_on_apm_page',9); //9 to pass before the APM ajax redirect
    	function pause_exclude_page_on_apm_page(){
    		if( get_query_var('apm_sb_ajax_page') ){ //Not empty only if doing an APM ajax call.

    Marked as resolved as no user feedback.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Conflict with plugin: Exclude Pages from Navigation’ is closed to new replies.