Modern Events Calendar shortcodes

I have used the MEC to create a community calendar. I want one central calendar and a calendar for each entity that only displays that entity’s events.

http://69.195.94.228 *main community calendar.

Here is the shortcode I am using to display the list you see: [MEC id=“111”]

It is not in the shortcodes section but we like it the best. Why does the following shortcode not work for the entity specific view? [MEC id=“111” category=“downtown-main-street”]

Please advise. Thank you.

Hello Keith,

Thanks for writing in!

Please be advised that the MEC shortcode only accepts ID as a parameter. There is no category option for the shortcode. Basically, this [MEC id="111"] will work and [MEC id="111" category="downtown-main-street"] will not because category="downtown-main-street" will make it invalid.

You must make use of the shortcode manager in M.E. Calendar > Shortcodes in creating the shortcode.
For more details, please check out this documentation:

Hope this helps.

Please tell me I can create a category specific shortcode with the shortcode generator? I have an entire site built based on displaying events from different entities. This would be extremely bad if I cannot.

Please let me know. Thanks.

I see what they are doing. Wheeew! I was thinking I made a really bad choice. I love everything about MEC. I am glad creating shortcodes is so easy. Thanks for you assistance.

Hello Keith,

We are just glad that you have figured it out a way to correct the said issue.
If you need anything else we can help you with, don’t hesitate to open another thread.

Best Regards.

Why does the location (address) show up twice on the Farmer’s Market event? I only see enabled once in the event record.

http://69.195.94.228/downtown/

Below is a link to review the reference I made to the 1/2 or 2/3 page event list width. If this is caused by the fact there is not location data entered or something similar I can live with that. I would like the event list centered.

http://69.195.94.228/chamber/

Finally - how can I keep the category link from displaying on single events?

Thank you.

Hello Keith,

The category link is displaying in single events page.

In your event’s list, it seems that there are duplicate events though they are the same event being displayed twice with a slight difference of the date. Would you mind providing us access to your site so that we can check your settings? Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thank you.

Hi Keith,

Thank you for the credentials, unlike the other events, the event “Downtown Lee’s Summit Farmers Market” is set to be repeating every Wednesday and Saturday of the week.


There is no issue with the Calendar, its just the event is recurring, please turn off the Event Repeating option if its not supposed to reoccur.

Cheers!

It is supposed to repeat as it is held every Wed and Sat. It is the location address that is repeating. Please see this is the screenshot I attached on my secure note.

Thank you and sorry for the confusion.

I have another question regarding the MEC. Why do some shortcodes display the width of the page and some do not?

Fullwidth - http://69.195.94.228/city/
Not fullwidth - http://69.195.94.228/parks-rec/

*Shortcode properties are identical with the exception of the category.

I love this calendar. It just seems to create some inconsistencies.

Please advise.

Hi Keith,

If that is the case please consider that event as a separate event. Even if its held every Wed and Sat but if it is in a different location then consider that as a separate event.

On this page http://69.195.94.228/city/ you have the event (Nov 22) with a long title and address that can push the container width. Unlike this page (http://69.195.94.228/parks-rec/) which does only have a short title event (Sunrise Yoga).

If you want the Calendar container to always fullwidth, please add this to M.E.Calendar > Settings > Custom CSS

.mec-wrap {
	min-width: 100%;
}

Hope it helps,
Cheers!

That worked awesome on the second issue. The first issue has to do with the name of a location being the same as the address.

Thanks again for the css help. Very much appreciated.

You’re welcome!
We’re glad @Friech were able to help you out.

Hey Keith,

Your post reply has been withdrawn.
If you need anything else we can help you with, don’t hesitate to open another thread.

Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.