Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Seems I’ve finally sorted it all out… thanks so much for your help, @agelonwl!

    Thanks, @agelonwi. Unfortunately, I’ve been unable to get anywhere with this. I’m certain that there’s some obvious answer I’m missing as a noob to this whole thing and not a programmer.

    This is what an event page looks like, sidebar knocked down. Basically, the content of the event is centered on the page – http://thoughtgallery.org/events/f-scott-fitzgerald-from-paradise-to-party-lights/

    Below is the code for this page. At this point, I’m not even sure where to begin and what to place in it to get it flushed to the left. I appreciate any help; you can explain it to me like I’m 12 (or 112) if necessary.

    <?php
    global $post;
    $EM_Event = em_get_event($post->ID, 'post_id');
    ?>
    
    <?php echo $EM_Event->output('<div style="float:right; margin:0px 0px 15px 15px;">#_EVENTIMAGE</div>
    
    <p>
    
    	<strong>Date/Time</strong><br/>
    
    	#_EVENTDATES<br /><i>#_EVENTTIMES</i>
    
    </p>
    
    {has_location}
    
    <p>
    
    	<strong>Location</strong><br/>
    
    	#_LOCATIONLINK<br/>#_LOCATIONADDRESS
    
    </p>
    
    {/has_location}
    
    <p>
    
    	<strong>Category(ies)</strong>
    
    	#_CATEGORIES
    
    </p>
    
    <br style="clear:both" />
    
    #_EVENTNOTES
    
    {has_bookings}
    
    <h3>Bookings</h3>
    
    #_BOOKINGFORM
    
    {/has_bookings}');
    ?>

    Thanks, @agelonwi. My issue is that I take the event-single.php file from plugins/events-manager/templates/templates and re-name it single-event.php (make no other changes to the file), move it to wp-content/themes/twentyeleven-child/ and I get the below error on single event page:

    Fatal error: Call to a member function output_single() on a non-object in /home/content/07/9135807/html/wp-content/themes/twentyeleven-child/single-event.php on line 31

    I’ve been having a similarly difficult time getting the sidebar to work properly with EM as well. I have them on my individual events/locations (by modifying the page.php template in wordpress), but they get pushed to the bottom –

    http://thoughtgallery.org/locations/the-morgan-library-museum/

    I’ve tried messing with single-event.php templates, but get an error every time i load them. Feel like I’m missing something very obvious, but it’s been driving me nuts for a couple days now.

Viewing 4 replies - 1 through 4 (of 4 total)