New Landing How can we help? Atelier Disable theme update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #196820
    creativeluv
    Member
    Post count: 16

    Hi,

    How can I disable theme update? I don’t want the other user to mess with it. So it is better to disable it.

    Please advise.

    Thanks,
    Dee

    #196827
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Simply remove lines 40-41 from functions.php within the theme:

    require_once(SF_INCLUDES_PATH . '/wp-updates-theme.php');
    new WPUpdatesThemeUpdater_1273( 'http://wp-updates.com/api/2/theme', basename( get_template_directory() ) );

    – Ed`

    #196843
    creativeluv
    Member
    Post count: 16

    Thank you, I have deleted those lines.

    How can I also disable the sharing option in product page?

    Thanks.

    #196850
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Simply add this css:

    .woocommerce div.product div.summary .sf-share-counts {
    display: none;
    }

    – Ed

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register