• cosmictap

    (@cosmictap)


    Just installed this – what a great plugin.

    I don’t see a way in the options for “titles” to utilize the “description” from a media/gallery item in the attachment page title. Is there?

    I’d like the meta description for each attachment page to pull from the attachment’s “description” field, as weird as that may sound. 😉

    Thank you!

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Thread Starter cosmictap

    (@cosmictap)

    For others who may want to do this, I have found apparent success by adding this line:

    '%%att_desc%%' => $r->post_content,

    to the end of the

    $replacements = array(

    function in wpseo-functions.php.

    (And then, of course, using the %%att_desc%% variable appropriately in the SEO title options.)

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Attachment description in title tag?’ is closed to new replies.