Timeline Express - Version 1.0.2

Version Description

  • Add a display order setting to set Ascending or Descending display order for announcements in the timeline
  • Fixed "cannot access settings page" when clicking on the settings tab when on the settings page already
Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 Timeline Express
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

README.md CHANGED
@@ -1,4 +1,4 @@
1
- Timeline Express v1.0
2
  ================
3
 
4
  Timeline express allows you to create a vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
@@ -15,6 +15,7 @@ Timeline express allows you to create a vertical animated and responsive timelin
15
  * Delete announcements on uninstallation (so no orphan posts are hanging around in your database)
16
  * Easy to use shortcode to place the timeline wherever your heart desires ( `[timeline-express]` )
17
  * TinyMCE button to generate the shortcode
 
18
  * Highly extensible
19
  * Translatable
20
 
@@ -89,6 +90,10 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
89
 
90
 
91
  ### Changelog
 
 
 
 
92
  ###### 1.0.1
93
  * Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
94
 
@@ -96,6 +101,12 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
96
  * Initial Release to the wordpress respository
97
 
98
  ### Upgrade Notice
 
 
 
 
 
 
99
 
100
  ###### 1.0
101
  * Initial Release to the wordpress respository
1
+ Timeline Express v1.0.2
2
  ================
3
 
4
  Timeline express allows you to create a vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
15
  * Delete announcements on uninstallation (so no orphan posts are hanging around in your database)
16
  * Easy to use shortcode to place the timeline wherever your heart desires ( `[timeline-express]` )
17
  * TinyMCE button to generate the shortcode
18
+ * Specify Ascending vs Descending display order
19
  * Highly extensible
20
  * Translatable
21
 
90
 
91
 
92
  ### Changelog
93
+ ###### 1.0.2
94
+ * Add display order setting to specify ascending or descending order of announcements in the timeline
95
+ * Fixed "cannot access settings page" when clicking on the settings tab when on the settings page already
96
+
97
  ###### 1.0.1
98
  * Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
99
 
101
  * Initial Release to the wordpress respository
102
 
103
  ### Upgrade Notice
104
+ ###### 1.0.2
105
+ * Add display order setting to specify ascending or descending order of announcements in the timeline
106
+ * Fixed "cannot access settings page" when clicking on the settings tab when on the settings page already
107
+
108
+ ###### 1.0.1
109
+ * Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
110
 
111
  ###### 1.0
112
  * Initial Release to the wordpress respository
classes/class.timeline-express.php CHANGED
@@ -407,6 +407,7 @@ if(!class_exists("timelineExpressBase"))
407
  'date-visibility' => '1',
408
  'default-announcement-icon' => "fa-exclamation-triangle",
409
  'announcement-time-frame' => "0",
 
410
  'no-events-message' => "No announcements found",
411
  'announcement-bg-color' => "#EFEFEF",
412
  'announcement-box-shadow-color' => "#B9C5CD",
@@ -540,6 +541,7 @@ if(!class_exists("timelineExpressBase"))
540
  $this->timeline_express_optionVal['date-visibility'] = $fd['date-visibility'];
541
  $this->timeline_express_optionVal['default-announcement-icon'] = $fd['default-announcement-icon'];
542
  $this->timeline_express_optionVal['announcement-time-frame'] = $fd['announcement-time-frame'];
 
543
  $this->timeline_express_optionVal['no-events-message'] = stripslashes( $fd['no-events-message'] );
544
  $this->timeline_express_optionVal['announcement-bg-color'] = stripslashes( $fd['announcement-bg-color'] );
545
  $this->timeline_express_optionVal['announcement-box-shadow-color'] = $fd['announcement-box-shadow-color'];
@@ -643,6 +645,7 @@ if(!class_exists("timelineExpressBase"))
643
  $content_background = $this->timeline_express_optionVal['announcement-bg-color'];
644
  $content_shadow = $this->timeline_express_optionVal['announcement-box-shadow-color'];
645
  $background_line_color = $this->timeline_express_optionVal['announcement-background-line-color'];
 
646
 
647
  $current_date = strtotime( date( 'm/d/Y' ) );
648
 
@@ -671,7 +674,7 @@ if(!class_exists("timelineExpressBase"))
671
  'post_type' => 'te_announcements',
672
  'meta_key' => 'announcement_date',
673
  'orderby' => 'meta_value_num',
674
- 'order' => 'ASC',
675
  'posts_per_page' => -1,
676
  );
677
  } else {
@@ -681,7 +684,7 @@ if(!class_exists("timelineExpressBase"))
681
  'post_type' => 'te_announcements',
682
  'meta_key' => 'announcement_date',
683
  'orderby' => 'meta_value_num',
684
- 'order' => 'ASC',
685
  'posts_per_page' => -1,
686
  'meta_query' => array(
687
  array(
@@ -823,9 +826,9 @@ if(!class_exists("timelineExpressBase"))
823
  public function addAdministrationMenu() {
824
  // Sub Items
825
  // Settings Page
826
- add_submenu_page('options-general.php', __('Timeline Express Settings','timeline-express-text-domain'), __('Timline Express','timeline-express-text-domain'), 'manage_options', 'timeline-express-settings', array(&$this, 'generateOptionsPage'));
827
  // Welcome Page
828
- add_submenu_page('options.php', __('Timeline Express Welcome','timeline-express-text-domain'), __('Timeline Express Welcome','timeline-express-text-domain'), 'manage_options', 'timeline-express-welcome', array(&$this, 'generateWelcomePage'));
829
  }
830
 
831
 
@@ -857,6 +860,7 @@ if(!class_exists("timelineExpressBase"))
857
  $this->timeline_express_optionVal['date-visibility'] = '1';
858
  $this->timeline_express_optionVal['default-announcement-icon'] = "fa-exclamation-triangle";
859
  $this->timeline_express_optionVal['announcement-time-frame'] = "0";
 
860
  $this->timeline_express_optionVal['no-events-message'] = "No announcements found";
861
  $this->timeline_express_optionVal['announcement-bg-color'] = "#EFEFEF";
862
  $this->timeline_express_optionVal['announcement-box-shadow-color'] = "#B9C5CD";
@@ -889,13 +893,18 @@ if(!class_exists("timelineExpressBase"))
889
  }
890
 
891
  /**
892
- * Future update function to add missing options etc.
 
 
 
893
  *
894
- * 1.0.0 => 1.0.1
 
895
  private function runUpdateTasks_1_0_1() {
896
-
 
897
  }
898
- */
899
 
900
  } // end class timelineExpressBase
901
  } // end if class exists check
