Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Havlik

    (@mtekk)

    You’ll want to hook into the bcn_after_fill action, go through the members of the passed in bcn_breadcrumb_trail object’s trail member variable (it’s an array). In the members (of type bcn_breadcrumb) look at the type member variable (it’s an array) for ‘category’. Use the member function set_url(false) to clear the URL (link) for that breadcrumb.

    to me this should be the same, but I did not understand what to do.
    stand me links like this is set in the plugin (%htitle%) where and how to edit it? And how do I put my breadcrumb to be bold or larger font.

    Plugin Author John Havlik

    (@mtekk)

    My initial post contains some errors (I misunderstood what che_anj wanted). What you need to is look at get_term_link() and hook into the category_link or term_link filter. Then you will need to remove the category/ from the passed in link (use what ever method you want to grok the URL and remove ‘category/’).

    To style the breadcrumb you will need to edit your style.css and CSS styles for whatever container class you used for the breadcrumb trail (depends on what you used for calling code).

    I did not understand where to change it. Please explain where required to do so, where? Is it hard to write a nice how to change it, which files and such. But tell me just in general, why not. .. . .

    Plugin Author John Havlik

    (@mtekk)

    You will want to do this in a site specific plugin.

    I don’t typically provide code in the forums as it would require me to test it (otherwise people will complain that I provided junk code), which I often don’t have time to do (I rather work on the plugin itself). I try to provide high level ‘architectural’ guidance on how to solve a particular problem, leaving the implementation details as an exercise for the reader (or their developer).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to exclude the "category" from the breadcrumb link’ is closed to new replies.