Can you provide me with functions.php?


  • Member
    edwardbrouwer
    November 5, 2018 at 1:51 pm #6626

    I tried to modify functions.php by TravelWP dashboard (Weergave/Editor) to add:
    // remove ratting
    function remove_rating_child_theme() {
    remove_action( ‘woocommerce_item_rating’, ‘woocommerce_template_loop_rating’, 5 );
    }
    add_action( ‘init’, ‘remove_rating_child_theme’, 15 );

    But as mentioned by you to save the original first I was stuborn and didn’t save the file prior to modification. When I started the site it was empty. Now I FTP’ed the file to my lapotop and see and behold it’s empty!

    So can you pls provide me the original functions.php code for TravelWP?

    Wkr, Edward

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.