Andrew (@cipes)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • @cipes

    Member

    Thanks Lynq! I placed this bit of code into my page.php template file and it’s working like a charm. I didn’t know there was a ‘forum’ post type.

    Great! Thanks so much for your help!

    In reply to: Title issues

    @cipes

    Member

    Russ, I’d love to know how to do that, Can you give me a more elaborate description?

    In reply to: Title issues

    @cipes

    Member

    Hey Russ, can you share how you fixed this? I’m trying to accomplish the same thing.

    Thanks!

    @cipes

    Member

    Hi Sam,

    I had a hard time looking for the archive-forums.php, until I found it in the bbp-twentyten theme folder in bbp-themes folder. From my understanding I’m not using this theme for bbPress (or am I?)

    I made the changes as you described and nothing takes effect. I’ve tried moving about the archive-forums.php into different areas, my main theme folder, the bbPress includes folder and others to see if I could find the right spot it needed to be in order to be called, but without luck.

    Where do I need to place this file in order to have it activated or used by bbPress?

    I also tried creating a new ‘theme’ for bbPress following the direction here.. https://codex.bbpress.org/legacy/themes-and-templating/

    But it seems to call in my bbPress theme into my main WordPress theme area, and I don’t want to change th WP theme, I just want bbPress to use this file to generate it’s <h1> Title.

    Any help would be awesome. Thanks for your time!

    @cipes

    Member

    Hey Jobjorn,

    I’m still pretty green with bbPress but I think you could make a plugin to modify that base page title. I think the function you may want is this..

    function bbp_get_forum_archive_title( $title = '' ) {
    global $bbp;

    // If no title was passed
    if ( empty( $title ) ) {

    // Set root text to page title
    if ( $page = bbp_get_page_by_path( $bbp->root_slug ) ) {
    $title = get_the_title( $page->ID );

    // Default to forum post type name label
    } else {
    $fto = get_post_type_object( bbp_get_forum_post_type() );
    $title = $fto->labels->name;
    }
    }

    return apply_filters( 'bbp_get_forum_archive_title', $title );
    }

    It’s located in the bbp-forum-template.php

    @cipes

    Member

    Hi Scoe, Thanks for the Code to alter the forums breadcrumbs. I was wondering if you could let me know which file you found the h1 located in? in order to change that? I’ve been looking everywhere.

    I think you brought that file into your main theme directory to overwrite bbpress’s standard files?

    @cipes

    Member

    I really don’t know much but it seems to me that you’ve created a sub-forums of Software, and that is why they are indented. If you didn’t want that, I think you should just make them their own forum, not in sub forum.

    In order to modify BBpresses output of sub-forums is beyond my knowledge. Maybe someone here can help you.

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