WordPress.org

Support

Support » Plugins and Hacks » Show category on widget list

Show category on widget list

  • Hey there!

    First of all I would like to thank you for this amazing product.

    On the other side, I’d like to know if it would be possible to show the category of an event in the widget list. I guess it has to be somewhere in events-maker/includes/functions.php but I am not able to do this!

    I hope you’ll help me!

    Best,
    Oriol.

    https://wordpress.org/plugins/events-maker/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dFactory

    @dfactory

    It can’t be easily done at the moment. But there is a large plugin update coming that will allow you to make modifications of that kind in at least 2 ways.

    Just wait a day or two.

    There will be some great new features: recurring events (daily, weekly, monthly, yearly and custom occurrences), interactive full events calendar, completely new template design, adjusted for Twentythirteen and Twentyfourteen, and much more.

    Thank you very much for your answer! I will wait as you said!

    Best,
    Oriol.

    I still haven’t found a solution in the last update.

    Plugin Author dFactory

    @dfactory

    Go to includes/functions-template.php

    All the functions there are so called pluggable functions. You can just copy any of them, paste into functions.php of your theme and modify according to your needs. The copied function will be used instead of the one in the plugin.

    In your case you need to modify em_display_events() which is responsible for events list display. There’s a standard WordPress loop that starts with this:

    while($events->have_posts())

    and displays the events with the corresponding data like event date, thumbnail, excerpt etc.

    All you need is to add a piece of code to display event categories (or anything else you want) as you would do with any other WP query, for example using get_the_term_list function.

    Got it! Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show category on widget list’ is closed to new replies.