Support » Plugin: Permalink Manager Lite » Is it Possible to deactivate this plugin for a specific page

  • Resolved stevesmith99

    (@stevesmith99)


    We would like to deactivate this plugin for a specific page or is there any way to work our custom rewrite rule for a specific page.
    The plugin blocks the custom rewrite rule.

    We couldn’t provide the site url

    Could you please share your comment.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @stevesmith99,

    Custom permalinks can be excluded in a variety of ways, depending on the user scenario. The most basic way is to prevent the function that detects custom permalinks from modifying the WordPress query parameter. Using the snippet below, you can provide the IDs of excluded posts and pages:

    function pm_excluded_ids() {
    	return array(272, 512, 604, 1488);
    }
    add_filter('permalink_manager_excluded_post_ids', 'pm_excluded_ids');

    Best regards,
    Maciej

    Plugin Author Maciej Bis

    (@mbis)

    Hi @stevesmith99

    As a friendly reminder, I wanted to check on you and see if you had any success.

    If you did not, I would be happy to provide you with a more tailored solution if you could just let me know which page you would like to exclude.

    Best regards,
    Maciej

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.