Thread Starter
ryanck
(@ryanck)
Wow @mtekk thank you so much. It worked perfectly man.
Awesome plugin and awesome support.
Thanks!
Have a nice day.
Thread Starter
ryanck
(@ryanck)
Hello,
Thanks a lot for your help and John, what an awesome plugin you´ve built man! Thank you for this!
@mtekk is right. What I want is to get the link URL without the “category/”.
I´ve been trying few things in the weekend and I found out a solution in this site: https://lyle.troxell.com/pen/articles/2011/07/28/breadcrumb_navxt_categories/
So I ended up with this code in class.bcn_breadcrumb_trail.php:
Line 427, 452 and 569:
$this->maybe_add_post_type_arg(str_replace("category/", "", get_term_link($term, $taxonomy))))
$this->maybe_add_post_type_arg(str_replace("category/", "", get_term_link($term, $taxonomy))), $id));
$this->maybe_add_post_type_arg(str_replace("category/", "", get_term_link($term, $taxonomy))));
Hope it makes sense.
Have a nice day.
-
This reply was modified 7 years, 1 month ago by ryanck.
-
This reply was modified 7 years, 1 month ago by ryanck.
-
This reply was modified 7 years, 1 month ago by ryanck.