Event Organiser and WPTouch Pro
-
I’ve been using Event Organiser with great success on my desktop theme. I’ve been able to customize the templates to my needs, and have found answers to all of my previous questions either in these support forums or through a Google search.
However, I started using WPTouch Pro (https://www.bravenewcode.com/product/wptouch-pro/) on my website to load a custom mobile theme (which has worked very well for me on other websites), but the Event dates don’t seem to work with my mobile theme. I’m using the same code to display the dates as in my desktop theme, but it just doesn’t seem to work:
<?php if ( eo_get_the_start( 'F d Y' ) != eo_get_the_end( 'F d Y' ) ) { if ( eo_is_all_day() ) eo_the_start( 'F d' ); else eo_the_start( 'F d g:ia' ); echo ' - '; if ( eo_is_all_day() ) eo_the_end( 'F d, Y '); else eo_the_end( 'F d, Y g:ia' ); } elseif ( eo_is_all_day() ) eo_the_start( 'F d, Y' ); else eo_the_start( 'F d, Y g:ia' ); ?>
The Events widget doesn’t display the start date when viewing the mobile theme either – this is something that also works without issue on the desktop theme.
- The topic ‘Event Organiser and WPTouch Pro’ is closed to new replies.