Jump to content


Photo
Events

Events Shortcodes



Best Answer James Giroux , 26 March 2013 - 03:58 PM

Through trial and error I have solved my own problem.  It looks like the shortcode attributes need to use the slug in double quotes as follows:

 

 [event_list month="april"]
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 James Giroux

James Giroux

    Super Member

  • Members

  • 123 posts
  • LocationOttawa, Canada
  • Framework Version:Developer
  • Country: Country Flag

Posted 25 March 2013 - 03:33 PM

With the event_list attributes, how should I be entering month information.  For example should I be doing it like this:

 

 [event_list number=1 month="January"]

 

or should I be doing it like this:

 

 [event_list number=1 month=cat_id]


#2 James Giroux

James Giroux

    Super Member

  • Members

  • 123 posts
  • LocationOttawa, Canada
  • Framework Version:Developer
  • Country: Country Flag

Posted 25 March 2013 - 03:34 PM

It doesn't seem to work either way on my site.



#3 James Giroux

James Giroux

    Super Member

  • Members

  • 123 posts
  • LocationOttawa, Canada
  • Framework Version:Developer
  • Country: Country Flag

Posted 26 March 2013 - 03:58 PM   Best Answer

Through trial and error I have solved my own problem.  It looks like the shortcode attributes need to use the slug in double quotes as follows:

 

 [event_list month="april"]


#4 grfnmoss

grfnmoss

    Newbie

  • Members
  • 9 posts
  • Framework Version:1.1.5
  • Country: Country Flag

Posted 05 April 2013 - 01:29 PM

Thanks James!







Also tagged with one or more of these keywords: Events