Repair WordPress noble baby rich web page summary error

              recently when using noble baby rich web page summary test tools, found for the default WordPress blog, there are always three error information, today I will introduce how to modify the WordPress template file to repair these error messages.

Warning: Missing required field " updated".

for updated error message modification method is:

Warning: Missing required field " entry-title".

) ;

error message content is:

Warning: Missing required hCard " author".

open the single.php file, find the < PHP (the_author);;?? > a line, change it to < span class=" vCard author" > < span class=" fn" > < the_author (PHP?); > < /span>? > & lt;

for entry-title error message modification method is:

open the single.php file, find the < PHP (the_date);;?? > a line, change it to < div class=" date updated" > < PHP? The_time (‘F S Y’); > < /div>?

open the single.php file, find a similar < h1> < the_title (PHP?); > < /h1>? Line, change it to < H1 class=" Title entry-title" > < the_title (PHP?); > < /h1>? (some template is H2 or other

for author error message modification method is:


Leave a Reply

Your email address will not be published. Required fields are marked *

*
*