Skip to:
Content
Pages
Categories
Search
Top
Bottom

Browser Title with custom Member-Theme


  • Michael Berra
    Participant

    @miguael

    I thought there was this topic already in the forum a long time ago – but i couldn’t find it.

    Here is my problem: In my custom member-theme the title in the browser is just the name of my site like this: – sitename

    In the default theme it shows in groups, member-profiles etc the correct title.

    What did I miss? I took the latest files from the default member-theme, but it still doesn’t work.

    Thanks for your help!

    Michael

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

  • Lance Willett
    Participant

    @lancewillett

    Michael,

    Getting a custom slug into the page title involves adding something like this into the theme header template:

    <?php wp_title('&raquo;', true, 'right'); ?>

    You can see my notes / comments in https://trac.buddypress.org/ticket/126 for a better example — that was in the home theme, though.


    Michael Berra
    Participant

    @miguael

    Thanks, Lance

    but it didn’t solve my problem. I did like you said. But still there is only my site name in my case: young-people.ch

    in the default theme it shows per example a member-profile like Michael >Profile >Public

    What do I miss in my custom theme?


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    <title><?php bp_page_title() ?></title>

    That?


    Michael Berra
    Participant

    @miguael

    THANKS – that was it, I guess… You are a genius (or I am dumm :-) )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Browser Title with custom Member-Theme’ is closed to new replies.
Skip to toolbar