Events Made Easy Forums How do I … Layout list in [eme_events]

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #61080
    Anonymous
    Inactive

    Hi!

    The shortcode [eme_events] returns a simple vertical list of events. Something like this:

    1. Event 1
    2. Event 2
    ………
    N. Event N

    Is there any way to change that return layout? I mean, in place of a vertical list, an horizontal list for example, or even better a grid.

    Reading the doc, i suppose that i can accomplish this with template_header but i cant realize it how to do it.

    Any help would be very welcome.

    Thank you!

    Greetings.

    #61081
    Franky
    Keymaster

    A list, a table – or anything else that represents a number of times data in html code – exists of a html header, a html footer and html content (content that gets repeated multiple times). Taking a table as an example, the header would be e.g. <table>, the footer would be </table> and the content would be 1 single row definition <tr><td>column 1 data</td><td>column 2 data</td></tr>. The header could of course contain the column headers too (like <tr><th>column 1 header</th><th>column 2 header</th></tr>).
    Using those 3 pieces, the table then gets build by first using the header definition, then multiple times the row definition and then the footer definition.

    #61082
    Anonymous
    Inactive

    Franky, thank you so much for your explanation about that! With that theory i could move forward now in how do it. Thanks!

    #61083
    Franky
    Keymaster

    Hmmm … Just saw that my example code wasn’t showing up, corrected now.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top