I’ve 2 questions:
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).
Regardless to the question 1, i want to limit the output title no 30 letters, is it possible?
- The topic ‘List events’ is closed to new replies.