Daniel Milner
Forum Replies Created
-
Never mind. I figured it out. There was a compatibility issue between this plugin and Camera Slideshow plugin.
I was having this same problem. It looks like some debugging code was accidentally left in this release. If you’re comfortable fixing it yourself, you can edit the wp-to-buffer.php file. Make lines 197-201 look like this:
// Do some logging for debugging //$fp = fopen('/Users/tim/sites/_logs/log.txt', 'w+'); //fwrite($fp, print_r($defaults,true)); //fwrite($fp, print_r($post,true)); //fclose($fp);Forum: Plugins
In reply to: [Church Pack] Upgrade to WordPress 3.6 breaks editorI just heard from the developer that he’s working on a fix today.
You might also just be able to use the available shortcode: Shortcode Documentation
<?php echo do_shortcode("[eo_events]"); ?>Something like this should work.
<?php $event_args = array( 'numberposts' => 1, 'orderby' => 'eventstart', 'order' => 'ASC', 'showpastevents' => false, 'post_status' => 'publish' ); $events = eo_get_events($event_args); if ($events): $return= ''; foreach ($events as $event): $return .= $event->post_title; endforeach; echo $return; endif; ?>