WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Page Manager
[resolved] Conflict with plugin: Exclude Pages from Navigation (4 posts)

  1. mrcullers@gmail.com
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/extend/plugins/advanced-page-manager/

  2. Uncategorized Creations
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. Uncategorized Creations
    Member
    Plugin Author

    Posted 1 year ago #

    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.
    			pause_exclude_pages();
    		}
    	}
    }
  4. Uncategorized Creations
    Member
    Plugin Author

    Posted 7 months ago #

    Marked as resolved as no user feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic