Support

Account

Home Forums General Issues If True do this / False do that Reply To: If True do this / False do that

  • Hey tigre. Your if ( get_field( 'btn_show' ) ); should be if ( get_field( 'btn_show' ) ):.

    The semicolon (;) ended the line so that’s why your else was “unexpected” according to PHP.