Created
March 6, 2020 18:37
-
-
Save kaoru-fukusato/44c991a26df841cb8ce1eeb23116656f to your computer and use it in GitHub Desktop.
functions.phpからhead内にタグを追加する方法【WordPress】
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
//headにタグを追加 | |
add_action( 'wp_head', 'add_meta_to_head' ); | |
function add_meta_to_head() { | |
echo 'ここにhead内に出力したい内容'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment