Suppress Featured Images for Upcoming Events

Home Forums Calendar Products Events Calendar PRO Suppress Featured Images for Upcoming Events

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1083558
    Michael
    Participant

    How to do that? Where is the .css file located?

    Broader questions:

    What I really need to do is have a featured event followed by upcoming events. I’ve figured out a clunky workaround (if I can get rid of the featured image), but would love to find a better way. Is there a widget or shortcode to show just one event? A “Featured Event” widget would be ideal.

    Also, I see there’s a way to make the Tribe files local, which I presume is how best to avoid having customizations overridden on updates. Is there documentation on how to do that somewhere?

    Thanks

    #1083701
    Cliff
    Member

    Hi Michael.

    I’m not sure exactly what you’re wanting to customize or remove/hide featured images from. Maybe you could provide me a link or screenshot with annotations?

    ===

    As far as a Featured Event widget, you could use one of our plugin’s widgets or shortcodes. You could put your Featured Events in a specific Event Category or Event Tag.

    If it helps, you might want to use this Event Widget Areas plugin.

    ===

    For your last question, I believe you’re looking for our Themer’s Guide.

    ===

    I hope that gets you on your way!

    #1083768
    Michael
    Participant

    Hi Cliff, sorry I was unclear the first time. Sorry, also, if I’m missing something obvious, which I suspect. Anyway…

    On the front page of my site, I want to show a featured event and then a list of the next five upcoming events. I would like a photo with the featured event, but no photo with the upcoming events.

    I am using the Events List Widget twice in a widget area. The first instance shows an event I have categorized as “Featured.” The second instance shows the five upcoming events. Both show the featured image. I want to see the featured image with the featured event, but not with the upcoming events.

    Screenshot

    What am I missing? The widget has a list of things to display, or not, such as city, address, etc. But image is not a choice.

    Ideally, I would like a widget that would just show one event of my choosing. As is, my workaround is to categorize the event as “Featured,” but that is a ponderous workaround as I will have to go in and uncategorized it and categorize a new one when the featured event passes, as I can only have one at a time.

    Thanks, and again, sorry if I’m missing something drop dead obvious.

    #1083776
    Michael
    Participant

    Ummm, looking into it deeper, I realize that after I had installed the free Events Calendar awhile back, I modified the list-widget.php to show the image, which is what you see in the screenshot above. Sorry, had forgotten all about that.

    I’ve set it up again with the pro and added this line to the single-event.php: <div class=”tribe-events-event-thumb”><?php echo get_the_post_thumbnail( $post->ID, array(183,275) );?></div>

    That shows the image. So I guess what I need is an if statement to wrap around that. If category = Featured, show image, else don’t show image.

    Can you show me an example of how that should be written?

    Though still would like to know if it’s possible, and if so how, to show just a single, designated, event in a widget with featured image.

    Thanks again, and sorry for any confusion.

    #1084078
    Cliff
    Member

    If I understood your use case, you’re wanting to display 2 times:

    1. Show events in “featured” category
    2. Show events from all categories except “featured” category

    Our Event List shortcode / widget doesn’t have a post ID include/exclude argument.

    You could add that idea at our plugins’ UserVoice page.

    Please do add your feature request there.

    This allows others who are interested in that feature to easily voice their support. We frequently review suggestions there to find out which ones are popular, then we implement as many of them as we can.

    Once you post it, feel free to link to it from here in case anyone comes across this forum thread in the future.

    ===

    In the meantime, you might need to create the output manually and use tribe_get_events().

    Please let me know if this answers your question.

    #1089766
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Suppress Featured Images for Upcoming Events’ is closed to new replies.