Change “NO EVENTS” text
-
Using the latest EventOn Lite.
I have this shortcut on the home page (and Events):
[add_eventon_list number_of_months=”1″ hide_month_headers=”yes” hide_empty_months=”yes” hide_past=”yes” hide_past_by=”ss”]
When there is no event to display I don’t want the generic NO EVENTS, since the there are event every day! Just not the special events.
How do I change the text? I have tried a simple Code Snippet:
function replace_text($text) {
$text = str_replace(‘No Events’, ‘No special trips scheduled at present. But keep checking!’, $text);
return $text;
}
add_filter(‘the_content’, ‘replace_text’);This worked elsewhere but not for that particular string.
Nor can I find anything in Settings.
Any ideas?
The page I need help with: [log in to see the link]
The topic ‘Change “NO EVENTS” text’ is closed to new replies.