407
  'date-visibility' => '1',
408
  'default-announcement-icon' => "fa-exclamation-triangle",
409
  'announcement-time-frame' => "0",
410
+ 'announcement-display-order' => 'ASC',
411
  'no-events-message' => "No announcements found",
412
  'announcement-bg-color' => "#EFEFEF",
413
  'announcement-box-shadow-color' => "#B9C5CD",
541
  $this->timeline_express_optionVal['date-visibility'] = $fd['date-visibility'];
542
  $this->timeline_express_optionVal['default-announcement-icon'] = $fd['default-announcement-icon'];
543
  $this->timeline_express_optionVal['announcement-time-frame'] = $fd['announcement-time-frame'];
544
+ $this->timeline_express_optionVal['announcement-display-order'] = $fd['announcement-display-order'];
545
  $this->timeline_express_optionVal['no-events-message'] = stripslashes( $fd['no-events-message'] );
546
  $this->timeline_express_optionVal['announcement-bg-color'] = stripslashes( $fd['announcement-bg-color'] );
547
  $this->timeline_express_optionVal['announcement-box-shadow-color'] = $fd['announcement-box-shadow-color'];
645
  $content_background = $this->timeline_express_optionVal['announcement-bg-color'];
646
  $content_shadow = $this->timeline_express_optionVal['announcement-box-shadow-color'];
647
  $background_line_color = $this->timeline_express_optionVal['announcement-background-line-color'];
648
+ $display_order = $this->timeline_express_optionVal['announcement-display-order'];
649
 
650
  $current_date = strtotime( date( 'm/d/Y' ) );
651
 
674
  'post_type' => 'te_announcements',
675
  'meta_key' => 'announcement_date',
676
  'orderby' => 'meta_value_num',
677
+ 'order' => $display_order,
678
  'posts_per_page' => -1,
679
  );
680
  } else {
684
  'post_type' => 'te_announcements',
685
  'meta_key' => 'announcement_date',
686
  'orderby' => 'meta_value_num',
687
+ 'order' => $display_order,
688
  'posts_per_page' => -1,
689
  'meta_query' => array(
690
  array(
826
  public function addAdministrationMenu() {
827
  // Sub Items
828
  // Settings Page
829
+ add_submenu_page('options-general.php', __('Timeline Express Settings','timeline-express'), __('Timline Express','timeline-express'), 'manage_options', 'timeline-express-settings', array(&$this, 'generateOptionsPage'));
830
  // Welcome Page
831
+ add_submenu_page('options.php', __('Timeline Express Welcome','timeline-express'), __('Timeline Express Welcome','timeline-express'), 'manage_options', 'timeline-express-welcome', array(&$this, 'generateWelcomePage'));
832
  }
833
 
834
 
860
  $this->timeline_express_optionVal['date-visibility'] = '1';
861
  $this->timeline_express_optionVal['default-announcement-icon'] = "fa-exclamation-triangle";
862
  $this->timeline_express_optionVal['announcement-time-frame'] = "0";
863
+ $this->timeline_express_optionVal['announcement-display-order'] = "ASC";
864
  $this->timeline_express_optionVal['no-events-message'] = "No announcements found";
865
  $this->timeline_express_optionVal['announcement-bg-color'] = "#EFEFEF";
866
  $this->timeline_express_optionVal['announcement-box-shadow-color'] = "#B9C5CD";
893
  }
894
 
895
  /**
896
+ * Update function to add missing options etc.
897
+ * runUpdateTasks_(old version number)
898
+ * remember to update version number here
899
+ * and add any missing options!
900
  *
901
+ * 1.0.1 => 1.0.2
902
+ */
903
  private function runUpdateTasks_1_0_1() {
904
+ $this->timeline_express_optionVal['announcement-display-order'] = 'ASC';
905
+ $this->timeline_express_optionVal['version'] = '1.0.2';
906
  }
907
+
908
 
909
  } // end class timelineExpressBase
910
  } // end if class exists check
