Replace messy function_exists() calls with nicer do_action() hooks in content-single.php