Single Custom Template Yoast OG Tags Drop Off
-
Our site uses a single-portfolio.php template which was outputting full Open Graph tags from Yoast without issue.
Just recently it’s no longer working. Other templates on the site are not having this issue. The output is showing like this:
<!– This site is optimized with the Yoast WordPress SEO plugin v2.1.1 – https://yoast.com/wordpress/plugins/seo/ –>
<meta name=”description” content=”Our Description Here”/>
<link rel=”canonical” href=”https://oursite.com/portfolio/projectname/” />
<script type=’application/ld+json’>{“@context”:”http:\/\/schema.org”,”@type”:”WebSite”,”url”:”http:\/\/oursite.com\/”,”name”:”Site Name”}</script>
<!– / Yoast WordPress SEO plugin. –>That’s it. I’ve disabled all plugins with no resolution. It’s particularly perplexing as it was working.
- The topic ‘Single Custom Template Yoast OG Tags Drop Off’ is closed to new replies.