Display Yoast WordPress SEO title in archive template
Get Archive SEO titles If you defined a Custom Post Type archive title you can get that by: $titles = get_option( ‘wpseo_titles’ ); $title = $titles[‘title-ptarchive-POST_TYPE’]; echo apply_filters( ‘the_title’, $title ); Remember to replace POST_TYPE by your own Custom Post Type. To display all the wpseo_title variables, you can use: printf( ‘<pre>%s</pre>’, print_r( get_option( ‘wpseo_titles’ … Read more