To get the title tag inside a template file like header.php, just echo this native WordPress function:
wp_get_document_title();
Simple isn’t it?
To get the title tag inside a template file like header.php, just echo this native WordPress function:
wp_get_document_title();
Simple isn’t it?
SUBSCRIBE to receive SEO news & exclusive deals!