Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#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 “