Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to add certain files from libs folder to child theme

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 4 months ago.

  • Author
  • #108364


    How to add these files in child theme:



    – You need dequeue the script and enqueue again: see these instructions and

    enqueue of the file happens in css_js_include.php

    for the files in lib folder you don’t need to override- just need to redeclare the functions

    all the functions in there should begin with something like

    if( !function_exists('wpestate_create_property_type') ):

    That means if you declare the function in child theme wordpress will not consider the re declaration on the core theme and will consider only the function in the child theme.

    Put the new functions in functions.php in child theme (functions.php does not over write the original functions.php – but he will be append to it.)


    EXTRA HELP ––wp-31006

    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 3 months ago by  Anna.

You must be logged in to reply to this topic.