WordPress.org

Support

Support » Plugins and Hacks » All in One SEO Pack » Title rewrite function

Title rewrite function

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Peter Baylies

    @pbaylies

    DavidKristin,

    Yes, All in One SEO Pack has a filter for this called aioseop_title to allow you to manipulate this, and also has a number of functions that it uses within the All_in_One_SEO_Pack class, which you can find in aioseop_class.php in the plugin.

    Sorry, I’m the beginner. Can you help me with the code implementation to the template?

    I tried put <?php get_aioseop_title() ?> between title tag in header.php and it doesn’t work. I want to use AIO SEO function instead of wp_title(), because I have problems with template.

    Plugin Contributor Peter Baylies

    @pbaylies

    DavidKristin,

    The easiest thing to do here is to just use All in One SEO Pack to rewrite your titles for you; it will do this using output buffering, or, if you turn Force Rewrites off in Performance, then it will do it via the wp_title filter. Be careful if you make your theme dependent on a plugin (or vice versa) – if not done right that can cause problems if later that plugin got deactivated (or your theme got switched).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Title rewrite function’ is closed to new replies.
Skip to toolbar