Forums

Custom Title Tags For Pages? (4 posts)

  1. elbalazo
    Member
    Posted 2 years ago #

    Hi, I turned WordPress into a nifty CMS for a project, and I am trying to find a way that I can create <title> tags for my (non blog-post) pages.
    I tried using the SEO Title Tags plugin, but it only seems to be useful for posts.

    Does anyone have any recommendations?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try something like:

    <title><?php if( is_page() ) { wp_title(':',true,'right');bloginfo('name'); };?></title?

    in header.php.

  3. elbalazo
    Member
    Posted 2 years ago #

    Thanks! I'll give it a try.

  4. elbalazo
    Member
    Posted 2 years ago #

    It looks like it just does the page title and blog title.
    How could I make a custom field to edit the title tag?

Topic Closed

This topic has been closed to new replies.

About this Topic