Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress reposting blog title instead of post title.

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36648
    jbope
    Participant

    I have the permalinks set to default. Is that why our advertising guy is saying…

    “All of the blogs read as AOC Articles (blog title) as the headline instead of the post title when we repost.”

    #96667
    TheDoc
    Member

    Don’t really understand your question, but it sounds like he’s referring to the < title> tag and not that actual title that renders in the < h1> on the page.

    #96682
    jbope
    Participant

    Yeah I was afraid that might be difficult to understand but wasn’t sure how to say it.

    The ad firm is trying to repost an article from our site and when he does so the title of the repost is our blog title not the post title. We would like it to be the post title.

    I am including a link to a graphic that he sent showing the article from AOC (our company) and several others. Ours says “AOC – Arcticles” instead of “MRI Cross Sections of Leg Muscles. Interesting & Eye Opening.” Again, the blog title instead of the post title.

    I am hoping this is more clear.

    Graphic:
    http://alortho.com/screen.png

    Blog:
    http://www.alortho.com/articles/

    #96683
    jbope
    Participant
    #96690
    TheDoc
    Member

    Something close to that, yea. Here’s something that I did on a recent site:

    <?php<br />
    <br />
    if (is_front_page()   ) { bloginfo('name'); }<br />
    elseif (is_category() ) { single_cat_title(); echo ' | '; bloginfo('name'); }<br />
    elseif (is_single()   ) { single_post_title(); echo ' | '; bloginfo('name');}<br />
    elseif (is_page()     ) { single_post_title(); echo ' | '; bloginfo('name');}<br />
    elseif (is_404()      ) { echo 'Oops, Page Not Found | '; bloginfo('name');}<br />
    else { bloginfo('name'); }<br />
    <br />
    ?>
    #97007
    visio
    Member
    <br />
    <?php if ( is_tag() ) {<br />
    echo __('Tag Archive for "','mazine').$tag.'" | '; bloginfo( 'name' );<br />
    } elseif ( is_archive() ) {<br />
    wp_title(); echo __(' Archive | ','mazine'); bloginfo( 'name' );<br />
    } elseif ( is_search() ) {<br />
    echo __('Search for "','mazine').wp_specialchars($s).'" | '; bloginfo( 'name' );<br />
    } elseif ( is_home() ) {<br />
    bloginfo( 'name' ); echo ' | '; bloginfo( 'description' );<br />
    }  elseif ( is_404() ) {<br />
    echo __('Error 404 Not Found | ','mazine'); bloginfo( 'name' );<br />
    } else {<br />
    echo wp_title( ' | ', false, right ); bloginfo( 'name' );<br />
    } ?><br />
    

    Just copy and paste it on your header.php file in head section.

    #97842
    jbope
    Participant

    Thanks guys. Worked great!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Back End’ is closed to new topics and replies.