• Ben

    (@benjaminleist)


    Hey guys,

    that’s the current document title “page.com > home”.

    I want it to look like this:

    Page: "page.com > page"
    Subpage: "page.com > TOPpage > SUBpage" or "page.com > TOPpage > SUBpage > SUBpage"
    Category: "page.com > news > categoryname"
    Author: "page.com > author > authorname"
    Post: "page.com > news > posttitle"

    How can I do that?

    My current header.php’s title tag looks like this:

    <title><?php bloginfo('name'); if ( is_404() ) : _e(' &raquo; '); _e('Not Found'); elseif ( is_home() ) : _e(' &raquo; '); _e('aktuelles'); else : wp_title(); endif; ?></title>

    Thanks in advance,
    Ben

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Ben

    (@benjaminleist)

    Noone?

    Thread Starter Ben

    (@benjaminleist)

    /push

    Thread Starter Ben

    (@benjaminleist)

    /push again 🙂

    Is this possible with Breadcrumb Nav XT? I tried it but it always inserts the comments and so on :/

    Quit bumping. A lot of people (like me) look for UNANSWERED questions first so you are just shooting yourself in the foot. Patience, grasshopper. 🙂

    I think you need an SEO type plugin that alters your page title. Try the All in One SEO plugin or Tags in the Head.

    Hallo!
    Hier habe ich einen Artikel darüber geschrieben. Für die Darstellung von Autor-Seiten und Sub-Pages kannst du im Codex nachlesen.
    Viel Glück, Evita

    Thread Starter Ben

    (@benjaminleist)

    Hi Evita,

    das ist nicht wirklich das, was ich suche. Mein Problem ist, ich habe eine Seite B als Unterseite der Seite A und möchte im Titel nun BEIDE ähnlich einer Breadcrumb-Navigation haben also “MEIN BLOG -> A -> B”..

    Hast du dafür auch eine Lösung?

    —-

    That’s not really what I’ve been looking for. My problem is havin a SUBpage B (under page A) and my title shall look like this similar to a breadcrumb navigation: “MY BLOG -> A -> B”..

    Any options?

    Evita

    (@evita)

    Eine dynamische Lösung ist mir leider noch nicht gelungen, du kannst es aber manuell machen:

    if is page (ID oder Name) dann ……
    elseif is page (ID oder Name) dann ……
    else is page dann …

    siehe hier

    Wichtig ist nur, dass du die Anweisungen für spezielle Seiten vor der Anweisung für die allgemeinen Seite machst und bei mehreren speziellen Seiten auch chronologisch aufwärts nach IDs, sonst wird nichts dargestellt.

    Hoffe, das hilft dir weiter.

    Thread Starter Ben

    (@benjaminleist)

    Ich kann auf den Titel verzichten bzw. ein kleines Script schreiben, dass den Titel der ID zuweist.

    Aber schau mal bitte hier rein:

    http://ww.wp.xz.cn/support/topic/178060?replies=1#post-765824

    Das ist viel dringender…

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Change document’s title (header)’ is closed to new replies.