WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Events Manager & Shopp compatibility?

[Resolved] Events Manager & Shopp compatibility?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Marcus

    @netweblogic

    Hi Andy,

    If you disable the override with formatting option for events in Events > Settings > Pages > Event Pages, does that make the shortcode display correctly?

    If not, then what if you switch to the default WP theme?

    Wow, genius!

    I did disable the override and it seems to work just fine!

    Very happy 🙂 Thanks so much.

    Andy

    glad it worked.

    Oh but…

    I stupidly didn’t notice that in doing this it disabled the dates, times, location and google map.

    Any fix for this?

    Thanks,
    Andy

    you need to create cpt templates for this e.g. re-copy your single.php and then rename it to single-event.php and then add something like this

    <?php
      global $post;
      $EM_Event = em_get_event($post->ID, 'post_id');
    ?>
    
    <header class="entry-header">
      <h1 class="entry-title"><?php echo $EM_Event->output('#_EVENTNAME'); ?></h1>
     </header>
    
    <div class="entry-content">
     <p><?php echo $EM_Event->output( get_option('dbem_single_event_format') ); ?></p>
    </div>

    http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=22

    I’m the web dude for Andy ‘shotage’. That did it, thanks so much!

    Thank you agelonwl 🙂

    In the solution given by agelonwl, the social sharing icons supplied with WordPress Jetpack aren’t included. Does anyone know an addition to `<?php
    global $post;
    $EM_Event = em_get_event($post->ID, ‘post_id’);
    ?>

    <header class=”entry-header”>
    <h1 class=”entry-title”><?php echo $EM_Event->output(‘#_EVENTNAME’); ?></h1>
    </header>

    <div class=”entry-content”>
    <p><?php echo $EM_Event->output( get_option(‘dbem_single_event_format’) ); ?></p>
    </div>` That will include those sharing icons?

    Thanks,

    hi @jeremybr0wn

    maybe Jetpack has a similar code which you can use; e.g. shortcode

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Events Manager & Shopp compatibility?’ is closed to new replies.