List events
-
Hi,
I’ve 2 questions:
Question 1
When i use the following code: <?php echo EM_Events::output(array(‘limit’=>4)); ?> I receive the next 4 events. But how could I get only the name of the event and get also the last 4 events. I mean, i except to get something like:
1. Event name 1 (starts on 20/07/2013)
2. Event name 2 (stars on 10/07/2013)
3. Event name 3 (stars on 08/07/2013)
4. Event name 4 (stars on 04/07/2013)PS: I don’t want to show the date, but i want to get the last 4 events (that happens or will happen).
Question 2
Regardless to the question 1, i want to limit the output title no 30 letters, is it possible?Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘List events’ is closed to new replies.