All in One SEO Pack
[Problem:] Plugin add site title to page title (4 posts)

  1. karmalis
    Posted 5 years ago #

    On the current site we are developing, the ALL in One SEO pack somehow adds site_title to the %page_title%. Why? Is there a way to fix this? Can't seem to find any proper solution for this.

    An Example:

    Page Title Format:
    Exeter Golf and Country Club | %page_title%

    Exeter Golf and Country Club | LeisureExeter Golf and Country Club

    List of other plugins:

    • Breadcrumb NavXT
    • CMS Tree Page View
    • Custom Field Template
    • Dagon Design Sitemap Generator
    • Google XML Sitemaps
    • Magic-fields
    • NextGEN Gallery
    • PJW Mime Config
    • Redirection
  2. Michael Torbert
    WordPress Virtuoso
    Plugin Author

    Posted 5 years ago #

    Hi Karmalis,

    What theme are you using?

  3. PixelMonkey
    Posted 5 years ago #

    I had this same issue and traced it to a problem in functions.php.

    I was using Starkers 3.0 as the basis for the theme and also the functions.php file included with it.

    If you look in functions.php you will find a "twentyten_filter_wp_title" function. It appears that this functions file was based on one supplied with TwentyTen at some point (although the current 3.0.4 TwentyTen functions.php does not include this function).

    To cut to the chase, this function adds a filter to wp_title and, in doing so, appends the site name to the end of the title - among other possible actions.

    I simply commented out the "add_filter( 'wp_title'...)" line and that fixed the issue. I'm not sure if I broke anything else, so use this at your own risk.

    I hope this helps the next person who spends a chunk of their life tracking down the source of this problem.

  4. joker23
    Posted 5 years ago #

    PixelMonkey's solution worked for me (Thanks!)

    I just commented out the following line in functions.php and the blog title no longer shows up with the page title

    add_filter( 'wp_title', 'twentyten_filter_wp_title', 10, 2 );

    Also, my funtions.php was copied from TwentyTen.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic