Support » Plugin: Buddypress Friend of a Friend (FOAF) » Want to place it in profile header in custom location

  • Resolved Kalmax


    I want to show it in my custom member header. Can you please tell me what code should be change/placed and where to show it under member-header.php

    This is the sample of my member-header.php

    <div id="item-header-content">
    	<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
    	<?php endif; ?>
    	<?php do_action( 'bp_before_member_header_meta' ); ?>
    	<div id="item-meta">
    		<?php if ( bp_is_active( 'activity' ) ) : ?>
    			<div id="latest-update">
    		<?php endif; ?>
    		<div id="item-buttons">
    			<?php do_action( 'bp_member_header_actions' ); ?>
                    </div><!-- #item-buttons -->
                     * I want to place FOAF here.
    		 bp_member_profile_data( 'field=About Me' );
                     do_action( 'bp_profile_header_meta' );
    	</div><!-- #item-meta -->
    </div><!-- #item-header-content -->

    Thanks for the help in advance. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author quan_flo


    This might help:

    Change bp_before_member_header in
    add_action('bp_before_member_header', 'buddypressfoaf_action');

    to the action you need.

    will be the one you need.

    Otherwise modify the template and move the bp_before_member_header action to the place where you need it.

    If this helped you, please make a short reply and mark the topic as resolved. Thanks.

    Thanks for a quick answer, will let you know with the update.

    Thanks for the great support and reviewing this plugin with 5 star. God bless you and keep it up! You can mark this topic as resolved.

    Plugin Author quan_flo


    Great – I’ll mark this question as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Want to place it in profile header in custom location’ is closed to new replies.