Skip to:
Content
Pages
Categories
Search
Top
Bottom

Help need on conditional taq


  • Archie Webmaker
    Participant

    @weblogian

    I want to display member feed url from the profile field “Feed” else if not available my site feed url as default

    Here a sample(not working):
    <?php if(bp_profile_field_data($field->ID, ‘Feed’, $single = true)){echo bp_profile_field_data( ‘field=Feed&user_id=’ . bp_get_member_user_id() ) else{bloginfo(‘url’); echo "/feed";} ?>

    Can anyone help me?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help need on conditional taq’ is closed to new replies.
Skip to toolbar