WordPress.org

Forums

Events Maker by dFactory
Show category on widget list (6 posts)

  1. eMink
    Member
    Posted 1 year ago #

    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/

  2. dFactory
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. eMink
    Member
    Posted 1 year ago #

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

    Best,
    Oriol.

  4. eMink
    Member
    Posted 1 year ago #

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

  5. dFactory
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. eMink
    Member
    Posted 1 year ago #

    Got it! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Maker by dFactory
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.