diff --git a/eth-timeline.php b/eth-timeline.php index 5f51ff07db61126bbc351d24c29edee996467ae5..3399b9e83da77698bd3d394194cdda9d79dc55b0 100644 --- a/eth-timeline.php +++ b/eth-timeline.php @@ -386,8 +386,8 @@ class ETH_Timeline { // Info about the item ?> <li class="eth-timeline-item" id="eth-timeline-<?php the_ID(); ?>"> - <span class="date"><?php echo $this->format_date( $times['start'], $year, $month ); ?>–<?php echo $this->format_date( $times['end'], $year, $month, false ); ?>:</span> - <span class="location"><?php the_title(); ?></span> + <span class="eth-timeline-date"><?php echo $this->format_date( $times['start'], $year, $month ); ?>–<?php echo $this->format_date( $times['end'], $year, $month, false ); ?>:</span> + <span class="eth-timeline-location"><?php the_title(); ?></span> <?php $content = get_the_content(); @@ -395,8 +395,9 @@ class ETH_Timeline { if ( ! empty( $content ) ) { $removed = remove_filter( 'the_content', 'wpautop' ); - echo ' <span class="sep">—</span> '; + echo ' <span class="eth-timeline-sep">—</span> <span class="eth-timeline-body">'; the_content(); + echo '</span>'; if ( $removed ) add_filter( 'the_content', 'wpautop' );