Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to add some more tabs like photos, videos on the user profiles of my buddypress site.

Is there any shortcodes or functions to add the tabs?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Use the following code,

function custom_add_activity_tab() { ?>

  <li id="custom-tab">
    <a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/' ) ?>" title="<?php _e( 'Tab.', 'buddypress' ) ?>">
        <?php printf( __( 'tab' , 'buddypress' ) ); ?>

<?php }
add_action( 'bp_activity_type_tabs', 'custom_add_activity_tab' );

Check it, Will work better

share|improve this answer
There is no shortcode available, so try to write functions. –  Ka Ba Su Aug 3 '12 at 11:03
thank u so much bro :) –  sabz23 Aug 3 '12 at 11:16
you are welcome –  Ka Ba Su Aug 3 '12 at 11:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.