Adding Category to widget + event offset

Home Forums Calendar Products Events Calendar PRO Adding Category to widget + event offset

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1066497
    haaid
    Participant

    Hi, I am interested to know if there is a possibility to do the following

    a) add the category to the display in the list-widget
    b) offset the widgets in a list (i.e. start from the third or fourth listed event); this way you could for example highlight the first upcoming one in one block and have the following events underneath that block.

    thanks.

    K.

    #1067066
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    The Event List Widget and Shortcode does have the ability choose a category to display.

    https://theeventscalendar.com/knowledgebase/configuring-the-list-widget/

    You can find more articles about our widgets using this link.

    We do not have a feature to do an offset as you like. It might be possible with a customization, but that is beyond the support we can provide.

    Let me know if you have any follow up questions.

    Thanks

    #1070990
    Tim Griffin
    Participant

    Brian,

    Thanks for the reply here – there is a question that remains – even after visiting all the posts tagged with “widget”. Let me see if I can articulate 😉

    What is the simplest way to display the category next to each event in the widget list?
    Here’s my current fix:

    		<p>Category: <?php
    $categories = get_the_terms( $post->ID, 'tribe_events_cat' );
    if ( ! empty( $categories ) ) {
        echo '<a href="' . esc_url( get_category_link( $categories[0]->term_id ) ) . '">' . esc_html( $categories[0]->name ) . '</a>';
    }; ?></p>

    I added this to the single-event.php file. ( * [your-theme]/tribe-events/pro/widgets/modules/single-event.php) Would like to have the option to display the category dropdown for a selected group of events. Is that something already posted but I missed?

    So – the part about offsetting – that seems it would be simple… do you have a suggestion?

    Thanks!

    Tim

    #1071104
    Brian
    Member

    Hi Tim,

    Thanks for using our plugins. I can help out here.

    First it is usually a good idea to create your own topic so we can help you one one one.

    Anyway, I am not sure what you are asking about. That coding looks like it would work, does it work for you?

    What about this, can you explain about this more: “option to display the category dropdown for a selected group of events”

    Also, not sure if the offsetting is simple to do it is not something I have a suggestion on we are limited on helping out on customizations.

    Generally we can help tweak existing features, but not able to provide much with adding new features.

    Let me know and I will try to help out.

    Thanks

    #1082016
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding Category to widget + event offset’ is closed to new replies.