I installed this cool All in One SEO Pack plugin but I noticed the rendered header tags has two entries for meta description and meta keywords. If you haven’t moved your tags in the header template, those are the first meta pair from your current theme. The other two were generated by the All in One SEO Pack plugin.
To keep this from duplicating, which I’m not sure if having two versions of these metas is good or bad, I added condition in my header template to disable the static metas from my current theme.
1 2 3 4 5 6 7 8 9 | <?php if (!class_exists("All_in_One_SEO_Pack")) { # move these metas here ?> <meta name="keywords" content="......" /> <meta name="description" content="......"/> <?php } ?> |
And if you deactivate the plugin, these hardcoded metas from your plugin will work instead.