Double schema.org metatags?
-
Hi George,
If you would please have a look at this post: https://taijiquan.pro.br/estilo-chen/segredo-taijiquan/
Schema.org tags are on. In my site, all commenting is off, and the comment template is not displayed. However, every now and then i get some good questions by email, and i publish them with answers, as comments. I use a custom field to store them, and i disply them through a simple call after the_content(), ike this:
<div class="entry-content"> <?php the_content(); ?> <?php $curated = get_post_meta($post->ID, 'curated_comments', true); if ($curated) echo apply_filters('the_content', $curated); ?>
I don’t know if this is a feature or a bug, but it looks like Add Meta Tags is inserting the schema.org tags twice: once where it should, and once before the custom field content (the comments).
If it’s a bug, is there a way to work around it? (just ocurred to me that it could be the apply_filters call).Thank you,
Eduardo
- The topic ‘Double schema.org metatags?’ is closed to new replies.