Support

Account

Home Forums Add-ons Flexible Content Field Echo nothing if value is X Reply To: Echo nothing if value is X

  • Pretty much yes, although I’d set the values of these fields to the actual class names if that I want to output so that I can simplify the code, you have not already

    
    if (get_field('jumbotron_horizontal_alignment') != 'left') {
      the_field('jumbotron_horizontal_alignment');
    }