Support » Plugin: You Save for Woocommerce » Disable on Home Page

  • Resolved gmoney9

    (@gmoney9)


    Hello. Is there anyway to disable this on the home page?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author 10Horizons Plugins

    (@tentenbiz)

    For a quick, dirty, temporary solution, open file index.php inside the plugin directory:

    /wp-content/plugins/you-save-x-for-woocommerce/index.php

    On line 229 you will see this:

    function thp_ysxfw_you_save_single_product_page() {

    Change the above with the following code:

    
    function thp_ysxfw_you_save_single_product_page() {
        if (is_home() || is_front_page())
           return;

    But bear in mind this change will be wiped out once the plugin is updated. So I will add a new option to enable/disable the badge on homepage in the next plugin update.

    Thread Starter gmoney9

    (@gmoney9)

    Thank you, will give it a go. Appreciate the feedback.

    P.S I sent a service request email to you on 10Horizons. WProot contact page doesn’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable on Home Page’ is closed to new replies.