Skip to:
Content
Pages
Categories
Search
Top
Bottom

Help need on conditional taq

  • Avatar of Marc P Gangmei
    Marc P Gangmei
    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)

You must be logged in to reply to this topic.