My theme has got soft rejected for few reasons and one of the reason is “Meta tags in head tag is a plugin territory.”
I had this hard coded in the header.php and I’m not sure of a way of implementing this for every page without using a plugin. Can anyone put some light on this issue for me please? or would it be smart to recommend a plugin using TGM plugin activation way?
Can you show me some example?
The meta tags are like:
< meta name=“description” content="">
< meta name=“keywords” content="">
< meta name=“author” content="">
< meta http-equiv=“refresh” content="" />
< meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
But these obviously not are plugin territory and must stay in the head. So I think I not understood what the reviewer is asking…
Anyway this is the head of my theme, and it has been accepted:
BTW these are hard coded by me and reviewer want me to delete it:
< meta name=“description” content=“”>
< meta name=“keywords” content=“”>
< meta name=“author” content=“”>
If I delete that then do I have to add any SEO plugin to TGM?
meta tags are plugin territory, they aren’t design related, they are a function / feature, so either remove them and leave them upto the user to install their own seo plugin (yoast, AIO etc) or create your own simple plugin.
I personally would recommend installing a plugin such as yoast as it’s constantly updated, does much more than the default meta tags (facebook, twitter sharing etc). Don’t reinvent the wheel