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 says
RECOMMENDED: Tags: is either empty or missing in style.css header.
is this ignorable also?..
How do you handle this theme check plugin message… anyone?
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.
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 says
RECOMMENDED: Tags: is either empty or missing in style.css header.
is this ignorable also?..
How do you handle this theme check plugin message… anyone?
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
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”?
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”?
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…
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()