the theme only passed the google snippet test for single post/page, not homepage.
and so?? I will have this errors forever?
are you sure about the 300+ error, cause doing test on google snippet, it only show less than 30. the webmaster tools might haven’t updated yet.
fix the 30 ‘wphentry’ error, open lib/functions/theme-functions.php edit line 1061
<a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a>
remove the ‘n’. this should be added in v1.6.5 for release in future.
I have done this:
%3$s
to
%3$s
but when I open my site there is an error:
Parse error: syntax error, unexptecetd T_CONSTANT_ENCAPSED_STRING, exptecting’)’ in/ /web/htdocs/www.ecolibero.it/home/wordpress/wp-content/themes/mesocolumn/lib/functions/theme-functions.php.
I have restored all
all you have to do is remove the ‘n’ from ‘url fn n’ and it will become ‘url fn’..don’t think that one edit could cause error. did you accidentally remove the quote also, don’t.
I have done this:
‘%3$s‘
to
‘%3$s‘
but when I open my site there is an error:
Parse error: syntax error, unexptecetd T_CONSTANT_ENCAPSED_STRING, exptecting’)’ in/ /web/htdocs/www.ecolibero.it/home/wordpress/wp-content/themes/mesocolumn/lib/functions/theme-functions.php.
I don’t know why this post doesn’t show the code but I have done this:
a class=”url fn” href=”%1$s” title=”%2$s” rel=”author”>%3$s</a
from
a class=”url fn n” href=”%1$s” title=”%2$s” rel=”author”>%3$s</a
to
a class=”url fn” href=”%1$s” title=”%2$s” rel=”author”>%3$s</a
and when save and open the home page, show this error: Parse error: syntax error, unexptecetd T_CONSTANT_ENCAPSED_STRING, exptecting’)’ in/ /web/htdocs/www.ecolibero.it/home/wordpress/wp-content/themes/mesocolumn/lib/functions/theme-functions.php.
Luckly I have saved a copy of original file because when I have restored that string, the error wasn’t fixed.
that’s odd, removing one simple ‘n’ shouldn’t cause this. is it the save format error? try use other php file editor. *backup first
Hi…I have edited the file with notepad++ and it works..I will wait the results. Thank you
the testing tools https://developers.google.com/structured-data/testing-tool/
still see the ‘n’ markup. did you clear the cache after edits?
How I can clear the site caches? And when will do the theme udaptes?
do you have wp super cache or wtc3 cache wp plugin install?
clear the cache in the plugin settings.
@update
will be a while, since repo new rule on adding ‘customizer’ is not something easy to apply.
yes, I have installed w3tc yesterday..I will try..thank you