Forked from dattard21/gist:7b99a3b4410a9aed173e8b7f2ac43578
Created
October 6, 2016 06:51
-
-
Save prajwal-stha/1a0aeead3e5645300252ea7d08dc6eef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add_opengraph_doctype($output) { | |
return $output . ' | |
xmlns="https://www.w3.org/1999/xhtml" | |
xmlns:og="https://ogp.me/ns#" | |
xmlns:fb="http://www.facebook.com/2008/fbml"'; | |
} | |
add_filter('language_attributes', 'add_opengraph_doctype'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment