Set default value for title tag if SEO title is empty
-
Hi all,
I am wondering if there’s a snippet available to detect if a page’s SEO title is empty?
Something like
if(Yoast_SEO_Title_is_Empty) <?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Set default value for title tag if SEO title is empty’ is closed to new replies.