Home › Forums › Calendar Products › Events Calendar PRO › Make tribe_events shortcode show ONLY the search bar
- This topic has 5 replies, 3 voices, and was last updated 8 years, 9 months ago by
Chris.
-
AuthorPosts
-
June 28, 2017 at 4:51 pm #1310814
Chris
ParticipantI 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.
June 29, 2017 at 5:56 pm #1313110Victor
MemberHello 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,
VictorJuly 1, 2017 at 9:06 pm #1315142Mathew
ParticipantChris,
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.
July 3, 2017 at 6:18 am #1315453Victor
MemberHi 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!
VictorJuly 25, 2017 at 9:35 am #1325814Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Make tribe_events shortcode show ONLY the search bar’ is closed to new replies.
