Tagged: schema.org, testimonials
Hi Guys
I wonder if you could help me please since the schema data on testimonials has been added I can no longer validate my website (w3c) I wonder if you can help me remove that schema data thats been added.
Its only a personal blog I use for university so I’m not that bothered about the schema data, the priority is w3c validation as its a major criterion for hosting on campus.
Many Thanks
Jonathan Lawton
Can anyone else help with this query its v 2.3.2
The error I receive is Attribute xmlns:v not allowed here.
I know its because HTML 5 format hasn’t been agreed but I cant host my website at Uni without being w3c valid.
Its the only error stopping me now.
Hi!
Create a backup of your theme files and database. If you’re using Notepad++ or Dreamweaver click CTRL + F to open the search panel then look for “xmlns” and click Find All. You can remove those if you want specifically the one on config-templatebuilder > avia-shortcodes > testimonials.php, find this code:
if(avia_sc_testimonial::$counter == 1)
{
$output .= "<section class ='avia-testimonial-row' xmlns:v='http://rdf.data-vocabulary.org/#' typeof='v:Person' $markup>";
}
Replace it with:
if(avia_sc_testimonial::$counter == 1)
{
$output .= "<section class ='avia-testimonial-row' typeof='v:Person' $markup>";
}
Recreate the testimonial page.
Best regards,
Ismael
Thanks, Works Great.