Make tribe_events shortcode show ONLY the search bar

Home Forums Calendar Products Events Calendar PRO Make tribe_events shortcode show ONLY the search bar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1310814
    Chris
    Participant

    I have spent 5 hours beating my head over a desk trying to get the Tribe Bar (the search bar) onto the homepage of my client’s site working with Location search. After spending $500 on this plugin, was pretty sure this would be functionality that would be easy to tap into.

    Long story short, you can’t elements of this plugin outside of the plugin itself. I came across the new [tribe_events] and it does have the search bar in it, and geo location search works in it too! Is there a way to have this shortcode only show the search bar and nothing else? I don’t want list view, calendar view or any of that, just want the search bar.

    At this point, I am sure I will be disappointed by the answer, but giving one last shot before I give up on this.

    #1313110
    Victor
    Member

    Hello Chris!

    Thanks for reaching out to us! Let me try to help you with that.

    There is no built in shortcode / option to include the search bar only to a specific page.

    It is possible to build this customization by including the events bar template, styles and scripts. It will probably require some custom code to link all parts but sounds doable. As this is an advanced customization we won’t be able to help much on the details, but surely point you into the right direction if you have any doubts along the way.

    Another approach to this and perhaps simpler, could be to hide the calendar view via CSS and then make it show up when searching for an event.

    We also have a list of freelancers who we would happily recommend for this level of help.

    I hope that helps and let us know if you have other questions and we’ll try to help as much possible.

    Best,
    Victor

    #1315142
    Mathew
    Participant

    Chris,

    I believe this article will get you in the right direction. I prefer Barry & Cliff’s snippet over Gregory’s. They both work and accomplish the same task, but the simplicity of using the shortcode anywhere is a perk.

    I have found that you may need to also enqueue ‘tribe-events-bar’ to make the datepicker fire.

    Tribe__Events__Template_Factory::asset_package( 'tribe-events-bar' );

    Please note that this level of customization goes beyond the support scope provided by the great TEC staff. So if this customization does not have the desired effect or needs tweaking, you are on your own to resolve it.

    Hope this helps.

    #1315453
    Victor
    Member

    Hi Mathew!

    Thanks so much for chiming in to share that! 🙂

    Chris, that is a really good place to start. Like Mathew said, from there you’ll have to go on your own, but I encourage you to take a look at those options and see if they serve your purpose.

    I really hope they do help you get started.

    Best!
    Victor

    #1325814
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Make tribe_events shortcode show ONLY the search bar’ is closed to new replies.