• Resolved goldmember

    (@goldmember)


    how do i remove the Blog title from the end of the page titles?

    for instance, on this page (https://advancedairanalysis.com/), the title reads “Asbestos, Lead, Mold Cleanup Services in Maryland from Advanced Air Analysis | Advanced Air Analysis”

    I want to remove “| Advanced Air Analysis” from the end of it.

    The first part “Asbestos, Lead, Mold Cleanup Services in Maryland from Advanced Air Analysis” comes from the Title custom field I type in, which feeds the Platinum SEO plugin.

    here’s the code from my header.php file: <title><?php wp_title(' '); ?><?php if(wp_title(' ', false)) { ?> at <?php } ?><?php bloginfo('name'); ?></title>

    please advise what i need to edit to make this happen??? thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have a similar problem – I would like to remove all “bloggy” content (title, sidebar, comment etc”) from custom pages (not posts), as this would make WP more like a CMS too, which would be cool.

    @ goldmember

    The title of your blog is displayed with the <?php bloginfo(‘name’); ?> template tag.

    So just remove it in your <title>

    You’ll probably just need to use :

    <title><?php wp_title(); ?></title>

    …But, if you want an advice… I would suggest to use the blog name in your title, or at least something to indentify your site clearly on any post or page.

    S.

    Thread Starter goldmember

    (@goldmember)

    thanks, but that did not work. any other ideas?

    Hum… It should work… ??

    But well, I found your problem. ??

    Your title is always replaced by the platinum seo pack, wathever you have in your header.php, it will be replaced.

    I don’t have this plugin installed, so I don’t know if there is an option to disable this feature. But your problem is there… The platinum seo pack bypass your template tag in your <title> to write his own title for search engine optimization.

    S.

    Ok… I found your solution

    Look in your Platinum SEO settings in your admin panel.

    There is a list of title format to use for post, pages, category, etc…

    You can either disable all the title rewriting by unchecking the box for “rewrite title”

    Or you can edit the fields where you see :

    %post_title% | %blog_title%

    Just remove the “| %blog_title%” where you don’t want it to be displayed.

    @+

    S.

    Thread Starter goldmember

    (@goldmember)

    thanks simon!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘remove Blog title from page titles’ is closed to new replies.