sam355
Forum Replies Created
-
Thanks – created a ticket with the Pro version
Hello,
Thank you for the response and snippet, much appreciated ??
I can see now when I hover over the profile url it has changed to author, however, if I then click the link I’m still redirected to the /members page. I’ve dropped the code in as above and here is the contents of the bp-custom.php file. What do you think?<?php
/** * Remove Theme Default Buddypress CSS */
function youzify_remove_default_bp_css() {
// 27 Theme
wp_dequeue_style( ‘c27-buddypress-style’ );
}
add_action( ‘wp_enqueue_scripts’ , ‘youzify_remove_default_bp_css’, 999 );/** Remove Buddypress Author Page Redirect
*/
function yzc_remove_author_page_redirect() {
remove_action( ‘template_redirect’, ‘yz_redirect_author_page_to_bp_profile’, 5 );
}add_action( ‘init’, ‘yzc_remove_author_page_redirect’, 5 );
/**Remove Buddypress Author Link
*/
function yzc_remove_bp_author_profile_link() {
remove_filter( ‘author_link’, ‘youzify_edit_author_link_url’, 9999, 3 );
}
add_action( ‘init’, ‘yzc_remove_bp_author_profile_link’ );Thanks
Sam