Forums

Change document's title (header) (9 posts)

  1. benjaminleist
    Member
    Posted 1 year ago #

    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

  2. benjaminleist
    Member
    Posted 1 year ago #

    Noone?

  3. benjaminleist
    Member
    Posted 1 year ago #

    /push

  4. benjaminleist
    Member
    Posted 1 year ago #

    /push again :)

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

  5. jonimueller
    Member
    Posted 1 year ago #

    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.

  6. Evita
    Member
    Posted 1 year ago #

    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

  7. benjaminleist
    Member
    Posted 1 year ago #

    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?

  8. Evita
    Member
    Posted 1 year ago #

    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.

  9. benjaminleist
    Member
    Posted 1 year ago #

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

    Aber schau mal bitte hier rein:

    http://wordpress.org/support/topic/178060?replies=1#post-765824

    Das ist viel dringender...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.