Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<script type="application/ld+json">
"@id":"<?php bbp_reply_id(); ?>",
"datePublished":"<?php the_time('c'); ?>",
"headline":"<?php bbp_topic_title(); ?>",
"articleSection":"<?php bbp_forum_title(); ?>",
"articleBody":"<?php echo wp_strip_all_tags( get_the_content() ); ?>",
"author": {
"@type": "Person",
"name": "<?php the_author(); ?>"
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "",
"userInteractionCount": "<?php bbp_topic_reply_count() ?>"

This comment has been minimized.

Copy link
Owner Author

@HoussenMoshine HoussenMoshine commented Nov 17, 2017

Un exemple de code pour utiliser la balise DiscussionForumPosting de pour ajouter des données structurées à un forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment