Support

Account

Home Forums Front-end Issues If field is Empty then show a Custom Text Reply To: If field is Empty then show a Custom Text

  • I fixed it..

    <?php if ( get_field( 'field_name' ) ): ?>
    
    FIELD CODE....
    
    <?php else: // field_name returned false ?>
    
    OTHER CONTENT IF FIELD IS EMPTY
    
    <?php endif; // end of if field_name logic ?>