• Resolved cableghost

    (@cableghost)


    For some reason, my post tile doesn’t appear in the title bar (see pic).

    I have tried placing code in header, but no louck (code below).

    <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
     elseif (is_single() ) { single_post_title(); }
     elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
     else { wp_title('',true); } ?></title>

    Any suggestions?

    -Scott

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’re ending the echo but not starting it again.

    You’re code for category (example)

    elseif ( is_category() ) {
    single_cat_title(); echo ' - ' ; bloginfo('name'); }

    Try this:

    elseif ( is_category() ) {
    single_cat_title(); echo ' - '; echo bloginfo('name'); }

    Thread Starter cableghost

    (@cableghost)

    Thanks, however, that did not change it. Should I completely delete the title code, I still get the quoted asterisk.

    I’m going to see if maybe it’s a plug-in…I’ll report back herein.

    -Scott

    Thread Starter cableghost

    (@cableghost)

    I made an adjustment to one plug-in and the title now appears in the title bar.

    Could you provide the name of the plug-in aswell ? Just for archive purpuses and for other people who have / will encouter this issue. ??

    Thread Starter cableghost

    (@cableghost)

    The plug-in was All in One SEO. I had to turn off the option to ‘Rewrite Titles’.

    With it turned on, I would only get my Blog’s title appearing. With it turned off, coincidentally, I get only my post title.

    This plug-in works correctly in another blog site of mine. Not certain if this is a security issue…such as, it can’t access the necessary header data or if there it is theme-related causing this quirk.

    -Scott

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post Title Blog Title’ is closed to new replies.