Page >> Title - Heading | Separators (5 posts)

  1. Spartan Safety Ltd
    Posted 7 years ago #

    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.

  2. motivatebusiness
    Posted 7 years ago #

    put your header.php code here and I will make the modification for you

  3. mg12
    Posted 7 years ago #

    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.

  4. Spartan Safety Ltd
    Posted 7 years ago #

    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 wordpress.org site. I think I need to look a bit deeper.

    Thanks again mg12

  5. Spartan Safety Ltd
    Posted 7 years ago #

    Hi I thought others might need this info too!!

    you can find how to do this in


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

    echo get_the_tag_list('<p>Tags: ',', ','</p>');

    This would return something like.

    Tag 1,
    Tag 2, ...

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

    echo get_the_tag_list('',' - ','');

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

    echo get_the_tag_list('*',' - ','');

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

    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

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

    thanks MG12

Topic Closed

This topic has been closed to new replies.

About this Topic