• Resolved ghyootjp

    (@ghyootjp)


    Hi, my Dokan multi vendor plugin rolled out an update. Ever since then the store support page from vendor dashboard does not open with Autoptimize activated. If I deactivate plugin the page can open again. Please advise how to resolve?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    If the page can be edited (and assuming “Enable configuration per post/ page?” is on the main settings tab is active), can you try disabling that page from being autoptimized on the page edit screen in the “autoptimze this page” metabox?

    Thread Starter ghyootjp

    (@ghyootjp)

    This page does not appear in the page editor. It seems to be a system page created by Dokan. Please advise?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    In that case this code snippet should work (the easiest & safest solution to add it is the code snippets plugin);

    add_filter('autoptimize_filter_noptimize','dokan_noptimize',10,1);
    function dokan_noptimize( $flag_in ) {
    	if ( strpos( $_SERVER['REQUEST_URI'], 'store-manager/support/' ) !== false ) {
    		return true;
    	} else {
    		return $flag_in;
    	}
    }
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved ghyootjp ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

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

The topic ‘Plugin prevents a page from opening’ is closed to new replies.