• Resolved jjjrrr

    (@jjjrrr)


    Is it possible to manually write the meta description, Facebook description and Twitter card description for author archive pages?

    I haven’t found a way to do this and do want to be optimizing these pages as our authors are well known – ranking for their name can help us with traffic.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    TSF takes the “Biographical Info” input and turns that into an excerpt via its description generator. It can create separated meta descriptions, OG descriptions, and Twitter Card descriptions via that input for you.

    You’re the first in many years with this particular request. It’s not common users want to optimize the author pages–maybe because it’s often overlooked. Whatever the case may be, I’ve escalated your request at GitHub, and I’ll look at implementing fields in a future update: https://github.com/sybrew/the-seo-framework/issues/515.

    If you want more control over it right now, then I suggest using this filter:

    add_filter( 'the_seo_framework_generated_description', function( $desc, $args ) {
    
    	if ( is_author( 'author_slug' ) ) {
    		$desc = '';
    	}
    	
    	return $desc;
    }, 10, 2 );

    Cheers ??

    Thread Starter jjjrrr

    (@jjjrrr)

    Hi Sybre, thank you for your quick reply, the workaround and for considering it as a future feature!

    Stay safe and all the best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author Archive Meta & OG Descriptions’ is closed to new replies.