Are you sure there is no ‘Subscribe’ just next to the breadcrumbs ?
Can you send a screenshot or a link so we can see ?
Pascal.
Hi Pascal,
Thanks for the quick reply. There is no Subscribe next to the breadcrumbs.
I did customize the breadcrumbs though so that it displays my wordpress forum home page instead of the default forum home page. This is what I added to the template.php file in this folder: wp-content/plugins/bbpress/includes/common
// Add the breadcrumb
// $crumbs[] = '<a href="' . esc_url( $root_url ) . '">' . $r['root_text'] . '</a>';
$crumbs[] = '<a href="/wordpress/dynaman-community-forum/">Dynaman Community Forum</a>';
instead of the standard code, which is:
// Add the breadcrumb
// $crumbs[] = '<a href="' . esc_url( $root_url ) . '">' . $r['root_text'] . '</a>';
Hi Pascal,
Thanks for the quick reply. There is no Subscribe next to the breadcrumbs.
I did customize the breadcrumbs though so that it displays my wordpress forum home page instead of the default forum home page. This is what I added to the template.php file in this folder: wp-content/plugins/bbpress/includes/common
// Add the breadcrumb
// $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;
$crumbs[] = ‘Dynaman Community Forum‘;
instead of the standard code, which is:
// Add the breadcrumb
// $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;
I am unable to send a link to the site, as it is still company confidential. I tried several things today, including ensuring that this line of code (<?php bbp_forum_subscription_link(); ?> exists in the content-single-forum.php file. I am still unable to see the Subscribe link in the breadcrumbs.
Any assistance would be very much appreciated.
Thank you.
Argh !
Please never change directly the bbPress files. At the next update you will loose your work.
If you want to change files, you can refer to the codex (like on this page: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/)
But if you want to keep it easy, check out my bbP-Toolkit plugin where you can customize your breadcrumbs or if this is the only customization you want to do, check out https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#4-turning-off-or-changing-breadcrumbs
Pascal.
Thank you!!
I removed the customized code from the template.php file in the wp-content/plugins/bbpress/includes/common folder – copied the template.php file into my theme’s bbpress folder, and then readded the custom code to the file.
I now see the subscribe link. It does appear at the bottom of the page though instead of in the breadcrumbs.
Really appreciate your help!
Thank you.