Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
Author
-
akalParticipant
those lines I mean
COPY CODEfunction kleo_breadcrumb( $args = array() ) { if(!is_single()) { return WPSEO_Breadcrumbs::breadcrumb('<div class="kleo_framework breadcrumb">', $after, '</div>'); } }
akalParticipantHi 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 CODEfunction 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
November 5, 2015 at 16:44 in reply to: Create an entry with avatar and username in main menu that link to bp_core_new_nav_item #85728akalParticipantDone ! 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
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)