-
-
Save Pebblo/63c46c5f1327bec96a2d026df4438433 to your computer and use it in GitHub Desktop.
Example of how to change the table view template order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="event-id-<?php echo $post->ID; ?>" class="ee_grid_box_v2 item"> | |
<?php do_action( 'AHEE__espresso_grid_template_template__grid_item_start', $post ); ?> | |
<div class="event-title title"><?php echo $post->post_title; ?></div> | |
<img src="<?php echo $image; ?>" alt="<?php echo sprintf( esc_attr__( '%s Feature Image', 'event_espresso'), $post->post_title ); ?>" /> | |
<p class="start-date"> | |
<span class="event-start-date"><?php echo $start_date; ?></span> | |
| |
<span class="event-start-time"><?php echo $start_time; ?></span> | |
</p> | |
<p class="event-link"><?php echo '<a class="register-link button" id="a_register_link-' . $post->ID .'" href="' . $registration_url . '">' . $button_text . '</a>'; ?></p> | |
<?php do_action( 'AHEE__espresso_grid_template_template__grid_item_end', $post ); ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment