• Resolved rdosza

    (@rdosza)


    Hi!

    How about making these changes on profile-cover.php?

    function add_profile_cover () {
       //ADD BEGIN
       global $bp;
       //ADD END
          ... code ...
        //MODIFY BEGIN
        //$output .= '<a href="' . bp_displayed_user_domain() . 'profile/change-cover/" class="button">' . $message . '</a>';
        $output .= '<a href="' . bp_displayed_user_domain() . $bp->profile->slug . '/change-cover/" class="button">' . $message . '</a>';
        //MODIFY END
         $output .= '</div>';
    }

    Regards,

    Ricardo.

    https://wordpress.org/plugins/buddypress-cover-photo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Slug change (translation) problem.’ is closed to new replies.