• Resolved mmarchant

    (@mmarchant)


    Is there a way to put in your short code to hide the date? I have two categories one for events that I want the date to show and one for announcements that I don’t want a date to show.
    These are my two short codes I am using for each category. Can I add hide date in the announcement short code? If not, how do I do it in css? I’m not very good at custom css.
    [events_list category=announcement limit=5 pagination=1]
    [events_list category=event limit=5 pagination=1]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The markup is defined in the EM settings. (Events list page) So if you take out the date there, it will no longer be shown.

    Alternatively, Anything you put between [events_list] and [/events_list] will overwrite the markup in your settings.

    Thread Starter mmarchant

    (@mmarchant)

    I am not using it on the events list page. I am trying to show current events on the homepage and want to split them out between the two categories.

    How would I write that with the [events_list][/events_list] tags?

    I didn’t say you used it there. I said EM takes the content from the mark up in the settings.

    [events_list]#_EVENTNAME[/events_list]

    Again, anything between the shortcodes will replace whatever is set in the settings.

    Thread Starter mmarchant

    (@mmarchant)

    Sorry, I’m still having a little trouble. If I take the date out of the settings then the date would come out of the category “events” as well.

    In the case of listing just the events with the category “announcements”, how would that be written with the short code? Nothing I’ve tried seems to work. I am using Elementor with my template so not sure if that is messing some things up.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you should try something like

    [events_list category=announcement limit=5 pagination=1]
    #_EVENTNAME
    [/events_list]

    [events_list category=event limit=5 pagination=1]
    #_EVENTNAME <br>
    #_EVENTDATES
    [/events_list]

    https://wp-events-plugin.com/documentation/placeholders

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide date on event list with short code’ is closed to new replies.