Support » Plugins » Hacks » Simple events list

  • I’m stuck,
    Can anyone tell me how to create a simple list of events for this plugin?
    For example:

    <ul>
      <!-- START LOOP -->
      <li>
        <a href="event_permalink">event_title</a>
        <p>event_excerpt</p>
      </li>
      <!-- END LOOP -->
    </ul>

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • <ul>
    [event_list]
     <li>
        #_EVENTLINK
        <p>#_EVENTEXERPT</p>
      </li>
    [/event_list]
    </ul>
    Thread Starter kyle_barber

    (@kyle_barber)

    Thanks Marcus,

    Sorry, should have specified, I actually needed code for a template file.
    I have the list formatting in the admin as I need it for the Events page but I need a differently formatted list for the home page.

    in PHP, you’d do something like this

    EM_Events::output(array(‘format’=>’..’));

    instead of the shortcode, where the html of the format within the shortcode would be in the .. bit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Simple events list’ is closed to new replies.