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
</p> | |
<?php | |
break; | |
} | |
} | |
} | |
?> | |
<p><a href="<?php echo site_url(); ?>/events">See all events</a></p> | |
<?php | |
/* After widget (defined by themes). */ |
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
// derived from espresso_venue_sc | |
if (!function_exists('espresso_venue_city_sc')) { | |
function espresso_venue_city_sc($atts) { | |
global $wpdb, $this_event_id; | |
empty($atts) ? '' : extract($atts); | |
$FROM = " FROM "; |
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
<p> | |
<a href="<?php echo $registration_url; ?>"> | |
<strong><?php echo stripslashes_deep($event->event_name) ?></strong> | |
- | |
<?php echo do_shortcode('[ESPRESSO_VENUE_CITY event_id="'.$event->id.'"]');?> | |
- | |
<?php echo event_date_display($event->start_date) ?> | |
- | |
$<?php echo do_shortcode('[EVENT_PRICE event_id="'.$event->id.'" number="0"]');?> | |
</a> |
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
<label for="exp_date"><?php _e('Exp. Date (mmyy)', 'event_espresso'); ?></label> |
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
table#event_espresso_attendee_verify tr:nth-child(2), table#event_espresso_attendee_verify tr:nth-child(4){display:none;} |
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
<?php | |
//This is a template file for displaying a list of events on a page. These functions are used with the {ESPRESSO_EVENTS} shortcode. | |
//This is an group of functions for querying all of the events in your databse. | |
//This file should be stored in your "/wp-content/uploads/espresso/templates/" directory. | |
//Note: All of these functions can be overridden using the "Custom Files" addon. The custom files addon also contains sample code to display ongoing events | |
if (!function_exists('display_all_events')) { | |
function display_all_events() { | |
event_espresso_get_event_details(array()); | |
} |
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
<p><?php echo espresso_format_content($event_desc); ?><a href="<?php echo $registration_url; ?>">Read more→</a></p> |
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
//adding markup to the logic on line 81 of widget.php | |
$registration_url = $event->externalURL != '' ? '<a target="_blank" href="' . $event->externalURL . '">' : '<a href="' . espresso_reg_url($event->id) . '">'; | |
//later, on line 130, the a tag needs to be removed from the markup: | |
<p><?php echo $registration_url; ?><?php echo stripslashes_deep($event->event_name) ?> - <?php echo event_date_display($event->start_date) ?></a> | |
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
function espresso_replace_ticket_shortcodes($content, $data) { | |
global $wpdb, $org_options; | |
$SearchValues = array( | |
//Attendee/Event Information | |
"[att_id]", | |
"[qr_code]", | |
"[gravatar]", | |
"[event_id]", | |
"[event_identifier]", | |
"[registration_id]", |
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
<?php | |
/* | |
Template Name: Calendar | |
*/ | |
if(is_blog()){ | |
return require(THEME_DIR . "/template_blog.php"); | |
}elseif(is_front_page()){ | |
return require(THEME_DIR . "/front-page.php"); | |
} | |
$layout = get_post_meta($post->ID, '_layout', true); |
OlderNewer