Support

Account

Home Forums ACF PRO Help request with strange behaviours Reply To: Help request with strange behaviours

  • Strange behaviour are:
    – seems to work with post already created but not with new ones
    – same code for showing the fields, but in some post someone shows and some not
    – the code

    
    if( !empty($pf_studi) ){
    	echo '<div class="one_third">';
    		echo '<h4>Studi</h4>';
    		echo '<div class="description">';
    			echo  get_field('studi');
    		echo '</div>';
    	echo '</div>';
    }
    

    should shows only fields with some datas, but in some posts shows also empty fields.

    Really don’t know if it’s something about AFC or maybe wrong code written by me