I have created a Yoast description template (%%excerpt%%) that should autogenerate the meta description for pages/posts. This doesn’t appear to be working on four sites. I tested creating a post without Avia Builder and Yoast correctly generated the meta description tag based on it’s template
Yoast 5.6.1
Enfold 4.1.2
I have disabled Varnish on the server and removed W3TC to rule out any caching issues
This appears to be an Issue with the Enfold child-theme. I switched to twentysixteen and switched to enfold and the description tag appeared. So it only affects the child-theme
Hey themepack,
So it doesn’t work when you are using the Layout Builder? If so that is as expected, you will have to set the excerpt manually for each post. If you don’t see the excerpt field then please select to show it in the Screen Options panel in the top right hand corner of the screen.
Best regards,
Rikard
For anyone else looking at this, you’ll need to add the following into your child theme functions.php to enable the excerpt on ‘pages’
add_post_type_support( 'page', 'excerpt' );
It looks like Yoast still won’t autogenerate a description but at least if provides an opportunity to have some control over the description metadata.
Rikard, I don’t understand why using the layout builder won’t autotgenerate the description? Is it because Yoast can’t scan shortcodes?