Using php to overwrite or replace title tag, while using Yoast

Posted by Prem Tiwari | Updated on

Using php to overwrite or replace title tag, while using Yoast. The WPSEO plugin by Yoast has a filter for the title: ‘wpseo_title’. You’ll need to add something like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers