Default template confusion?
I’m trying to get rid of and change the layout of the: bbp-template-notice info and bbp-breadcrumb, in the topics index. So Home>Forums>Test Topic. I’m having trouble figuring out if there is a bug, or I’m missing something, or I just have the template hierarchy wrong.
How I believe the template hierarchy works: archive-topics.php>content-archive-topics.php>loop-topics.php>loop-single-topics.php
I figure the changes I would need to make would be in archive-topics.php or content-archive-topics.php, but when I delete the <?php bbp_breadcrumb(); ?> as a test it’s still there.
When I make changes to loop-topics.php and loop-single-topics.php, it works fine. It’s just those two page templates.
I’ve tried editing the bbpress.php file from:
<?php /* Start loop */ ?> <?php while (have_posts()) : the_post(); ?> <article <?php post_class() ?> id="post-<?php the_ID(); ?>"> <header> <h1 class="entry-title"><?php the_title(); ?></h1> </header> <div class="entry-content"> <?php the_content(); ?> </div> </article> <?php endwhile; // End the loop ?>
and swapping the content for <?php bbp_get_template_part( ‘content’, ‘archive-topic’ ); ?>. That worked but it messed with my forums index.
I’ve taken a look in the codex to try and figure out what I’m doing wrong and feel lost.
tep-by-Step Guide to Creating a Custom bbPress Theme
Sorry if this is a bother, but I’m completely stumped as to what’s going on
- You must be logged in to reply to this topic.