• Resolved davidpayne

    (@davidpayne)


    When clicking on a tag or category link and going into archives the header states “You are browsing the archives for “tag or category” – Physician-Assistant-ED. (Note: Physician-Assistant-ED is the name of my site)

    The background code on the archive.php file is:

    <h3 class="pagetitle"><?php printf( __( 'You are browsing the archive for %1$s.', 'buddypress' ), wp_title( false, false ) ); ?></h3>

    How do I get rid of the “- Physician-Assistant-ED” text? I tried going into the “titles” section of the SEO plugin admin area and clearing all necessary areas. This didn’t work. The only thing that works is to deactivate the plugin.

    Please help!

    Dave

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Joost de Valk

    (@joostdevalk)

    It’s just a wrong use of wp_title, use get_the_title instead.

    Thread Starter davidpayne

    (@davidpayne)

    I tried replacing wp_title with get_the_title and what it ends up doing is putting in the title of the last post that was assigned that category instead of the actual name of the category. Thoughts?

    Does it make a difference that this is a custom taxonomy?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Archives Header Manipulation’ is closed to new replies.