[EventCalendar] today's event on index

Marc Smith info at stuntmusic.com
Mon May 28 15:21:44 UTC 2007


Felipe,

You can use a plug in that allows you to use PHP code on a page within WordPress. I use runPHP and the code:

<p>

<?php ec3_get_events(4,                                       // limit
'%DATE%: <a href="%LINK%">%TITLE%</a>',  // template_event
   '',                                                                     // template_day
   'j',                                                                    // date_format
   '%MONTH%:'                                                  // template_month
);
?>

</p>

And it appears like this:

http://www.pcdm-band.com   the first page you see is a post using the PHP code within a post.
  ----- Original Message ----- 
  From: Felipe Carvajal Molina 
  To: eventcalendar at firetree.net 
  Sent: Monday, May 28, 2007 10:51 AM
  Subject: [EventCalendar] today's event on index


  Hello guys. First of all, i have to congratulate the team wich created this amazing plugin. 
  I'm a newby on wp and eventcalendar, so i have a lot of question, but i'm gonna ask just one. Here it is...
  how can i make the index page shows the events the same way as if i type ..../wordpress/?ec3_days=7 ?
  Is there any way to start that variables from the index page?
  I'm using wp2.09 and event calendar 3.1.1._rc1.
  Ok. i hope i can solve this, i need it for my proyect.
  Thanks.


------------------------------------------------------------------------------


  _______________________________________________
  Blog: http://wpcal.firetree.net/
  EventCalendar at firetree.net mailing list
  Unsubscribe: http://penguin.firetree.net/eventcalendar



------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.472 / Virus Database: 269.8.1/822 - Release Date: 5/28/2007 11:40 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20070528/4c70d57e/attachment.htm


More information about the EventCalendar mailing list