I have to confess that I’m not quite sure what you are trying to achieve?
Is it just to have another page in the breadcrumb flow
You’d be filtering the function
bbp_get_breadcrumb
in
bbpress\includes\common\template.php
to put an extra link in
I seem to be have a problem responding with multiple images or links đ
yes the damn spam filter on this site gets overly keen – not my site I’m just a helper here so can’t change that.
two links or two images seems to be the limit – try that !
I guess that makes sense…I took out http:
Hi Robin,
Thanks for your response, hopefully I can clear this up a little with some images.
My goal is to have my forums as a child page
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/forums_child.jpg
With my Forums Root = forums
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/root-forums.jpg
The breadcrumbs (both bbPress and WordPress) will show correctly
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/correctBreadcrumb.jpg
The problem is that when I create a new forum, it will not take the “connect” parent page into consideration.
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/BadForum.jpg
In order to fix this, I can modify the Forum root = “connect/forums”
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/root-connect-forums.jpg
And that will fix the permalink of a new forum
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/Page31.jpg
But when I do that, the the breadcrumbs no longer work.
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/brokenBreadcrumb.jpg
(I am sure the “Forums” in this image are truly the “connect/forum”)
So that where I kind of am.
I did see your recommendation, but wouldn’t that get wiped the next time I upgrade bbPress?
Again, thank you for your response.
Kind Regards,
Joe
But when I do that, the the breadcrumbs no longer work.
//69.195.124.253/~ctwocndo/wp-content/uploads/2015/02/brokenBreadcrumb.jpg
(I am sure the âForumsâ in this image are truly the âconnect/forumâ)
ok if you click that breadcrumb – I mean the forums bit, where does it go?
If to forums, then we just need to add a breadcrumb before it to go to the connect page
If not where does it go?
Come back with that answer
So the “Forums” breadcrumb is never click-able as its the “current” page…
But, when the Forums Root setting is = forums
Then the breadcrumb is displayed as:
Home/Connect/Forums
But if the Forums Root setting is = connect/forums
Then the breadcrumb is displayed as:
Home/Forums
its actually opposite of what I would expect.
I cant paste the html markup even with the code block..but.
Home/Forums
“<ul class=”breadcrumbs”>
Home <span class=”bbp-breadcrumb-sep”> </span>
<span class=”bbp-breadcrumb-current”>Forums</span>
“
So the âForumsâ breadcrumb is never click-able as its the âcurrentâ pageâŠ
it should be when you get to sub forums or topics viz
Welcome âș Forums âș Main Forum âș Chat âș Joining the Forum
only joining the forum is not clickable.
If you can get it all working with
Home/Forums
Ie everything else is fine, then I’ll look at what you’d need to do to filter the breadcrumb to add the connect with a link to that page.
Sorry about that…I should have realized that…
So when the Forums Root = connect/forums
and I go into “Test” topic
The Breadcrumbs are Home/Forums/Test
and the link to forums is 69.195.124.253/~ctwocndo/connect/forums/ <- so the parent is there, its just not in the breadcrumb
And this remains true as I drill down to the single topic
Posting that code seems to have screwed up the thread…oh boy!
Well in any case I have been doing some testing.
It looks to me like bbPress is expecting to always be in the ROOT of the site.
I can make some adjustments but it then appears to mess something else up.
Take a look at this forum, I will leave it alone for a whole so you can look at it. But it explains the issue.
If I make the forum a child page bbPress will not create the forum with the parent page.
If you adjust the forum root setting to fix this, then bbPress takes over and the breadcrumb so the hierarchy is no longer correct.
At least that’s how it appears to me…
So a little more investigating and I am finding this dose NOT appear to be related to bbPress, it looks like my BLOGS are having the same issue.
This appears to be related to the permalink structure.
I currently have it set to “Post Name”
I’m going to read up a little more on this and see if I can come to some understanding.
ok, do keep us updated on your progress, I am interested to see how it turns out, hope it’s you:1 the technology:0 !
So I am still working on this and what I am learning is that my concept of how WordPress structures things are not exactly how I thought.
Apparently what I am expecting is my breadcrumbs to reflect however I create my custom Menu and this isn’t true.
So the Blog has its own hierarchy and this is what the breadcrumbs will reflect.
My intent was to use my “wp_nav_menu” and I am learning these 2 items are distinctly different.
I am still researching and learning this, but figured I would update in case anyone was watching this or had some additional input.
As far as I can tell, this is related to the permalinks and pretty URLs.
I am researching several plugins like Menu Breadcrumb, Breadcrumb Trail,
Advanced Menu Widget, Breadcrumb NavXT and more.
Trying to see whats right for me.
Thanks
thanks for the update – you are way ahead of me in terms of breadcrumb knowledge !
But please post back on how you get on, I’m interested !