I've seen only a couple heavily moderated forums that do this.
I'd like to remove the link to a category forum, on the breadcrumb
Been searching for a while can't find an a way to do this.
This is a discussion on Q: remove category link in breadcrumb within the Template Modifications forums, part of the vBulletin SEO Discussion category; I've seen only a couple heavily moderated forums that do this. I'd like to remove the link to a category ...
I've seen only a couple heavily moderated forums that do this.
I'd like to remove the link to a category forum, on the breadcrumb
Been searching for a while can't find an a way to do this.
Replace entire content of navbar_link
with:
Replace code in red with the actual name of your categories:Code:<if condition="$show['breadcrumb']"> <span class="navbar">> <if condition="!in_array($nav_title, array('Category Name', 'Another Category Name', 'Yet Another One', 'Etc Etc', 'And this one too'))"> <a href="$nav_url">$nav_title</a> <else /> $nav_title </if> </span> <else /> $nav_title </if>
Note: Your Categories and Forums can't have the same name otherwise your forum will unlink in breadcrumb as well.
I would like to remove not just the hyperlink from the category name, but I'd like to remove the category name itself, too. I modified the above code as follows:
This accomplishes the removal of the category name in the breadcrumbs, however it leaves an extra character (>) behind, so there are two (>>) characters there. It looks something like this:Code:<if condition="$show['breadcrumb']"> <span class="navbar">> <if condition="!in_array($nav_title, array('General', 'Software Brands', 'Private Area'))"> <a href="$nav_url">$nav_title</a> </if> </span> <else /> $nav_title </if>
How can I remove one of the (>) characters? Or is there a better way to accomplish this?* Site Name > > Forum Name
* Thread Title
My version: vbulletin 3.8.4
Any help with this would be greatly appreciated.
I solved my issue with just moving the "> " (including one space)
Code:<if condition="$show['breadcrumb']"> <span class="navbar"> <if condition="!in_array($nav_title, array('General', 'Software Brands', 'Private Area'))"> > <a href="$nav_url">$nav_title</a> </if> </span> <else /> $nav_title </if>