• Page >> Title – Heading | Separators
    ———————————————————————-
    I’m reworking my http titles. I want to change my heading separators but I do not know where to begin.

    Can anyone help?

    I’m working on INOVE theme which is good. But I’d like to add that extra bit of personalisation. i hope i’m not the only anal retentive person out there who want to be able to change this >> to | or this * or ?, anything.

Viewing 4 replies - 1 through 4 (of 4 total)
  • put your header.php code here and I will make the modification for you

    Find <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> in templates/start.php file.
    Change it to <title><?php wp_title(' | '); bloginfo('name'); ?></title> and you can change ‘ | ‘ to another string to separator.

    Thread Starter spartan-safety-ltd

    (@spartan-safety-ltd)

    Thanks MG12,
    You pointed me in the right direction. I have been stuck for days.
    my progress

    <title><?php wp_title(‘ | ‘); bloginfo(‘name’); ?></title>

    works but produces |categoryblogname

    <title><?php wp_title(‘ ‘) ; ?> | <?php bloginfo(‘name’); ?></title>

    gives me category | blog name

    but also give me on home page | blog name

    If I new where the >> came from in the first instance, I could control it.
    It always seem to default to the left of category.

    I see this on the www.ads-software.com site. I think I need to look a bit deeper.

    Thanks again mg12

    Thread Starter spartan-safety-ltd

    (@spartan-safety-ltd)

    Hi I thought others might need this info too!!

    you can find how to do this in

    https://codex.www.ads-software.com/Template_Tags/get_the_tag_list

    ——–Excerpt from that part of the codex link above———–
    Example-
    A Basic Example
    This outputs the list of tags inside a paragraph, with tags separated by commas.

    <?php
    echo get_the_tag_list(‘<p>Tags: ‘,’, ‘,'</p>’);
    ?>

    This would return something like.

    <p>
    Tags:
    Tag 1,
    Tag 2, …
    </p>

    ———-what i think will happen———–
    1).edit (me SSL) this should return tag – tag

    <?php
    echo get_the_tag_list(”,’ – ‘,”);
    ?>

    2).edit (me SSL) this should return *tag – tag – tag

    <?php
    echo get_the_tag_list(‘*’,’ – ‘,”);
    ?>

    3).edit (me SSL) this should return *tag – tag – tag>>

    <?php
    echo get_the_tag_list(‘*’,’ – ‘,’>>’);
    ?>

    Syntax———from codex—————-

    <?php $tag_list = get_the_tag_list( $before = ‘before’, $sep = ‘seperator’, $after = ‘after’ ) ?>

    Now I have to find where to put this code: to edit Inove

    because’
    my other pages say Category {or} Tag | Spartan Safety Ltd
    my front page says | Spartan Safety Ltd

    thanks MG12

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page >> Title – Heading | Separators’ is closed to new replies.