Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: Custom breadcrumbs title content #134023
     akal
    Participant

    those lines I mean

    COPY CODE
    function kleo_breadcrumb( $args = array() ) {
        if(!is_single()) {
            return WPSEO_Breadcrumbs::breadcrumb('<div class="kleo_framework breadcrumb">', $after, '</div>');
        }
    }
    in reply to: Custom breadcrumbs title content #134020
     akal
    Participant

    Hi thank you very much for your fast reply.

    With thoses lines you provide, the breadcrumbs for page disappears and the breadcrumbs for post is still the same (without categories)

    I was wondering something that exclude only single post (so I will not use the “kleo custom title), something like (!is_single) :

    COPY CODE
    function kleo_breadcrumb( $args = array() ) {
        if(!is_single()) {
            return WPSEO_Breadcrumbs::breadcrumb('', $after, '');
        }
    }

    but if I do that, the breadcrumbs for single post totally disappears…

    any ideas ?

    Cheers

    Akal

     akal
    Participant

    Done ! for those who are interested by the procedure :

    Create a blank file bp-custom.php in your plugin directory (/wp-content/plugins/bp-custom.php)

    Then, copy/paste this :

    COPY CODE
    <?php
    // hacks and mods will go here
    
    /**
     * Change BuddyPress default Members landing tab.
     */
    define('BP_DEFAULT_COMPONENT', 'profile' );
    ?>

    and remplace ‘profile’ by the slug of your new tab

    Save, it’s done !

    Cheers

    Akal

Viewing 3 posts - 1 through 3 (of 3 total)

Log in with your credentials

Forgot your details?