displaying content if profile field exists
-
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.