I overwrote twenty nineteen theme in WordPress and included all my templates. After that, I installed the Yoast SEO plugin to add dynamic meta tags to pages created using custom templates. I have common header.php and have included it in all templates. Now I want to show Yoast SEO meta tags in all custom template pages. How to do it?
Originally asked by Murtaza Bharmal on Stack Exchange (wordpress) (CC BY-SA 4.0).