Modifying a function of a Theme
-
I want to rewrite the next function of a Theme:
function widget( $args, $instance )
The function is originaly located in:
wp-content/themes/attitude/library/widgets/attitude_widgets.php
I create a Child Theme and I wrote functions.php with a function called “widget” (with differente code of the original) but WP execute the function of the father theme and not execute the function of the child theme.
Does anybody know how to do that in the right way? A real example using a function with parameters will be appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Modifying a function of a Theme’ is closed to new replies.