New Landing How can we help? Themeforest Theme Support Neighborhood "Updated functions.js file to be extendable"

Viewing 4 posts - 1 through 4 (of 4 total)
  • #102796
    larslenselink
    Member
    Post count: 99

    The updates for 1.81 on Themeforest mention “Updated functions.js file to be extendable”. What does this mean? I am using a child-theme and am experiencing some problems caused by my child functions.js after the update.

    #102835
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    This means that you can override functions in the main functions.js file now, i.e.:

    SF.page.init = function() {
    
    }

    Shouldn’t have caused any issues with your code.

    – Ed

    #102916
    larslenselink
    Member
    Post count: 99

    Hi Ed,

    Thanks for your reply. Will these changes be overwritten whenever I update the theme (should I keep a child functions.js)?

    Kind regards

    #103050
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You can override functions in your child theme functions.js file or in the theme options, it will not be overwritten when you update

    – Kyle

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