Home › Forums › Back End › [WORDPRESS] Remove div IF textarea is empty for Events Post Type Function › Re: [WORDPRESS] Remove div IF textarea is empty for Events Post Type Function
June 14, 2013 at 10:06 pm
#138780
asiek
Participant
@traq Yes I apologize for not pointing out the location of the issue.
I’m not a PHP guru lol so I’m lost.
BUT I did add
var_dump( $event_info ); exit;
above these lines //
if(!empty($event_info)) {
$ret .= ‘INFO: ‘ . $event_info . ‘‘ ;
}
and I didn’t necessarily get an error page, but I got some sort of message in the content area of my template//
string(33) “Extra Details “