• Resolved valerama

    (@valerama)


    `<title><?php if (is_single() || is_page() || is_archive()) { wp_title(”,true); } else { bloginfo(‘name’); echo(‘ — ‘); bloginfo(‘description’); } ?></title>

    The way I read that code is based on the type of page (single, page, archive) it will insert the name (i.e., “home”) if it can’t find that info, it inserts my blog name — & blog description.

    What I *want* it to do is put the name then some sort of symbol (dash or whatever) and the blog name.

    So instead of getting <title>Home</title> in my <head> tags, I’d get
    <title>Home : : Virginia Beach Club Crawl</title>

    (I really hope I explained that correctly.)

    blog is at vbclubcrawl.com

Viewing 1 replies (of 1 total)
  • Thread Starter valerama

    (@valerama)

    Well, duh, after typing that out the code was really obvious:

    <title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true);echo(' — '); bloginfo('name'); } else { bloginfo('name'); echo(' — '); bloginfo('description'); } ?></title>

Viewing 1 replies (of 1 total)
  • The topic ‘< title > tag in head not performing the way I *think* it should’ is closed to new replies.