J'essaie d'appliquer un balisage structuré à un événement TheatreEvent. Heres le code, je travaille avec:Schéma du balisage structuré
<!-- MAIN CONTENT -->
<div class="container" itemscope itemtype="http://schema.org/TheaterEvent">
<div class="col-md-3">
<div class="event-details">
<h3>Event Info</h3>
<p itemprop="startDate"><strong>Date: </strong><?php the_field('date_of_event'); ?></p>
<p itemprop="doorTime"><strong>Time: </strong><?php the_field('start_time'); ?> – <?php the_field('end_time'); ?></p>
<p><strong>Price: </strong><?php the_field('price'); ?></p>
<p><strong>Venue: </strong><?php the_field('venue'); ?></p>
</div>
<div class="book-event-button">
<a href="<?php the_field('button_link'); ?>" target="_blank" class="btn btn-plum btn-lg btn-event" role="button"><?php the_field('button_text');?></a>
</div>
<div class="book-event-button" style="margin-top:20px;">
<a href="<?php the_field('event_pack_upload'); ?>" target="_blank" class="btn btn-teal btn-lg btn-event" role="button"><?php the_field('event_pack_button_text');?></a>
</div>
<div class="book-event-button" style="margin-top:20px;">
<a href="<?php bloginfo('url'); ?>/youth-community/support-us/events/tips-tools/" target="_blank" class="btn btn-plum btn-lg btn-event" role="button">TIPS AND TOOLS</a>
</div>
</div>
<div class="col-md-9">
<div class="page-header">
<h1 itemprop="name"><?php the_title(); ?></h1>
<p itemprop="description"><?php the_field('event_description'); ?></p>
</div>
</div>
</div>
Vous pouvez voir que j'ai essayé d'ajouter le balisage en utilisant itemtype et itemprop etc ... mais je vois beaucoup d'erreurs dans le vérificateur Google: https://search.google.com/structured-data/testing-tool
La page est ici: https://www.leicesterymca.co.uk/show/?showid=b74e95df-58f7-e611-80d7-00505601004c et je me demandais est l'information qui se propage sur deux DIVs était un problème ...
Toute indication serait grandement appréciée.