Skip to:
Content
Pages
Categories
Search
Top
Bottom

displaying content if profile field exists


  • onions2578
    Participant

    @onions2578

    whats the code for

    <?php
    $current_user = wp_get_current_user();
    if ( 0 == $xprofile_get_field_data->Field name ) { ?>
        display nothing
    <? } else { ?>
        display field extras 
    <? } 
    ?>
  • You must be logged in to reply to this topic.
Skip to toolbar