Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    The easiest way is to drop this shortcode into a page or post:

    [event_search_form]

    If you want to use the shortcode from within a template you can use this:

    do_shortcode('[event_search_form]');

    Thread Starter Daniele

    (@lele_82)

    thanks caimin! I miss to see this shortcode!! 🙂 I’ll try it and I’ll make you know if it works

    Thread Starter Daniele

    (@lele_82)

    I don’t know how it works…. when i insert a key in the search field, it gives me this message:

    “No posts.
    Sorry about this, I couldn’t seem to find what you were looking for.”

    Why if i insert the name of an event it doesn’t retrieve it?
    How can i choose what template to use for display the result?

    Which page are you using the shortcode on? Can you post a link? Thanks.

    Thread Starter Daniele

    (@lele_82)

    I used this code <?php echo do_shortcode('[event_search_form]'); ?> inside the sidebar… I’m in local

    Plugin Support angelo_nwl

    (@angelo_nwl)

    how about using text widget in your sidebar and then used shortcode [event_search_form]

    to use shortcode in text widget – install plugin ‘Shortcodes in Sidebar Widgets’

    Thread Starter Daniele

    (@lele_82)

    It seems to works, but i have 2 strange issues:

    1) When I looking for a keyword, it retrieves all events-post;

    2) I deleted all events and wordpress tell me that there is one published under a certain category, but I can’t see it in the admin panel under Events… This is not the first time that happens.

    What can i do?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    not sure what causes this but maybe you can try to disable all other plugins and/or if possible try to temporarily revert to default theme just to rule-out any theme or other plugin issue.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    could it be you’re looking at future events, and the one in question is in the past?

    or does it not show in the admin and only in the front-end? if so:

    the extra event is a ‘ghost’ event, we’re not entirely sure why it happens as it’s such a rare occurrence that we can never reproduce (if you can, please let us know and we’ll work with you directly to fix it)

    the fix is quite easy though, there’s two ways:

    1 – add a public edit event page as per – – on the front-end these ghost events appear an you should be able to delete it.

    2 – visit your databasae and see the table wp_em_events, if you deleted all your events there should only be one record.

    Thread Starter Daniele

    (@lele_82)

    I’ll try your solutions.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Search form’ is closed to new replies.