Forums

[Plugin: All in One SEO Pack] adding my own title/meta tags by template files (1 post)

  1. diondev
    Member
    Posted 2 years ago #

    how do i change the title/meta tags of the page via code when using all in one SEO?

    for example, in the header, lets say I want to use this code:

    if (is_page(11))
    {
    echo '<title>NEW TITLE HERE</title>';
    echo '<meta name="description">NEW DESC HERE</meta>';
    }
    else
    {
    wp_title();
    }

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

Topic Closed

This topic has been closed to new replies.

About this Topic