Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove certain breadcrumb separators

  • @majid436

    Participant

    Hello,

    I used CSS to remove certain parts of my breadcrumb and now need to remove certain separators (ex: “>”) between the words. Unfortunately all the separators have the same class, so is there a way to code bbpress so some separators are shown and others are not? Please see image below for example. Thanks.

    Link to image

Viewing 3 replies - 1 through 3 (of 3 total)
  • @robin-w

    Moderator

    see

    Layout and functionality – Examples you can use

    From memory I think $args[‘sep’] = “>” would be what you are looking for

    so for instance

    function mycustom_breadcrumb_options() {
           $args['sep']    = '>>';
         
        return $args;
    }
     
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options'
    

    would give a double chevron.

    If that doesn’t work, come back and I’ll look it up.

    @majid436

    Participant

    It works. Thank you.

    @robin-w

    Moderator

    You’re welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar