'artistdatapress-widget', 'description' => __('Display your ArtistData feed in the sidebar', 'artistdatapress-widget') );
parent::__construct( 'artistdatapress-widget', 'ArtistDataPress', $widget_ops );
} //End of artistdatapress_widget function
function form( $instance ) {
$defaults = array( 'title' => 'ArtistDataPress', 'quantity' => '', );
$instance = wp_parse_args( (array) $instance, $defaults );
$title = esc_attr( $instance['title'] ); ?>
get_xml();
echo $before_widget;
if ( !empty( $title ) ) {
echo $before_title . $title . $after_title;
} ?>
-
date );
$date = date( $date_format, $showdate ); ?>
timeSet );
$time = date( $time_format, $gigtime ); ?>
at
name; ?>
venueURI ) ) {
echo ' ' . $show->venueName . '';
} else {
echo ' ' . $show->venueName . '';
}
if ( !empty( $show->venueAddress ) ) { ?>
city;
if ( $show->stateAbbreviation == 'No State' ) {
echo ', ' . $show->country;
} elseif ( $instance['showcountry'] == 'on' ) {
echo ', ' . $show->stateAbbreviation . ', ' . $show->countryAbbreviation;
} else {
echo ', ' . $show->stateAbbreviation;
} ?>
- map
city;
if ( $show->stateAbbreviation == 'No State' ) {
echo ', ' . $show->country;
} elseif ( $instance['showcountry'] == 'on' ) {
echo ', ' . $show->stateAbbreviation . ', ' . $show->countryAbbreviation;
} else {
echo ', ' . $show->stateAbbreviation;
} ?>
ticketURI) ) { ?>
Tickets: ticketPrice; ?>
ticketPrice;
} ?>
Age Limit: ageLimit; ?>
-
More shows