WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Need help getting this plug in to play nice with my theme. (2 posts)

  1. rick4him
    Member
    Posted 2 years ago #

    This plug in duplicates a lot of the functions of my theme, and is duplicating a lot of info my header. I'm having a hard time understanding what is being duplicated and how the make it 'play nice.' I need to have the plug in running to keep all of my custom meta descriptions, meta titles, etc. but I need to find a way to tell the plug in not to duplicate certain data like all the lines of code in the header that is a duplicated.

    I"m including some of the header code so you can see what is being duplicated. Can anyone please chime in and let me know what the best way to handle this is? Thanks.
    [Code moderated as per the Forum Rules. Please use the pastebin]

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

  2. SuperFastCars
    Member
    Posted 2 years ago #

    I was having issues with the title for my wordpress pages being duplicated, so I modified my <title> tag in my headers.php file;

    <title>
    <?php
    if(is_home() || is_front_page()) {
    echo bloginfo("name") . ' | ' . bloginfo("description");
    } else {
    echo wp_title('', true, 'right'); } ?>
    </title>

    In the following file;
    /wp-content/themes/(your selected theme)/headers.php

    Try this yet? :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic