Update bonanza

This commit is contained in:
nikolark committed 2014-11-20 21:01:19 +01:00
1 parent cb55845271
commit b6ff45d1b4
146 files changed
+15771 -14876

No files matched your search

@@ -32,11 +32,11 @@ function gce_default_editor_content( $content, $post ) {
if( $post->post_type == 'gce_feed' ) {
$content = '<div class="gce-list-event gce-tooltip-event">[event-title]</div>' . "\n";
$content .= '<div><span>Starts:</span> [start-time]</div>' . "\n";
$content .= '<div><span>Ends:</span> [end-date] - [end-time]</div>' . "\n";
$content .= '[if-location]<div><span>Location:</span> [location]</div>[/if-location]' . "\n";
$content .= '[if-description]<div><span>Description:</span> [description]</div>[/if-description]' . "\n";
$content .= '<div>[link newwindow="true"]More details...[/link]</div>' . "\n";
$content .= '<div><span>' . __( 'Starts:', 'gce' ) . '</span> [start-time]</div>' . "\n";
$content .= '<div><span>' . __( 'Ends:', 'gce' ) . '</span> [end-date] - [end-time]</div>' . "\n";
$content .= '[if-location]<div><span>' . __( 'Location:', 'gce' ) . '</span> [location]</div>[/if-location]' . "\n";
$content .= '[if-description]<div><span>' . __( 'Description:', 'gce' ) . '</span> [description]</div>[/if-description]' . "\n";
$content .= '<div>[link newwindow="true"]' . __( 'More details...', 'gce' ) . '[/link]</div>' . "\n";
// Default Post Meta Options
add_post_meta( $post->ID, 'gce_expand_recurring', 1 );
@@ -54,14 +54,14 @@ function gce_default_editor_content( $content, $post ) {
// Default Simple Display Options
add_post_meta( $post->ID, 'gce_display_start', 'time' );
add_post_meta( $post->ID, 'gce_display_start_text', 'Starts:' );
add_post_meta( $post->ID, 'gce_display_start_text', __( 'Starts:', 'gce' ) );
add_post_meta( $post->ID, 'gce_display_end', 'time-date' );
add_post_meta( $post->ID, 'gce_display_end_text', 'Ends:' );
add_post_meta( $post->ID, 'gce_display_end_text', __( 'Ends:', 'gce' ) );
add_post_meta( $post->ID, 'gce_display_separator', ', ' );
add_post_meta( $post->ID, 'gce_display_location_text', 'Location:' );
add_post_meta( $post->ID, 'gce_display_description_text', 'Description:' );
add_post_meta( $post->ID, 'gce_display_location_text', __( 'Location:', 'gce' ) );
add_post_meta( $post->ID, 'gce_display_description_text', __( 'Description:', 'gce' ) );
add_post_meta( $post->ID, 'gce_display_link', 1 );
add_post_meta( $post->ID, 'gce_display_link_text', 'More Details' );
add_post_meta( $post->ID, 'gce_display_link_text', __( 'More Details', 'gce' ) );
}