Is this OK for my function.php?
-
I wonder if someone might be good enough to just check this bit of code. It works OK so that might mean I’m on the right track. All I am trying to do, in my child theme is use a theme specific hook to add some HTML.
function bts_social_share() { if(!is_feed() && !is_home()) { include_once( 'social-share.php' ); } } add_action ('reactor_post_footer', 'bts_social_share');
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is this OK for my function.php?’ is closed to new replies.