Home Forums Event Espresso Premium event search in sidebar

event search in sidebar

Posted: October 28, 2013 at 2:57 am

Nadir Al-Badri

October 28, 2013 at 2:57 am

Hello, how can i use the event search in a sidebar or in a widget?


October 28, 2013 at 3:06 am


To use it in the sidebar template file you could use

<?php do_shortcode('[EVENT_SEARCH]'); ?>

If you wished to use the shortcode in a widget, you would need to allow WordPress to use shortcodes in widgets, see here

Nadir Al-Badri

October 29, 2013 at 4:26 am

Wicked. That was to straight forward for me to find out …..

However the search itself is not very “powerful”. E.g. for search term “yoga” it does show me > 30 hits in the JS PopUp and in the message over the search field, but if i actually press the search button i get only two hits on the result page….


October 29, 2013 at 5:38 am


The search is fairly basic, using the title and venue names. Are all of those listed items active events?

Nadir Al-Badri

October 29, 2013 at 6:20 am

Right. Could be releated to the fact i had to modify some things… Where do i find the source code for the search?


October 29, 2013 at 6:36 am


The main shortcode is found in event-espresso/includes/shortcodes.php

The support post ‘event search in sidebar’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Dean 6 years, 11 months ago ago

Topic Tags

Tagged: , ,


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!