Viewing 4 replies - 1 through 4 (of 4 total)
  • An example of how to use it

    <?php echo do_shortcode('[events_list limit="10"]
    <ul class="event">
    	<li>
    		<img class="thumb" src=#_EVENTIMAGEURL />
    		<div class="details">
    			<h3>#_EVENTNAME</h3>
    			<p>#_EVENTDATES</p>
    			<p>#_EVENTTIMES</p>
    		</div>
    		<div class="description">
    			#_EVENTNOTES
    		</div>
    		<div class="description-toggle">See description</div>
    	</li>
    </ul>
    [/events_list]'); ?>
    Thread Starter Bhuvnesh Gupta

    (@bhuvnesh)

    Thanks! @dullejohn

    thanks for the code dude….

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    yup, that’s how! alternatively, skip shortcodes and go to the ‘source’

    EM_Events::output(array('limit'=>10, 'format'=>'placeholders etc.'));

    you may want to add the ul tags outside of both the shortcode example above and this one.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to use 'Event Manager Shortcodes' plugin via the php code.’ is closed to new replies.