how to output yoast meta descriptions?

[ad_1]

in my header.php the titles are showing up fine and the code is

`<meta name=”title” content=”<? echo get_post_meta($post->ID, ‘_yoast_wpseo_metadesc’, true); ?>”/>`

what’s the equivalent for yoast meta descriptions?

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer