This topic has 4 replies, 3 voices, and was last updated 8 years by Andrei.

  • Author
  • #104629
     bkozlowski
    Participant

    Hello,

    I need to add additional buddypress integration for WooCommerce Memberships & Subscriptions to the members account page and would like to know what the current best practice is for modifying files under kleo/lib/plugin-woocommerce/?

    It doesn’t appear that this function can be copied to the child-theme? Can I recreate this bit of code in my child-theme functions file and delete it from the core or does it need to be modified here?

    Thanks!

    #104651
     Laura
    Moderator

    Hello, you will need to hire a freelancer to do that, it involves theme files, and you should try to do the changes at the child theme.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #104790
     bkozlowski
    Participant

    Hi Laura, I can create the code myself and just wanted to know what the best practice for handling a function in the “lib” folder is?

    #104964
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #105608
     Andrei
    Moderator

    The best approach will be of deregistering “kleo_theme_functions” from the “after_setup_theme” hook, re-create the “kleo_theme_functions” function in your child theme but name it in other way and edit it’s require paths for loading your modified compatibility files and of course after that you’ll need to re-hook the new modified function.

    See the function details here: wp-content/themes/kleo/lib/theme-functions.php:220

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?