- This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Layout list in [eme_events]
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.
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.
Franky, thank you so much for your explanation about that! With that theory i could move forward now in how do it. Thanks!
Hmmm … Just saw that my example code wasn’t showing up, corrected now.