Created
May 6, 2017 11:14
-
-
Save HoussenMoshine/16f64e3dc9173851aa37cb40189cd80f to your computer and use it in GitHub Desktop.
Code de Schema.org pour les champs personnalisés de Wordpress (le champ s'appelle schema)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Code Custom pour Schema.org --> | |
<?php | |
$schema = get_post_meta(get_the_ID(), 'schema', true); | |
if(!empty($schema)) { | |
echo $schema; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vous pouvez trouver un guide complet de Schema.org avec des exemples et conseils sur : https://housseniawriting.com/schema-org/guide-schema-org/