WordPress4.4でタイトルタグのセパレータが' - 'になったのを' | 'に戻す
<?php | |
//コピペするなら3行目から↓ | |
function mypace_custom_title_separator( $sep ){ | |
$sep = '|'; | |
return $sep; | |
} | |
add_filter( 'document_title_separator', 'mypace_custom_title_separator', 10, 2 ); //フィルターフックで処理を上書き |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment