Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Search Box - What does it search anyway? | Event Espresso - Staging Server
Hi, I have the search box widget ([EVENT_SEARCH]) installed on the site, but it seems that the search only returns results based on words in the event’s title?
Is this really the case?
I would like for prospective students to at least be able to find classes based on categories, even tags, not just titles. And really, it would be nice to be able to return results from the event description text.
It’s actually easier to make the modification to have it seach within the descriptions rather than the modification to have it seach categories. Go into templates/event_list.php and change line 175 from
<pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”>$sql .= " OR e.event_name LIKE '%%$word%%' ";
to
<pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”>$sql .= " OR e.event_name LIKE '%%$word%%' OR e.event_desc LIKE '%%$word%%' ";
Maybe you can add that, and then make sure your category names are somewhere in the event description.
Viewing 1 reply thread
The support post ‘Search Box – What does it search anyway?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.