Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    Remove the /*/ at the end of the URL.

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Thank you for the very fast reply. I tested like this and it′s not working: https://snipboard.io/Ts82jh.jpg

    I mean, the plugin resources of WP Loyalty are still loading (even after clear caching). Here′s an example: https://www.webpagetest.org/result/230808_AiDc3V_ADX/1/details/#waterfall_view_step1

    Plugin Author Jeff Sterup

    (@foomagoo)

    did you turn on fuzzy URL matching in the settings?

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Yes, it is turned on: https://snipboard.io/qjH20n.jpg

    Thread Starter Ricardo Franco

    (@chefpanda123)

    What else should I do?

    Plugin Author Jeff Sterup

    (@foomagoo)

    Did you turn on debug messages to see what’s affecting the page?

    Thread Starter Ricardo Franco

    (@chefpanda123)

    I just turned on. Here′s the results:

    Fuzzy URL matching is enabled.

    URL Protocol will NOT be ignored. https:// will NOT be treated the same as https://

    URL Arguments will NOT be ignored. https://www.chefpanda.pt?test=test will NOT be treated the same as https://www.chefpanda.pt

    Any admin will be able to change the plugin load order.

    Trailing slashes will automatically be removed or added based on your premalink structure.

    Post types saved.
    Enabled roles saved.
    Debug roles saved.
    Selective Plugin Loading is enabled.
    Selective Mobile Plugin loading is enabled.
    Selective Admin Plugin Loading is disabled.
    Disable Plugins By Role is enabled.
    Debug messages will be dispayed.

    Thread Starter Ricardo Franco

    (@chefpanda123)

    On this page https://www.chefpanda.pt/categoria/bolos-de-babyshower/:

    A match has been made to this url using Fuzzy URL Matching with the Default Logged In settings. You can edit the plugin list affecting this page HERE
    
    The global plugin lists are affecting this URL.
    
    ------- Enabled Plugins -------
    
    advanced-custom-fields-font-awesome/acf-font-awesome.php
    
    advanced-custom-fields-pro/acf.php
    
    ajax-search-for-woocommerce-premium/ajax-search-for-woocommerce.php
    
    bulk-edit-categories-tags-premium/taxonomy-terms.php
    
    classic-editor/classic-editor.php
    
    cookie-notice/cookie-notice.php
    
    customer-reviews-woocommerce-pro/customer-reviews-woocommerce-pro.php
    
    customer-reviews-woocommerce/ivole.php
    
    disable-real-mime-check/disable-real-mime-check.php
    
    dont-muck-my-markup/dont-muck-my-markup.php
    
    ecr-google-customer-reviews/ecr-google-customer-reviews.php
    
    eu-vat-for-woocommerce/eu-vat-for-woocommerce.php
    
    eupago-for-woocommerce/eupago-for-woocommerce.php
    
    facebook-for-woocommerce/facebook-for-woocommerce.php
    
    facetwp-cache/index.php
    
    facetwp-range-list/facetwp-range-list.php
    
    facetwp/index.php
    
    gtranslate/gtranslate.php
    
    headers-security-advanced-hsts-wp/headers-security-advanced-hsts-wp.php
    
    if-menu/if-menu.php
    
    imsanity/imsanity.php
    
    klarna-order-management-for-woocommerce/klarna-order-management-for-woocommerce.php
    
    klarna-payments-for-woocommerce/klarna-payments-for-woocommerce.php
    
    log-deprecated-notices/log-deprecated-notices.php
    
    media-file-sizes/media_file_sizes.php
    
    minimum-order-amount-for-woocommerce/dc-moafw.php
    
    moloni-chefpanda/moloni-chefpanda.php
    
    moloni/moloni.php
    
    order-delivery-date/order_delivery_date.php
    
    plugin-organizer/plugin-organizer.php
    
    redirection/redirection.php
    
    regenerate-thumbnails/regenerate-thumbnails.php
    
    say-what/say-what.php
    
    sg-security/sg-security.php
    
    tiny-compress-images/tiny-compress-images.php
    
    user-role-editor/user-role-editor.php
    
    widget-options/plugin.php
    
    woo-address-book/woocommerce-address-book.php
    
    woo-conditional-payment-gateways/conditional-payment-gateways.php
    
    woo-discount-rules-pro/woo-discount-rules-pro.php
    
    woo-discount-rules/woo-discount-rules.php
    
    woocommerce-ajax-cart/wooajaxcart.php
    
    woocommerce-customer-order-csv-import/woocommerce-customer-order-csv-import.php
    
    woocommerce-gateway-stripe/woocommerce-gateway-stripe.php
    
    woocommerce-google-analytics-integration/woocommerce-google-analytics-integration.php
    
    woocommerce-order-export/woocommerce-order-export.php
    
    woocommerce-order-status-manager/woocommerce-order-status-manager.php
    
    woocommerce-paypal-payments/woocommerce-paypal-payments.php
    
    woocommerce-product-addons/woocommerce-product-addons.php
    
    woocommerce-social-login/woocommerce-social-login.php
    
    woocommerce/woocommerce.php
    
    wordpress-seo/wp-seo.php
    
    wp-cron-status-checker/wp-cron-status-checker.php
    
    wp-crontrol/wp-crontrol.php
    
    wp-downgrade/wp-downgrade.php
    
    wp-loyalty-rules/wp-loyalty-rules.php
    
    wp-rocket-cache-tablet/wp-rocket-cache-tablet.php
    
    wp-rocket-emoji/wp-rocket-emoji.php
    
    wp-rocket/wp-rocket.php
    
    wp-rollback/wp-rollback.php
    
    wpseo-woocommerce/wpseo-woocommerce.php
    Thread Starter Ricardo Franco

    (@chefpanda123)

    So we can conclude that WP Loyalty plugin is still being loaded

    Plugin Author Jeff Sterup

    (@foomagoo)

    so do you have the plugin disabled for the default logged in role?

    Thread Starter Ricardo Franco

    (@chefpanda123)

    I′m not sure… The plugin filters must be enabled to all users, regardless they are logged in or not… See, we use your plugin with the major goal of avoiding to load plugins that are not necessary on the critical pages:

    • homepage
    • category pages
    • product pages

    I thought the ideal way to accomplish this goal would be to create a plugin filter that would “disable certain plugins” on certain permalinks. Feel free to let us know if this is the best way to go.

    Plugin Author Jeff Sterup

    (@foomagoo)

    Yes but the debug message says the default logged in list of plugins is being applied. So check to make sure the plugin is disabled for default logged in on that filter.

    Thread Starter Ricardo Franco

    (@chefpanda123)

    I tried, but the plugin does not save on “default logged in”: https://somup.com/c0jXjJA1ky

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Did you have a chance to see the video?

    Thread Starter Ricardo Franco

    (@chefpanda123)

    I finally managed to use this plugin ?? I had to turn off the option “Disable Plugins By Role”

    I globally paused three plugins: age gate, tablepress and WP Loyalty.

    I still found CSS resources being loaded of these plugins being loaded.

    test: https://www.webpagetest.org/result/230816_AiDcAP_7SD/2/details/#waterfall_view_step1

    Resource Age Gate is being loaded on position 11:

    Is this the expected behavior? As the plugins are activated on WordPress, even if they are globally disabled, CSS resources will be loaded?

    (just to confirm, on the tested page the plugins do not show up on the debug message):

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Disable plugins on product categories’ is closed to new replies.