The Events Calendar
[resolved] Widget: start date to event category (5 posts)

  1. bogshie
    Posted 4 years ago #


    I would like to ask if there's a way to display the event category instead of start date in the widget? I already tried this code

    <?php $category = tribe_meta_event_cats(','-'); if ( !empty( $category ) ) :?><?php echo $category; ?><?php endif; ?>

    but I also want it to display as a text not as a link.

    Please help. Thanks!


  2. karks88
    Posted 4 years ago #

    I'd like that too. Really if the widget allowed me to specify which categories to show, that would be ideal.

  3. Rob La Gatta
    Modern Tribe Support
    Plugin Author

    Posted 4 years ago #

    hey guys. We have definitely had a few requests for category-specific widget, but at this point that is unfortunately only available in the Advanced List widget that comes with PRO and there are no plans to backport it to free at the time being.

    However, if you were willing to give it a go independent of the widget, the template tags as detailed at http://tri.be/support/documentation could help you out. Hope that helps and sorry I couldn't offer up more. Let me know if you have any other questions here.

  4. bogshie
    Posted 4 years ago #

    @roblagatta thanks for the heads up :)

  5. Rob La Gatta
    Modern Tribe Support
    Plugin Author

    Posted 4 years ago #

    Sure thing, bogshie. If you need anything else, feel free to reach out. Thanks for your support so far.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic