Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @pjthiel

    Participant

    Ok … I got excited too soon. I should have been clearer with my question. While I might want to actually update the page (tab/window) title, I was actually referring to the page content itself; i.e. the title of the page.

    Basically, the content of this code that is added to every WP page:

    <header class="entry-header">
        <h1 class="entry-title" itemprop="headline">member_name</h1>
    </header>

    I want to override the standard behavior of showing the username on the single member page, instead pulling the first_name and _last_name from the wp_user table (which are required fields as part of membership registration using MemberPress).

    Is there a bp or wp action or filter to allow me to modify the standard page content “title”?

    @pjthiel

    Participant

    Thanks!

    The bp_modify_page_title() filter is exactly what I was thinking.

    I can probably come-up with the code I need to change the title only on the single member page.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar