47 reputation
4
bio website
location
age
visits member for 2 years
seen Apr 30 '13 at 17:17

Jan
29
awarded  Tumbleweed
Nov
21
accepted Replace function in a child theme
Nov
20
comment Replace function in a child theme
Infact! Because the best way, always, is to make the functions pluggable.
Nov
20
comment Replace function in a child theme
Thank you, I was hoping that there was a method to do it, but the only way is to contaminate the parent theme or to replace a lot of files containing the function call in the child theme.
Nov
20
asked Replace function in a child theme
Jun
3
awarded  Supporter
Jun
3
accepted Code to make a post sticky
Jun
3
comment Code to make a post sticky
Thank you very much for the answer
Jun
2
asked Code to make a post sticky
Mar
24
awarded  Scholar
Mar
24
accepted Child Theme: how to override variables?
Mar
24
comment Child Theme: how to override variables?
Thank you for the answer. I've done as you suggested and it works: function the_theme_setup(){ global $app_rss_feed, $app_twitter_rss_feed, $app_forum_rss_feed; $app_rss_feed = 'xxx.rss'; $app_twitter_rss_feed = 'yyy.rss'; $app_forum_rss_feed = 'zzz.rss'; } add_action( 'after_setup_theme', 'the_theme_setup' ); Is it correct?
Mar
24
comment Child Theme: how to override variables?
the variables are outside any function. Are declared inside the functions.php of the theme.
Mar
23
awarded  Student
Mar
23
asked Child Theme: how to override variables?