WordPress.org

Ready to get started?Download WordPress

Forums

How to override the entire parent theme functions.php with the child-theme (1 post)

  1. ketri
    Member
    Posted 1 year ago #

    Hello!
    Is there a way to not use any of the parent-theme's functions but only use the functions declared in child theme's functions.php?

    Also, how could I override a spesific function from parent theme's functions.php? For example I have this piece of code in my parent theme's functions.php

    function et_epanel_custom_colors_css(){
    	global $shortname; ?>
    
    	<style type="text/css">
    style-stuff here....

    And I would like to declare in my child-theme's functions.php not to use it.

    Thank you very much for your time.

Topic Closed

This topic has been closed to new replies.

About this Topic