I'm trying to override a function or two (mainly the post_info) and I'm trying to figure out how to do it exactly. I've looked up some examples, but it looks like you included some code to help out. So do I still have to remove the function in my functions.php and then re-state it? or can I just state the function and it will override? I saw some discussion of this on another theme's discussions, but I wasn't totally following.
Comments
I'm holding with answer for this one cause I'm not sure how to overwrite single function as these are mostly methods of
class Apollo13
. Anyway this code is for children theme purpose.You don't have to delete anything from parent theme you just should create
function lets_play_apollo_game
in functions.php in child theme and then parent theme function will not fire. But I'm afraid that you will have to copy whole advance directory to child theme.I will check how to do it soon and then post it and write about it in documentation.
With regards.
Damn, I saw other Pro themes are using same technique, but it is kind of smelly when I think about it now;-) I must read more about this. Anyway I will try deploy sample child theme today. Maybe in next version I will decide to rewrite whole Apollo13 class to functions.
With regards.