pages/options.php CHANGED
@@ -24,10 +24,10 @@ jQuery(document).ready(function ($) {
24
  dataType: 'json',
25
  success: function (RESPONSE) {
26
  if (RESPONSE == '1') {
27
- $('#timeline-express-status').html('<div class=updated><p><?php _e('The options were saved successfully!', 'plugin-boilerplate'); ?></p></div>');
28
  $('#timeline-express-status').slideDown('fast');
29
  } else {
30
- $('#timeline-express-status').html("<div class=error><p><?php _e("The options could not be saved (or you did not change them).", "plugin-boilerplate"); ?></p></div>");
31
  $('#timeline-express-status').slideDown('fast');
32
  console.log(RESPONSE);
33
  }
@@ -42,7 +42,7 @@ jQuery(document).ready(function ($) {
42
 
43
  // Reset Plugin Ajax Request
44
  $('#timeline-express-reset-plugin-settings').click(function(e) {
45
- $("<div id='timeline_express_reset_plugin_settings'><div class='dashicons dashicons-dismiss'></div><p><?php _e("Are you sure you want to revert 'Timeline Express' settings? This cannot be undone.", "plugin-boilerplate" ); ?></p></div>").dialog({
46
  title : "Revert Settings?",
47
  buttons : {
48
  "Yes" : function() {
@@ -55,7 +55,7 @@ jQuery(document).ready(function ($) {
55
  },
56
  dataType: 'json',
57
  success: function () {
58
- $( "#timeline_express_reset_plugin_settings" ).html('<p><?php _e("Timeline Express settings have successfully been reset", "plugin-boilerplate" ); ?></p><span class="timeline-express-reset-plugin-settings-preloader-container"><img class="timeline-express-reset-plugin-settings-preloader" src="<?php echo plugin_dir_url(__FILE__).'../images/preloader.gif'; ?>" alt="preloader" /></span>');
59
  $( "#timeline_express_reset_plugin_settings" ).next().hide();
60
  $( "#timeline_express_reset_plugin_settings" ).prev().text("Success!");
61
  setTimeout(function() {
@@ -141,8 +141,8 @@ function toggle_delete_checkbox() {
141
  <a href="http://www.evan-herman.com/contact/?contact-name=<?php echo $current_user_name; ?>&contact-reason=I want to make a donation for all your hard work" target="_blank" title="Cosnider Making a Donation For Continued Support">
142
  <span class="timeline_express_need_support">
143
  <strong>
144
- <?php _e( 'Please Consider', 'plugin-boilerplate' ); ?> <br />
145
- <?php _e( 'Making a Donation', 'plugin-boilerplate' ); ?> <br />
146
  <div class="fa fa-paypal"></div>
147
  </strong>
148
  </span>
@@ -150,8 +150,8 @@ function toggle_delete_checkbox() {
150
  <a href="https://wordpress.org/support/plugin/timeline-express" target="_blank" title="Timeline Express Support">
151
  <span class="timeline_express_need_support">
152
  <strong>
153
- <?php _e( 'Need Help?', 'plugin-boilerplate' ); ?> <br />
154
- <?php _e( 'Get Support Now!', 'plugin-boilerplate' ); ?> <br />
155
  <div class="dashicons dashicons-plus-alt"></div>
156
  </strong>
157
  </span>
@@ -159,8 +159,8 @@ function toggle_delete_checkbox() {
159
  <a href="http://wordpress.org/support/view/plugin-reviews/timeline-express" target="_blank" title="Review Timeline Express">
160
  <span class="timeline_express_leave_us_a_review">
161
  <strong>
162
- <?php _e( 'Loving the plugin?', 'plugin-boilerplate' ); ?> <br />
163
- <?php _e( 'Leave us a nice review', 'plugin-boilerplate' ); ?> <br />
164
  <div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div>
165
  </strong>
166
  </span>
@@ -172,11 +172,11 @@ function toggle_delete_checkbox() {
172
 
173
  <!-- tabs -->
174
  <h2 class="nav-tab-wrapper">
175
- <a href="?post_type=te_announcements&page=timeline-express-settings&tab=settings" class="nav-tab <?php echo $active_tab == 'settings' ? 'nav-tab-active' : ''; ?>"><?php _e('Timeline Express','plugin-boilerplate'); ?></a>
176
  </h2>
177
 
178
  <h2 id="timeline-express-page-header">
179
- <div id="timeline-express-icon" class="icon32"></div><?php _e('Timeline Express Settings','plugin-boilerplate'); ?>
180
  </h2>
181
 
182
  <div class="timeline-express-status" id="timeline-express-status"></div>
@@ -190,19 +190,19 @@ function toggle_delete_checkbox() {
190
 
191
  <!-- Timeline Express Title -->
192
  <tr valign="top">
193
- <th scope="row"><label for="timeline-title"><?php _e('Timeline Title','plugin-boilerplate'); ?></label></th>
194
  <td>
195
  <input name="timeline-title" type="text" id="timeline-title" value="<?php echo stripslashes( $this->timeline_express_optionVal['timeline-title'] ); ?>" class="regular-text" />
196
  <select name="timeline-title-alignment" id="timeline-title-alignment" class="regular-text" style="height:27px; margin-top:-3px;" />
197
- <option value="left"<?php echo ($this->timeline_express_optionVal['timeline-title-alignment'] === 'left' ? ' selected' : ''); ?>><?php _e('Left','plugin-boilerplate'); ?></option>
198
- <option value="center"<?php echo ($this->timeline_express_optionVal['timeline-title-alignment'] === 'center' ? ' selected' : ''); ?>><?php _e('Center','plugin-boilerplate'); ?></option>
199
- <option value="right"<?php echo ($this->timeline_express_optionVal['timeline-title-alignment'] === 'right' ? ' selected' : ''); ?>><?php _e('Right','plugin-boilerplate'); ?></option>
200
  </select>
201
  <select name="timeline-title-size" id="timeline-title-size" class="regular-text" style="height:27px; margin-top:-3px;" />
202
- <option value="h1"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h1' ? ' selected' : ''); ?>><?php _e('H1','plugin-boilerplate'); ?></option>
203
- <option value="h2"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h2' ? ' selected' : ''); ?>><?php _e('H2','plugin-boilerplate'); ?></option>
204
- <option value="h3"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h3' ? ' selected' : ''); ?>><?php _e('H3','plugin-boilerplate'); ?></option>
205
- <option value="h4"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h4' ? ' selected' : ''); ?>><?php _e('H4','plugin-boilerplate'); ?></option>
206
  </select>
207
  </td>
208
  </tr>
@@ -210,30 +210,47 @@ function toggle_delete_checkbox() {
210
  <tr>
211
  <td></td>
212
  <td class="timeline-express-settings-description">
213
- <?php _e('Enter the title for the time line // Select the alignment // Select the font size','plugin-boilerplate'); ?><br />
214
  </td>
215
  </tr>
216
- <!-- Preferred Form Layout (table or div) -->
217
  <tr valign="top">
218
- <th scope="row"><label for="announcement-time-frame"><?php _e('Time Frame','plugin-boilerplate'); ?></label></th>
219
  <td>
220
  <select name="announcement-time-frame" id="announcement-time-frame" class="regular-text" />
221
- <option value="0"<?php echo ($this->timeline_express_optionVal['announcement-time-frame'] === '0' ? ' selected' : ''); ?>><?php _e('Future Events','plugin-boilerplate'); ?></option>
222
- <option value="1"<?php echo ($this->timeline_express_optionVal['announcement-time-frame'] === '1' ? ' selected' : ''); ?>><?php _e('All Events (past+future)','plugin-boilerplate'); ?></option>
223
- <option value="2"<?php echo ($this->timeline_express_optionVal['announcement-time-frame'] === '2' ? ' selected' : ''); ?>><?php _e('Past Events','plugin-boilerplate'); ?></option>
224
  </select>
225
  </td>
226
  </tr>
227
  <tr>
228
  <td></td>
229
- <!-- Query Time Description -->
230
  <td class="timeline-express-settings-description">
231
- <?php _e('Select the time frame to query events from.','plugin-boilerplate'); ?>
232
  </td>
233
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
  <!-- Excerpt Trim Length -->
235
  <tr valign="top">
236
- <th scope="row"><label for="excerpt-trim-length"><?php _e('Announcement Exceprt Length','plugin-boilerplate'); ?></label></th>
237
  <td>
238
  <input <?php if( $this->timeline_express_optionVal['excerpt-random-length'] == '1' ) { ?> style="display:none;" <?php } ?> type="number" name="excerpt-trim-length" min="25" max="200" value="<?php echo $this->timeline_express_optionVal['excerpt-trim-length']; ?>"><label for="excerpt-random-length"><input type="checkbox" id="excerpt-random-length" name="excerpt-random-length" onclick="changeRandomTrimLengthCheckbox();" value="1" <?php checked( $this->timeline_express_optionVal['excerpt-random-length'] , '1' ); ?> <?php if( $this->timeline_express_optionVal['excerpt-random-length'] == '0' ) { ?> style="margin-left:.5em;" <?php } ?>><span id="random-lenth-text-container"<?php if( $this->timeline_express_optionVal['excerpt-random-length'] == '0' ) { ?> class="random-length-text" <?php } ?>>random length</label></span>
239
  </td>
@@ -242,16 +259,16 @@ function toggle_delete_checkbox() {
242
  <td></td>
243
  <!-- Excerpt Trim Length Description -->
244
  <td class="timeline-express-settings-description">
245
- <?php _e('set the length of the excerpt for each announcement. ( min=25;max=200 eg: 50 = 50 characters )','plugin-boilerplate'); ?>
246
  </td>
247
  </tr>
248
  <!-- Toggle Date Visibility -->
249
  <tr valign="top">
250
- <th scope="row"><label for="date-visibility"><?php _e('Date Visibility','plugin-boilerplate'); ?></label></th>
251
  <td>
252
  <select name="date-visibility" id="date-visibility" class="regular-text" />
253
- <option value="1"<?php echo ($this->timeline_express_optionVal['date-visibility'] === '1' ? ' selected' : ''); ?>><?php _e('Visible','plugin-boilerplate'); ?></option>
254
- <option value="0"<?php echo ($this->timeline_express_optionVal['date-visibility'] === '0' ? ' selected' : ''); ?>><?php _e('Hidden','plugin-boilerplate'); ?></option>
255
  </select>
256
  </td>
257
  </tr>
@@ -259,16 +276,16 @@ function toggle_delete_checkbox() {
259
  <td></td>
260
  <!-- Toggle Date Visibility Description -->
261
  <td class="timeline-express-settings-description">
262
- <?php _e('toggle the visibility of the date next to the icon.','plugin-boilerplate'); ?>
263
  </td>
264
  </tr>
265
  <!-- Toggle Read Visibility More -->
266
  <tr valign="top">
267
- <th scope="row"><label for="read-more-visibility"><?php _e('Read More Visibility','plugin-boilerplate'); ?></label></th>
268
  <td>
269
  <select name="read-more-visibility" id="read-more-visibility" class="regular-text" />
270
- <option value="1" <?php selected( $this->timeline_express_optionVal['read-more-visibility'] , '1' ); ?>><?php _e('Visible','plugin-boilerplate'); ?></option>
271
- <option value="0" <?php selected( $this->timeline_express_optionVal['read-more-visibility'] , '0' ); ?>><?php _e('Hidden','plugin-boilerplate'); ?></option>
272
  </select>
273
  </td>
274
  </tr>
@@ -276,12 +293,12 @@ function toggle_delete_checkbox() {
276
  <td></td>
277
  <!-- Toggle Read More Visibility Description -->
278
  <td class="timeline-express-settings-description">
279
- <?php _e('toggle the visibility of the read more button. hide to prevent users from viewing the full announcement.','plugin-boilerplate'); ?>
280
  </td>
281
  </tr>
282
  <tr valign="top">
283
  <!-- Default Announcement Icon -->
284
- <th scope="row"><label for="default-announcement-icon"><?php _e('Default Icon','plugin-boilerplate'); ?></label></th>
285
  <td>
286
  <input name="default-announcement-icon" type="text" id="default-announcement-icon" value="<?php echo $this->timeline_express_optionVal['default-announcement-icon']; ?>" class="regular-text" />
287
  </td>
@@ -290,12 +307,12 @@ function toggle_delete_checkbox() {
290
  <td></td>
291
  <!-- Default Announcement Icon Description -->
292
  <td class="timeline-express-settings-description">
293
- <?php _e('Enter the font-awesome class name that you would like to use a default icon for new events. ie: fa-clock-alt','plugin-boilerplate'); ?> <a href="http://fortawesome.github.io/Font-Awesome/cheatsheet/" target="_blank" style="font-size:12px;font-style:em;">cheat sheet</a>
294
  </td>
295
  </tr>
296
  <tr valign="top">
297
  <!-- Default Announcement Color -->
298
- <th scope="row"><label for="default-announcement-color"><?php _e('Default Announcement Color','plugin-boilerplate'); ?></label></th>
299
  <td>
300
  <input name="default-announcement-color" type="text" id="default-announcement-color" value="<?php echo $this->timeline_express_optionVal['default-announcement-color']; ?>" class="regular-text color-picker-field" />
301
  </td>
@@ -304,12 +321,12 @@ function toggle_delete_checkbox() {
304
  <td></td>
305
  <!-- Default Announcement Color -->
306
  <td class="timeline-express-settings-description">
307
- <?php _e('Select the default color for all new events. Note : this setting can be overwritten','plugin-boilerplate'); ?>
308
  </td>
309
  </tr>
310
  <tr valign="top">
311
  <!-- Single Announcement Container Background -->
312
- <th scope="row"><label for="announcement-bg-color"><?php _e('Announcement Container Background','plugin-boilerplate'); ?></label></th>
313
  <td>
314
  <input type="text" name="announcement-bg-color" class="color-picker-field" value="<?php echo $this->timeline_express_optionVal['announcement-bg-color']; ?>" />
315
  </td>
@@ -318,12 +335,12 @@ function toggle_delete_checkbox() {
318
  <td></td>
319
  <!-- Custom Interest Group Label Description -->
320
  <td class="timeline-express-settings-description">
321
- <?php _e('Select the background color of the announcement container.','plugin-boilerplate'); ?>
322
  </td>
323
  </tr>
324
  <tr valign="top">
325
  <!-- Single Announcement Box Shadow Color -->
326
- <th scope="row"><label for="announcement-box-shadow-color"><?php _e('Announcement Shadow Color','plugin-boilerplate'); ?></label></th>
327
  <td>
328
  <input type="text" name="announcement-box-shadow-color" class="color-picker-field" value="<?php echo $this->timeline_express_optionVal['announcement-box-shadow-color']; ?>" />
329
  </td>
@@ -332,12 +349,12 @@ function toggle_delete_checkbox() {
332
  <td></td>
333
  <!-- Custom Interest Group Label Description -->
334
  <td class="timeline-express-settings-description">
335
- <?php _e('Select the shadow color for the announcement container.','plugin-boilerplate'); ?>
336
  </td>
337
  </tr>
338
  <tr valign="top">
339
  <!-- Background Line Color -->
340
- <th scope="row"><label for="announcement-background-line-color"><?php _e('Background Line Color','plugin-boilerplate'); ?></label></th>
341
  <td>
342
  <input type="text" name="announcement-background-line-color" class="color-picker-field" value="<?php echo $this->timeline_express_optionVal['announcement-background-line-color']; ?>" />
343
  </td>
@@ -346,12 +363,12 @@ function toggle_delete_checkbox() {
346
  <td></td>
347
  <!-- Background Line Color Description -->
348
  <td class="timeline-express-settings-description">
349
- <?php _e('Select the color of the line in the background of the timeline.','plugin-boilerplate'); ?>
350
  </td>
351
  </tr>
352
  <tr valign="top">
353
  <!-- No Events Message -->
354
- <th scope="row"><label for="no-events-message"><?php _e('No Events Message','plugin-boilerplate'); ?></label></th>
355
  <td>
356
  <?php wp_editor( stripslashes( $this->timeline_express_optionVal['no-events-message'] ) , 'no-events-message', $no_event_messages_parameters); ?>
357
  </td>
@@ -360,12 +377,12 @@ function toggle_delete_checkbox() {
360
  <td></td>
361
  <!-- No Events Message Description -->
362
  <td class="timeline-express-settings-description">
363
- <em><?php _e('This is the message that will display when no announcements are found.','plugin-boilerplate'); ?></em>
364
  </td>
365
  </tr>
366
  <tr valign="top">
367
  <!-- Background Line Color -->
368
- <th scope="row"><label for="delete-announcement-posts-on-uninstallation"><?php _e('Delete Announcements On Uninstall?','plugin-boilerplate'); ?></label></th>
369
  <td>
370
  <input type="checkbox" name="delete-announcement-posts-on-uninstallation" onclick="toggleDeleteCheckClass();" <?php checked( $this->timeline_express_optionVal['delete-announcement-posts-on-uninstallation'] , '1' ); ?> value="1" /><span class="<?php if( $this->timeline_express_optionVal['delete-announcement-posts-on-uninstallation'] == '0' ) { ?> delete-no <?php } else { ?> delete-yes <?php } ?>" onclick="toggle_delete_checkbox();"></span>
371
  </td>
@@ -374,12 +391,12 @@ function toggle_delete_checkbox() {
374
  <td></td>
375
  <!-- Background Line Color Description -->
376
  <td class="timeline-express-settings-description">
377
- <?php _e('select this to delete all announcement posts from the data base on plugin uninstallation. this can not be undone, once they are deleted they are gone forever. If you want to keep them, export your announcements before uninstalling.','plugin-boilerplate'); ?>
378
  </td>
379
  </tr>
380
  <tr>
381
  <td></td>
382
- <td><input type="submit" name="submit" id="submit" class="button-primary" value="<?php _e( 'Save Settings' , 'plugin-boilerplate' ); ?>"><input type="submit" name="timeline-express-reset-plugin-settings" id="timeline-express-reset-plugin-settings" class="button timeline-express-red-button" value="<?php _e( 'Reset Plugin Settings' , 'plugin-boilerplate' ); ?>"></td>
383
  </tr>
384
 
385
  </tbody>
24
  dataType: 'json',
25
  success: function (RESPONSE) {
26
  if (RESPONSE == '1') {
27
+ $('#timeline-express-status').html('<div class=updated><p><?php _e('The options were saved successfully!', 'timeline-express'); ?></p></div>');
28
  $('#timeline-express-status').slideDown('fast');
29
  } else {
30
+ $('#timeline-express-status').html("<div class=error><p><?php _e("The options could not be saved (or you did not change them).", "timeline-express"); ?></p></div>");
31
  $('#timeline-express-status').slideDown('fast');
32
  console.log(RESPONSE);
33
  }
42
 
43
  // Reset Plugin Ajax Request
44
  $('#timeline-express-reset-plugin-settings').click(function(e) {
45
+ $("<div id='timeline_express_reset_plugin_settings'><div class='dashicons dashicons-dismiss'></div><p><?php _e("Are you sure you want to revert 'Timeline Express' settings? This cannot be undone.", "timeline-express" ); ?></p></div>").dialog({
46
  title : "Revert Settings?",
47
  buttons : {
48
  "Yes" : function() {
55
  },
56
  dataType: 'json',
57
  success: function () {
58
+ $( "#timeline_express_reset_plugin_settings" ).html('<p><?php _e("Timeline Express settings have successfully been reset", "timeline-express" ); ?></p><span class="timeline-express-reset-plugin-settings-preloader-container"><img class="timeline-express-reset-plugin-settings-preloader" src="<?php echo plugin_dir_url(__FILE__).'../images/preloader.gif'; ?>" alt="preloader" /></span>');
59
  $( "#timeline_express_reset_plugin_settings" ).next().hide();
60
  $( "#timeline_express_reset_plugin_settings" ).prev().text("Success!");
61
  setTimeout(function() {
141
  <a href="http://www.evan-herman.com/contact/?contact-name=<?php echo $current_user_name; ?>&contact-reason=I want to make a donation for all your hard work" target="_blank" title="Cosnider Making a Donation For Continued Support">
142
  <span class="timeline_express_need_support">
143
  <strong>
144
+ <?php _e( 'Please Consider', 'timeline-express' ); ?> <br />
145
+ <?php _e( 'Making a Donation', 'timeline-express' ); ?> <br />
146
  <div class="fa fa-paypal"></div>
147
  </strong>
148
  </span>
150
  <a href="https://wordpress.org/support/plugin/timeline-express" target="_blank" title="Timeline Express Support">
151
  <span class="timeline_express_need_support">
152
  <strong>
153
+ <?php _e( 'Need Help?', 'timeline-express' ); ?> <br />
154
+ <?php _e( 'Get Support Now!', 'timeline-express' ); ?> <br />
155
  <div class="dashicons dashicons-plus-alt"></div>
156
  </strong>
157
  </span>
159
  <a href="http://wordpress.org/support/view/plugin-reviews/timeline-express" target="_blank" title="Review Timeline Express">
160
  <span class="timeline_express_leave_us_a_review">
161
  <strong>
162
+ <?php _e( 'Loving the plugin?', 'timeline-express' ); ?> <br />
163
+ <?php _e( 'Leave us a nice review', 'timeline-express' ); ?> <br />
164
  <div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div><div class="dashicons dashicons-star-filled"></div>
165
  </strong>
166
  </span>
172
 
173
  <!-- tabs -->
174
  <h2 class="nav-tab-wrapper">
175
+ <a href="#" onclick="return false;" class="nav-tab <?php echo $active_tab == 'settings' ? 'nav-tab-active' : ''; ?>"><?php _e('Timeline Express','timeline-express'); ?></a>
176
  </h2>
177
 
178
  <h2 id="timeline-express-page-header">
179
+ <div id="timeline-express-icon" class="icon32"></div><?php _e('Timeline Express Settings','timeline-express'); ?>
180
  </h2>
181
 
182
  <div class="timeline-express-status" id="timeline-express-status"></div>
190
 
191
  <!-- Timeline Express Title -->
192
  <tr valign="top">
193
+ <th scope="row"><label for="timeline-title"><?php _e('Timeline Title','timeline-express'); ?></label></th>
194
  <td>
195
  <input name="timeline-title" type="text" id="timeline-title" value="<?php echo stripslashes( $this->timeline_express_optionVal['timeline-title'] ); ?>" class="regular-text" />
196
  <select name="timeline-title-alignment" id="timeline-title-alignment" class="regular-text" style="height:27px; margin-top:-3px;" />
197
+ <option value="left"<?php echo ($this->timeline_express_optionVal['timeline-title-alignment'] === 'left' ? ' selected' : ''); ?>><?php _e('Left','timeline-express'); ?></option>
198
+ <option value="center"<?php echo ($this->timeline_express_optionVal['timeline-title-alignment'] === 'center' ? ' selected' : ''); ?>><?php _e('Center','timeline-express'); ?></option>
199
+ <option value="right"<?php echo ($this->timeline_express_optionVal['timeline-title-alignment'] === 'right' ? ' selected' : ''); ?>><?php _e('Right','timeline-express'); ?></option>
200
  </select>
201
  <select name="timeline-title-size" id="timeline-title-size" class="regular-text" style="height:27px; margin-top:-3px;" />
202
+ <option value="h1"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h1' ? ' selected' : ''); ?>><?php _e('H1','timeline-express'); ?></option>
203
+ <option value="h2"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h2' ? ' selected' : ''); ?>><?php _e('H2','timeline-express'); ?></option>
204
+ <option value="h3"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h3' ? ' selected' : ''); ?>><?php _e('H3','timeline-express'); ?></option>
205
+ <option value="h4"<?php echo ($this->timeline_express_optionVal['timeline-title-size'] === 'h4' ? ' selected' : ''); ?>><?php _e('H4','timeline-express'); ?></option>
206
  </select>
207
  </td>
208
  </tr>
210
  <tr>
211
  <td></td>
212
  <td class="timeline-express-settings-description">
213
+ <?php _e('Enter the title for the time line // Select the alignment // Select the font size','timeline-express'); ?><br />
214
  </td>
215
  </tr>
216
+ <!-- Select Time Frame -->
217
  <tr valign="top">
218
+ <th scope="row"><label for="announcement-time-frame"><?php _e('Time Frame','timeline-express'); ?></label></th>
219
  <td>
220
  <select name="announcement-time-frame" id="announcement-time-frame" class="regular-text" />
221
+ <option value="0"<?php echo ($this->timeline_express_optionVal['announcement-time-frame'] === '0' ? ' selected' : ''); ?>><?php _e('Future Events','timeline-express'); ?></option>
222
+ <option value="1"<?php echo ($this->timeline_express_optionVal['announcement-time-frame'] === '1' ? ' selected' : ''); ?>><?php _e('All Events (past+future)','timeline-express'); ?></option>
223
+ <option value="2"<?php echo ($this->timeline_express_optionVal['announcement-time-frame'] === '2' ? ' selected' : ''); ?>><?php _e('Past Events','timeline-express'); ?></option>
224
  </select>
225
  </td>
226
  </tr>
227
  <tr>
228
  <td></td>
229
+ <!-- Time Frame Description -->
230
  <td class="timeline-express-settings-description">
231
+ <?php _e('Select the time frame to query events from.','timeline-express'); ?>
232
  </td>
233
  </tr>
234
+ <!-- Display Order -->
235
+ <tr valign="top">
236
+ <th scope="row"><label for="announcement-display-order"><?php _e('Display Order','timeline-express'); ?></label></th>
237
+ <td>
238
+ <select name="announcement-display-order" id="announcement-display-order" class="regular-text" />
239
+ <option value="ASC"<?php echo ($this->timeline_express_optionVal['announcement-display-order'] === 'ASC' ? ' selected' : ''); ?>><?php _e('Ascending','timeline-express'); ?></option>
240
+ <option value="DESC"<?php echo ($this->timeline_express_optionVal['announcement-display-order'] === 'DESC' ? ' selected' : ''); ?>><?php _e('Descending','timeline-express'); ?></option>
241
+ </select>
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td></td>
246
+ <!-- Display Order Description -->
247
+ <td class="timeline-express-settings-description">
248
+ <?php _e('Select the order you would like the announcements to display. Ascending : Chronological order by announcement date. Descending : Reverse chronological order by announcement date.','timeline-express'); ?>
249
+ </td>
250
+ </tr>
251
  <!-- Excerpt Trim Length -->
252
  <tr valign="top">
253
+ <th scope="row"><label for="excerpt-trim-length"><?php _e('Announcement Exceprt Length','timeline-express'); ?></label></th>
254
  <td>
255
  <input <?php if( $this->timeline_express_optionVal['excerpt-random-length'] == '1' ) { ?> style="display:none;" <?php } ?> type="number" name="excerpt-trim-length" min="25" max="200" value="<?php echo $this->timeline_express_optionVal['excerpt-trim-length']; ?>"><label for="excerpt-random-length"><input type="checkbox" id="excerpt-random-length" name="excerpt-random-length" onclick="changeRandomTrimLengthCheckbox();" value="1" <?php checked( $this->timeline_express_optionVal['excerpt-random-length'] , '1' ); ?> <?php if( $this->timeline_express_optionVal['excerpt-random-length'] == '0' ) { ?> style="margin-left:.5em;" <?php } ?>><span id="random-lenth-text-container"<?php if( $this->timeline_express_optionVal['excerpt-random-length'] == '0' ) { ?> class="random-length-text" <?php } ?>>random length</label></span>
256
  </td>
259
  <td></td>
260
  <!-- Excerpt Trim Length Description -->
261
  <td class="timeline-express-settings-description">
262
+ <?php _e('set the length of the excerpt for each announcement. ( min=25;max=200 eg: 50 = 50 characters )','timeline-express'); ?>
263
  </td>
264
  </tr>
265
  <!-- Toggle Date Visibility -->
266
  <tr valign="top">
267
+ <th scope="row"><label for="date-visibility"><?php _e('Date Visibility','timeline-express'); ?></label></th>
268
  <td>
269
  <select name="date-visibility" id="date-visibility" class="regular-text" />
270
+ <option value="1"<?php echo ($this->timeline_express_optionVal['date-visibility'] === '1' ? ' selected' : ''); ?>><?php _e('Visible','timeline-express'); ?></option>
271
+ <option value="0"<?php echo ($this->timeline_express_optionVal['date-visibility'] === '0' ? ' selected' : ''); ?>><?php _e('Hidden','timeline-express'); ?></option>
272
  </select>
273
  </td>
274
  </tr>
276
  <td></td>
277
  <!-- Toggle Date Visibility Description -->
278
  <td class="timeline-express-settings-description">
279
+ <?php _e('toggle the visibility of the date next to the icon.','timeline-express'); ?>
280
  </td>
281
  </tr>
282
  <!-- Toggle Read Visibility More -->
283
  <tr valign="top">
284
+ <th scope="row"><label for="read-more-visibility"><?php _e('Read More Visibility','timeline-express'); ?></label></th>
285
  <td>
286
  <select name="read-more-visibility" id="read-more-visibility" class="regular-text" />
287
+ <option value="1" <?php selected( $this->timeline_express_optionVal['read-more-visibility'] , '1' ); ?>><?php _e('Visible','timeline-express'); ?></option>
288
+ <option value="0" <?php selected( $this->timeline_express_optionVal['read-more-visibility'] , '0' ); ?>><?php _e('Hidden','timeline-express'); ?></option>
289
  </select>
290
  </td>
291
  </tr>
293
  <td></td>
294
  <!-- Toggle Read More Visibility Description -->
295
  <td class="timeline-express-settings-description">
296
+ <?php _e('toggle the visibility of the read more button. hide to prevent users from viewing the full announcement.','timeline-express'); ?>
297
  </td>
298
  </tr>
299
  <tr valign="top">
300
  <!-- Default Announcement Icon -->
301
+ <th scope="row"><label for="default-announcement-icon"><?php _e('Default Icon','timeline-express'); ?></label></th>
302
  <td>
303
  <input name="default-announcement-icon" type="text" id="default-announcement-icon" value="<?php echo $this->timeline_express_optionVal['default-announcement-icon']; ?>" class="regular-text" />
304
  </td>
307
  <td></td>
308
  <!-- Default Announcement Icon Description -->
309
  <td class="timeline-express-settings-description">
310
+ <?php _e('Enter the font-awesome class name that you would like to use a default icon for new events. ie: fa-clock-alt','timeline-express'); ?> <a href="http://fortawesome.github.io/Font-Awesome/cheatsheet/" target="_blank" style="font-size:12px;font-style:em;">cheat sheet</a>
311
  </td>
312
  </tr>
313
  <tr valign="top">
314
  <!-- Default Announcement Color -->
315
+ <th scope="row"><label for="default-announcement-color"><?php _e('Default Announcement Color','timeline-express'); ?></label></th>
316
  <td>
317
  <input name="default-announcement-color" type="text" id="default-announcement-color" value="<?php echo $this->timeline_express_optionVal['default-announcement-color']; ?>" class="regular-text color-picker-field" />
318
  </td>
321
  <td></td>
322
  <!-- Default Announcement Color -->
323
  <td class="timeline-express-settings-description">
324
+ <?php _e('Select the default color for all new events. Note : this setting can be overwritten','timeline-express'); ?>
325
  </td>
326
  </tr>
327
  <tr valign="top">
328
  <!-- Single Announcement Container Background -->
329
+ <th scope="row"><label for="announcement-bg-color"><?php _e('Announcement Container Background','timeline-express'); ?></label></th>
330
  <td>
331
  <input type="text" name="announcement-bg-color" class="color-picker-field" value="<?php echo $this->timeline_express_optionVal['announcement-bg-color']; ?>" />
332
  </td>
335
  <td></td>
336
  <!-- Custom Interest Group Label Description -->
337
  <td class="timeline-express-settings-description">
338
+ <?php _e('Select the background color of the announcement container.','timeline-express'); ?>
339
  </td>
340
  </tr>
341
  <tr valign="top">
342
  <!-- Single Announcement Box Shadow Color -->
343
+ <th scope="row"><label for="announcement-box-shadow-color"><?php _e('Announcement Shadow Color','timeline-express'); ?></label></th>
344
  <td>
345
  <input type="text" name="announcement-box-shadow-color" class="color-picker-field" value="<?php echo $this->timeline_express_optionVal['announcement-box-shadow-color']; ?>" />
346
  </td>
349
  <td></td>
350
  <!-- Custom Interest Group Label Description -->
351
  <td class="timeline-express-settings-description">
352
+ <?php _e('Select the shadow color for the announcement container.','timeline-express'); ?>
353
  </td>
354
  </tr>
355
  <tr valign="top">
356
  <!-- Background Line Color -->
357
+ <th scope="row"><label for="announcement-background-line-color"><?php _e('Background Line Color','timeline-express'); ?></label></th>
358
  <td>
359
  <input type="text" name="announcement-background-line-color" class="color-picker-field" value="<?php echo $this->timeline_express_optionVal['announcement-background-line-color']; ?>" />
360
  </td>
363
  <td></td>
364
  <!-- Background Line Color Description -->
365
  <td class="timeline-express-settings-description">
366
+ <?php _e('Select the color of the line in the background of the timeline.','timeline-express'); ?>
367
  </td>
368
  </tr>
369
  <tr valign="top">
370
  <!-- No Events Message -->
371
+ <th scope="row"><label for="no-events-message"><?php _e('No Events Message','timeline-express'); ?></label></th>
372
  <td>
373
  <?php wp_editor( stripslashes( $this->timeline_express_optionVal['no-events-message'] ) , 'no-events-message', $no_event_messages_parameters); ?>
374
  </td>
377
  <td></td>
378
  <!-- No Events Message Description -->
379
  <td class="timeline-express-settings-description">
380
+ <em><?php _e('This is the message that will display when no announcements are found.','timeline-express'); ?></em>
381
  </td>
382
  </tr>
383
  <tr valign="top">
384
  <!-- Background Line Color -->
385
+ <th scope="row"><label for="delete-announcement-posts-on-uninstallation"><?php _e('Delete Announcements On Uninstall?','timeline-express'); ?></label></th>
386
  <td>
387
  <input type="checkbox" name="delete-announcement-posts-on-uninstallation" onclick="toggleDeleteCheckClass();" <?php checked( $this->timeline_express_optionVal['delete-announcement-posts-on-uninstallation'] , '1' ); ?> value="1" /><span class="<?php if( $this->timeline_express_optionVal['delete-announcement-posts-on-uninstallation'] == '0' ) { ?> delete-no <?php } else { ?> delete-yes <?php } ?>" onclick="toggle_delete_checkbox();"></span>
388
  </td>
391
  <td></td>
392
  <!-- Background Line Color Description -->
393
  <td class="timeline-express-settings-description">
394
+ <?php _e('select this to delete all announcement posts from the data base on plugin uninstallation. this can not be undone, once they are deleted they are gone forever. If you want to keep them, export your announcements before uninstalling.','timeline-express'); ?>
395
  </td>
396
  </tr>
397
  <tr>
398
  <td></td>
399
+ <td><input type="submit" name="submit" id="submit" class="button-primary" value="<?php _e( 'Save Settings' , 'timeline-express' ); ?>"><input type="submit" name="timeline-express-reset-plugin-settings" id="timeline-express-reset-plugin-settings" class="button timeline-express-red-button" value="<?php _e( 'Reset Plugin Settings' , 'timeline-express' ); ?>"></td>
400
  </tr>
401
 
402
  </tbody>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20
4
  Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
5
  Requires at least: 3.9
6
  Tested up to: 4.0
7
- Stable tag: 1.0.1
8
  License: GPLv2 or later
9
 
10
  Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
@@ -25,6 +25,7 @@ Timeline express allows you to create a vertical animated timeline of announceme
25
  * Delete announcements on uninstallation (so no orphan posts are hanging around in your database)
26
  * Easy to use shortcode to place the timeline wherever your heart desires ( `[timeline-express]` )
27
  * TinyMCE button to generate the shortcode
 
28
  * Highly extensible
29
  * Translatable
30
 
@@ -105,6 +106,10 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
105
  5. Timeline Express full settings page
106
 
107
  == Changelog ==
 
 
 
 
108
  = 1.0.1 =
109
  * Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
110
 
@@ -112,6 +117,12 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
112
  * Initial Release to the wordpress respository
113
 
114
  == Upgrade Notice ==
 
 
 
 
 
 
115
 
116
  = 1.0 =
117
  * Initial Release to the wordpress respository
4
  Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
5
  Requires at least: 3.9
6
  Tested up to: 4.0
7
+ Stable tag: 1.0.2
8
  License: GPLv2 or later
9
 
10
  Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
25
  * Delete announcements on uninstallation (so no orphan posts are hanging around in your database)
26
  * Easy to use shortcode to place the timeline wherever your heart desires ( `[timeline-express]` )
27
  * TinyMCE button to generate the shortcode
28
+ * Specify Ascending vs Descending display order
29
  * Highly extensible
30
  * Translatable
31
 
106
  5. Timeline Express full settings page
107
 
108
  == Changelog ==
109
+ = 1.0.2 =
110
+ * Add a display order setting to set Ascending or Descending display order for announcements in the timeline
111
+ * Fixed "cannot access settings page" when clicking on the settings tab when on the settings page already
112
+
113
  = 1.0.1 =
114
  * Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
115
 
117
  * Initial Release to the wordpress respository
118
 
119
  == Upgrade Notice ==
120
+ = 1.0.2 =
121
+ * Add display order setting to specify ascending or descending order of announcements in the timeline
122
+ * Fixed "cannot access settings page" when clicking on the settings tab when on the settings page already
123
+
124
+ = 1.0.1 =
125
+ * Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
126
 
127
  = 1.0 =
128
  * Initial Release to the wordpress respository
timeline-express.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Timeline Express
5
  Plugin URI: http://www.evan-herman.com
6
  Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
7
- Version: 1.0.1
8
  Author: Evan Herman
9
  Author URI: http://www.evan-herman.com
10
  License: GPL2
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
 
30
  /** Configuration **/
31
  if(!defined('TIMELINE_EXPRESS_DEBUG')) define('TIMELINE_EXPRESS_DEBUG', false);
32
- if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.0.1');
33
  if(!defined('TIMELINE_EXPRESS_REQ_PHP')) define('TIMELINE_EXPRESS_REQ_PHP', '5.0');
34
  if(!defined('TIMELINE_EXPRESS_AUTHOR')) define('TIMELINE_EXPRESS_AUTHOR', 'Evan Herman');
35
  if(!defined('TIMELINE_EXPRESS_SITE')) define('TIMELINE_EXPRESS_SITE', site_url().'/');
4
  Plugin Name: Timeline Express
5
  Plugin URI: http://www.evan-herman.com
6
  Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
7
+ Version: 1.0.2
8
  Author: Evan Herman
9
  Author URI: http://www.evan-herman.com
10
  License: GPL2
29
 
30
  /** Configuration **/
31
  if(!defined('TIMELINE_EXPRESS_DEBUG')) define('TIMELINE_EXPRESS_DEBUG', false);
32
+ if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.0.2');
33
  if(!defined('TIMELINE_EXPRESS_REQ_PHP')) define('TIMELINE_EXPRESS_REQ_PHP', '5.0');
34
  if(!defined('TIMELINE_EXPRESS_AUTHOR')) define('TIMELINE_EXPRESS_AUTHOR', 'Evan Herman');
35
  if(!defined('TIMELINE_EXPRESS_SITE')) define('TIMELINE_EXPRESS_SITE', site_url().'/');