mabuc said
I always get this warning message everytime I check my theme…WARNING: Found wrong tag, remove premium from your style.css header.and if I remove the entire tag it saysRECOMMENDED: Tags: is either empty or missing in style.css header.is this ignorable also?..
How do you handle this theme check plugin message… anyone?
- Envato Staff
- Australia
- Has been a member for 4-5 years
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Sold between 100 and 1 000 dollars
- Bought between 10 and 49 items
- Referred between 1 and 9 users
- Reviewer
mabuc said
mabuc saidHow do you handle this theme check plugin message… anyone?
I always get this warning message everytime I check my theme…WARNING: Found wrong tag, remove premium from your style.css header.and if I remove the entire tag it saysRECOMMENDED: Tags: is either empty or missing in style.css header.is this ignorable also?..
Hello Mabuc, I replied to the other thread you asked this in. Please try not to dredge up multiple old threads with the same request though 
Japh said
mabuc saidHello Mabuc, I replied to the other thread you asked this in. Please try not to dredge up multiple old threads with the same request though
mabuc saidHow do you handle this theme check plugin message… anyone?
I always get this warning message everytime I check my theme…WARNING: Found wrong tag, remove premium from your style.css header.and if I remove the entire tag it saysRECOMMENDED: Tags: is either empty or missing in style.css header.is this ignorable also?..![]()
japh, they are not the same… this problem is for css tags in style.css and the other one is the the_tags.. thanks for the response… sorry about that..
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
mabuc said
mabuc saidHow do you handle this theme check plugin message… anyone?
I always get this warning message everytime I check my theme…WARNING: Found wrong tag, remove premium from your style.css header.and if I remove the entire tag it saysRECOMMENDED: Tags: is either empty or missing in style.css header.is this ignorable also?..
There are only specific “whitelisted” tags that you can use. Anything not explicitly allowed will cause that error. Personally, I just copy all the tags from TwentyEleven and remove the irrelevant ones to avoid the error.
I’m not sure if there is a published list of valid tags, but I expect there must be an array of them in the plugin code that you could reference.
sevenspark said
mabuc said
mabuc saidHow do you handle this theme check plugin message… anyone?
I always get this warning message everytime I check my theme…WARNING: Found wrong tag, remove premium from your style.css header.and if I remove the entire tag it saysRECOMMENDED: Tags: is either empty or missing in style.css header.is this ignorable also?..There are only specific “whitelisted” tags that you can use. Anything not explicitly allowed will cause that error. Personally, I just copy all the tags from TwentyEleven and remove the irrelevant ones to avoid the error.
I’m not sure if there is a published list of valid tags, but I expect there must be an array of them in the plugin code that you could reference.
yeah.. that’s what I did and errors are gone.. thanks
One more question from me.
INFO: template-blog.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Line 60: include(SMARTIK_INCLUDES . 'template-blog1.php'); Line 63: include(SMARTIK_INCLUDES . 'template-blog2.php'); Line 66: include(SMARTIK_INCLUDES . 'template-blog3.php');
Should I use “get_template_part()” instead of “include”?
Thanks.
Smartik said
One more question from me.INFO: template-blog.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Line 60: include(SMARTIK_INCLUDES . 'template-blog1.php'); Line 63: include(SMARTIK_INCLUDES . 'template-blog2.php'); Line 66: include(SMARTIK_INCLUDES . 'template-blog3.php');Should I use “get_template_part()” instead of “include”?
Thanks.
yes sir…
mabuc said
Smartik saidyes sir…
One more question from me.INFO: template-blog.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Line 60: include(SMARTIK_INCLUDES . 'template-blog1.php'); Line 63: include(SMARTIK_INCLUDES . 'template-blog2.php'); Line 66: include(SMARTIK_INCLUDES . 'template-blog3.php');Should I use “get_template_part()” instead of “include”?
Thanks.
not in all cases (for me) – If the file that you want to include is a part of the theme layout, use get_template_part() – but for function files use include()
