Home › Forums › Welcome! › Pre-Sales Questions › Get category in widget / free version
- This topic has 7 replies, 2 voices, and was last updated 9 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
January 24, 2017 at 12:03 am #1222797
Michael
GuestHi,
is it possible to show the category name in widget for each event?
Thank you in advance.
Best regards
MichaelJanuary 24, 2017 at 7:29 am #1222926Geoff
MemberHi Michael,
Thanks for getting in touch!
Yes, I do believe it is possible to add the category name to the widget, whether you’re working in The Events Calendar or Events Calendar PRO.
It would take a template override of the list-widget.php file. Here are instructions for how to do a template override.
Once the template is overridden in your theme, you can use the tribe_meta_event_category_name() function to display the category name where you would like.
Did you have any questions about the features of our premium plugins? Please let me know and I would be happy to answer them.
Cheers,
GeoffJanuary 24, 2017 at 8:29 am #1222970Michael
GuestHi Geoff,
thank you for your quick answer.
The file is copyed and customized as described in themes/mytheme/tribe-events/widgets/
I put an “echo tribe_meta_event_category_name()” in the template, but the mentioned function returns “NULL” when i call it in the template.
regards
michaelJanuary 24, 2017 at 3:14 pm #1223244Geoff
MemberAh, sorry to hear about that, Michael!
Another idea is to try something like this instead:
<?php echo tribe_get_event_categories( get_the_id() ); ?>I do want to note that our pre-sales forum is used to answer questions about purchasing our premium plugins. If you’re looking for technical support, it would be awesome if you could post your question to our <u>WordPress.org support forum</u>.
Or, if you already have an active license for one of premium plugins, will you please log into your account and post your topic to our premium support forum instead?
Thanks so much!
GeoffJanuary 24, 2017 at 4:44 pm #1223284Michael
GuestDear Geoff,
thank you so much for your help.I do want to note that our pre-sales forum is used to answer questions about purchasing our premium plugins. If you’re looking for technical support, it would be awesome if you could post your question to our <u>WordPress.org support forum</u>.
I’m sorry, in future, i will post my questions there.
Best regards
MichaelJanuary 24, 2017 at 10:54 pm #1223421Michael
GuestDewar Geoff, i am sorry, one last question please 🙂
I can see the category name in the sidebar widget, but not in the page where is used a shortcode to display…..
how can i achieve that? I didn’t found a solution in the support forum….THANK YOU.
P.S. -> What are the Benefits of the PRO Version? Maybe it’s better i’ll purchase that for my customer…
And for how many Websites is one license of The Event Calender PRO?Best Regards
MichaelJanuary 25, 2017 at 7:14 am #1223553Geoff
MemberHi Michael,
Glad to hear the category name worked, though sorry that it does not work where it’s being used with a shortcode. I’m not entirely sure which shortcode you are using, but it’s very possible that the shortcode is embedding the plugin’s core template rather than the custom template that is overridden in your theme. That may be a conflict with the shortcode plugin you are using, but it’s tough to tell and would require more technical troubleshooting than what we offer here in the pre-sales forum. You might also want to check with the author of the shortcode to see of there’s something that can be done on that side of things.
What are the Benefits of the PRO Version? Maybe it’s better i’ll purchase that for my customer…
And for how many Websites is one license of The Event Calender PRO?We’d love it if you went with Events Calendar PRO and I hope it’s a good fit for your customer. It’s a plugin that extends The Events Calendar so that the calendar has more features, including:
- Recurring events
- Additional calendar views (Photo, Map, Week, Day)
- Custom fields in the event editor
- Shortcodes (full calendar views and widgets)
- Pages for venues and organizers
- …and more
A license allows you access to download the plugin, access to our premium support forums and access to plugin updates for one year at which time you can renew your license to continue plugin updates and support.
I hope this helps!
GeoffFebruary 16, 2017 at 8:35 am #1238683Support 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 ‘Get category in widget / free version’ is closed to new replies.
