• dakrisht

    (@dakrisht)


    Hey everyone,

    My page appears as “name of post (i entered in headspace)…”

    It does NOT include the title of the page in the search engine preceded by the ” | ” symbol…

    What do I need to do to simply have a post displayed as follows:

    ” Name of the post here | title of the blog there”

    I’m using headspace2 for meta…

    Please help… Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dakrisht

    (@dakrisht)

    I’d like to clarify a few things and hope to get some help from pro’s here…

    Here is what I want to achieve:

    ” name of my post goes here | name of the site goes here “

    I would also like to remove the text that is located above the banner on my page. This is the text I have entered under Settings -> General… I would still like for the TITLE of the blog to remain in the meta but I do not want to see the text above the banner…

    here’s the site, https://www.atomicsub.net… any help is GREATLY appreciated…

    thisisedie

    (@thisisedie)

    As for the title… in the header.php of your theme change the title tag to this:

    <title><?php wp_title('|',true,'right'); ?><?php bloginfo('name'); ?></title>

    To get rid of the text title above your banner look for something like:

    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

    also in the header.php and remove it.

    Thread Starter dakrisht

    (@dakrisht)

    Hey, thanks a lot for that. Seems to have done the trick but I’m still getting a dash (-) after the “|”

    Here’s that line of code from the header.php file:

    <title><?php wp_title('|', true, 'right'); ?> <?php if(wp_title(' ', false)) { echo '–'; } ?> <?php bloginfo('name'); ?></title>

    headspace2 is active but I have only entered the Blog Title in the Settings -> General menu.

    thisisedie

    (@thisisedie)

    Well obviously this:

    { echo '–'; }

    is adding the dash. If you use exactly what I posted it will work like you want. And again, if you want to remove the text title from above your banner you need to remove the tag that creates it from the header file.

    Thread Starter dakrisht

    (@dakrisht)

    Thanks, thisisedie.

    I really appreciate your help.

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