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 <? } ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.