Skip to:
Content
Pages
Categories
Search
Top
Bottom

Title “Archives: Forum” – change to read “Forums”?


  • timmy321
    Participant

    @timmy321

    I’ve come across another sticking point.

    Why does my Forum title read “Archives: Forums”?

    I would like it to just read “Forums”, but am unsure of how to achieve this.

    http://findgyms.co.uk/forums/

    Could anyone please signpost me or help me solve this?

    Many thanks in advance,

    Tim

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

  • Robin W
    Moderator

    @robin-w

    the theme is puting the header on


    Robin W
    Moderator

    @robin-w

    actually probably more theme/elementor combination related.

    since free Elementor is basic, and aims to encourage you to ‘go pro’ and buy additional elements and has a paid bbpress pack add-on, I kinda suspect it needs that to work properly – you wouldn’t write a paid add-on that is not required 🙂


    timmy321
    Participant

    @timmy321

    Ah I see!

    It’s likely the Astra theme I imagine then as this page was not built with elementor.

    I’ll ask in their forum,

    Thanks again Robin!

    Tim


    Robin W
    Moderator

    @robin-w

    so is this

    [bbp-forum-index]

    within a WordPress page ?


    timmy321
    Participant

    @timmy321

    Yep it is indeed


    timmy321
    Participant

    @timmy321

    Does this mean you there’s a glimmer of hope that you could provide a solution? 🙂


    Robin W
    Moderator

    @robin-w

    so what is that pages title ?


    timmy321
    Participant

    @timmy321

    I’ve put the title as just ‘Forums’


    Robin W
    Moderator

    @robin-w

    ok, that doesn’t get us any further


    timmy321
    Participant

    @timmy321

    Hi Robin, so the guys at Astra Forum suggested putting this into the Astra Child theme’s functions.php bit in Appearance – Theme Editor:

    add_filter( ‘get_the_archive_title’, ‘to_archive_title_remove_prefix’ );
    function to_archive_title_remove_prefix( $title ) {
    if ( is_post_type_archive() ) {
    $title = post_type_archive_title( ”, false );
    }
    return $title;
    }

    I have no idea how or why it worked, but it did!!

    Thank you for troubleshooting this with me 🙂

    Maybe if anyone has a similar issue in the future they could also try this fix?

    Kind Regards,

    Tim


    Robin W
    Moderator

    @robin-w

    great – thanks for posting the answer

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar