• Resolved francoc30

    (@francoc30)


    I have already created events page using shortcode [events_list]. In addition, I need to create a table listing some specific events, not all events. Each row would contain the name and date/time of the event. I am thinking of using event ids to indicate the specific events to be listed and from the event id I can show the event name and date/time in the table. Is this something doable?

Viewing 12 replies - 1 through 12 (of 12 total)
  • It is doable. If you use the ids and you want to add more later you will need to modify the shortcode.

    If you list is different in structure to the normal list then I’d suggest instead you create a unique tag. Select the events you want with the checkbox on events page. Bulk actions, edit, apply. Give the selected events the unique tag.

    Then use shortcode [events_list tag=”unique”]. Then to create different list structures use conditional placeholders {has_tag_unique} & {no_tag_unique}.

    • This reply was modified 4 years, 4 months ago by Will Pom.
    Thread Starter francoc30

    (@francoc30)

    Hi @wi77p0m,
    Thanks for the reply. I already used categories to create event list. Tags work more or less the same way that they group similar events together. What I need is a unique identifier for each specific events. I think event id will give me what I need for my situation. I searched and cannot find event ids and also not knowing how to use/apply them. Currently I simply copy and paste the event names and date/time into my table (from a table plugin). I need something less time-consuming.

    On events: Screen options (top right), check event id.

    Thread Starter francoc30

    (@francoc30)

    Got it thanks.
    I tried something like this to display the event name on a page, but it did not work. Please help.

    [event #_EVENTID=”13″ ] #_EVENTNAME[/event]

    #_SOMETHING only works as content within the shortcode.

    You’d use [event post_id=”13″] in this instance.

    See: https://wp-events-plugin.com/documentation/shortcodes/
    It has everything you need to know.

    Thread Starter francoc30

    (@francoc30)

    I tried:
    [event post_id=”13″ ] THIS IS MY NAME #_EVENTNAME [/event]

    The text “THIS IS MY NAME” showed, but not the event name.
    Is post_id equivalent to event id?

    TreeTrail

    (@aprilschmitt27)

    Isn’t the shortcode: [events_list] … [events_list]?

    Thread Starter francoc30

    (@francoc30)

    Noop, as per documentation example:

    [events_list limit=”10″ location=”1″]#_EVENTNAME <br/>[/events_list]

    See documentation.

    post_id is the wp post id, you’ll see it in the preview url. event_id? may work but I’ve only ever used post_id as that is what the documentation references.

    If you have multiple ones then I assume you’d ….id=”13,17,19,24″] Not that I’ve done that as I’ve either referenced one direct to use in a blog article or assigned a tag as mentioned previously and displayed a list from that.

    • This reply was modified 4 years, 4 months ago by Will Pom.
    Thread Starter francoc30

    (@francoc30)

    I have checked documentation many times and could not find reference on using event id. May be the functionality was not built in, I don’t know. Since I have a need for it so I posted my question for support. I have been using event list with category to display different groups of events on a list. What I need now is the display individual event in a table against other specific information for each event.
    Anyway thanks for your input. Let’s see what angelo_nwl has to say.

    #_EVENTID displays the event ID in between the shortcode.

    Use post_id= it is unique just like event id.

    Either get it from the preview url from event edit, or from the url by hovering you mouse (or right click copy link location or similar) over the edit on the list of events.

    eg. /wp-admin/post.php?post=6491&action=edit

    Thread Starter francoc30

    (@francoc30)

    Used [event post_id=”997″ ] THIS IS MY NAME #_EVENTNAME [/event]

    No cigar.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Events table’ is closed to new replies.