Timeline Express - Version 1.1.5.5

Version Description

  • February 1st, 2015 =
  • Fixed: Wrapped admin column headers in get text filter
  • Fixed: Sort orders by announcement date
  • Enhancement: Added filter to define custom image size for announcement image
Download this release

Release Info

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

Code changes from version 1.1.5.4 to 1.1.5.5

classes/class.timeline-express.php CHANGED
@@ -121,6 +121,8 @@ if(!class_exists("timelineExpressBase"))
121
  add_filter( 'manage_edit-te_announcements_sortable_columns', array( &$this , 'make_sortable_timeline_express_column' ) );
122
  // custom sort function
123
  add_action( 'pre_get_posts', array( &$this , 'te_announcements_pre_get_posts' ) , 1 );
 
 
124
  // register custom image size for the edit page
125
  add_image_size( 'timeline-express-thumbnail', 150, 60, true );
126
  // register custom image size for the single announcement page
@@ -471,7 +473,7 @@ if(!class_exists("timelineExpressBase"))
471
  'desc' => __( 'enter the date of the announcement. the announcements will appear in chronological order according to this date. ', 'timeline-express' ),
472
  'id' => $prefix . 'date',
473
  'type' => 'te_date_time_stamp_custom',
474
- 'default' => strtotime( date( 'm/d/Y' ) ),
475
  // 'repeatable' => true,
476
  // 'on_front' => false, // Optionally designate a field to wp-admin only
477
  ),
@@ -547,12 +549,12 @@ if(!class_exists("timelineExpressBase"))
547
  /* Add Custom Columns to Announcement page */
548
  public function add_new_timeline_express_columns($timeline_express_columns) {
549
  $timeline_express_announcement_columns['cb'] = '<input type="checkbox" />';
550
- $timeline_express_announcement_columns['title'] = _x('Announcement Name', 'column name');
551
- $timeline_express_announcement_columns['color'] = _x('Color', 'column name');
552
- $timeline_express_announcement_columns['icon'] = _x('Icon', 'column name');
553
- $timeline_express_announcement_columns['announcement_date'] = _x('Announcement Date', 'column name');
554
- $timeline_express_announcement_columns['image'] = _x('Image', 'column name');
555
- $timeline_express_announcement_columns['past_announcement'] = _x('Announcment Past?', 'column name');
556
  return $timeline_express_announcement_columns;
557
  }
558
 
@@ -624,7 +626,7 @@ if(!class_exists("timelineExpressBase"))
624
  case 'announcement_date':
625
  // set our query's meta_key, which is used for custom fields
626
  $query->set( 'meta_key', 'announcement_date' );
627
- $query->set( 'orderby', 'meta_value meta_value_num' );
628
  break;
629
 
630
  }
@@ -633,6 +635,16 @@ if(!class_exists("timelineExpressBase"))
633
 
634
  }
635
 
 
 
 
 
 
 
 
 
 
 
636
  // register our shortcodes
637
  public function timeline_express_createShortcodes() {
638
  add_shortcode('timeline-express', array(&$this, 'processShortcode'));
@@ -752,7 +764,7 @@ if(!class_exists("timelineExpressBase"))
752
  $announcement_header_image = wp_get_attachment_image_src( $announcement_image_id[0] , 'timeline-express-announcement-header');
753
  $custom_content .= '<img class="announcement-banner-image" src="' . esc_url ( $announcement_header_image[0] ) . '" alt="' . get_the_title( $post->ID ) . '">';
754
  }
755
- $custom_content .= '<strong class="timeline-express-single-page-announcement-date">Announcement Date : ' . date( 'M j , Y' , $announcement_date ) . '</strong>';
756
  $custom_content .= $content;
757
  if ( $referer != '' ) {
758
  $custom_content .= '<a href="' . $referer . '" class="return-to-timeline"><i class="fa fa-chevron-left"></i> ' . __( 'Back' , 'timeline-express' ) . '</a>';
@@ -1011,7 +1023,7 @@ if(!class_exists("timelineExpressBase"))
1011
  // display our image, if it exists
1012
  if ( $announcement_image != '' ) {
1013
  $attachment_id = $this->timeline_express_get_image_id( $announcement_image );
1014
- $timeline_announcement_image = wp_get_attachment_image_src($attachment_id, 'timeline-express');
1015
  echo '<img src="' . $timeline_announcement_image[0] . '" alt="Announcement Image" class="announcement-banner-image" >';
1016
  }
1017
  // excerpt random length
121
  add_filter( 'manage_edit-te_announcements_sortable_columns', array( &$this , 'make_sortable_timeline_express_column' ) );
122
  // custom sort function
123
  add_action( 'pre_get_posts', array( &$this , 'te_announcements_pre_get_posts' ) , 1 );
124
+ // custom sort orderby 'announcement_date'
125
+ add_filter( 'request', array( &$this , 'announcement_date_column_orderby' ) );
126
  // register custom image size for the edit page
127
  add_image_size( 'timeline-express-thumbnail', 150, 60, true );
128
  // register custom image size for the single announcement page
473
  'desc' => __( 'enter the date of the announcement. the announcements will appear in chronological order according to this date. ', 'timeline-express' ),
474
  'id' => $prefix . 'date',
475
  'type' => 'te_date_time_stamp_custom',
476
+ 'default' => strtotime( date( 'm/d/Y' ) ),
477
  // 'repeatable' => true,
478
  // 'on_front' => false, // Optionally designate a field to wp-admin only
479
  ),
549
  /* Add Custom Columns to Announcement page */
550
  public function add_new_timeline_express_columns($timeline_express_columns) {
551
  $timeline_express_announcement_columns['cb'] = '<input type="checkbox" />';
552
+ $timeline_express_announcement_columns['title'] = _x('Announcement Name', 'timeline-express');
553
+ $timeline_express_announcement_columns['color'] = _x('Color', 'timeline-express');
554
+ $timeline_express_announcement_columns['icon'] = _x('Icon', 'timeline-express');
555
+ $timeline_express_announcement_columns['announcement_date'] = _x('Announcement Date', 'timeline-express');
556
+ $timeline_express_announcement_columns['image'] = _x('Image', 'timeline-express');
557
+ $timeline_express_announcement_columns['past_announcement'] = _x('Announcment Past?', 'timeline-express');
558
  return $timeline_express_announcement_columns;
559
  }
560
 
626
  case 'announcement_date':
627
  // set our query's meta_key, which is used for custom fields
628
  $query->set( 'meta_key', 'announcement_date' );
629
+ $query->set( 'orderby', 'meta_value_num' );
630
  break;
631
 
632
  }
635
 
636
  }
637
 
638
+ function announcement_date_column_orderby( $vars ) {
639
+ if ( isset( $vars['orderby'] ) && 'announcement_date' == $vars['orderby'] ) {
640
+ $vars = array_merge( $vars, array(
641
+ 'meta_key' => 'announcement_date',
642
+ 'orderby' => 'meta_value_num'
643
+ ) );
644
+ }
645
+ return $vars;
646
+ }
647
+
648
  // register our shortcodes
649
  public function timeline_express_createShortcodes() {
650
  add_shortcode('timeline-express', array(&$this, 'processShortcode'));
764
  $announcement_header_image = wp_get_attachment_image_src( $announcement_image_id[0] , 'timeline-express-announcement-header');
765
  $custom_content .= '<img class="announcement-banner-image" src="' . esc_url ( $announcement_header_image[0] ) . '" alt="' . get_the_title( $post->ID ) . '">';
766
  }
767
+ $custom_content .= '<strong class="timeline-express-single-page-announcement-date">' . __( 'Announcement Date' , 'timeline-express' ) . ' : ' . date( 'M j , Y' , $announcement_date ) . '</strong>';
768
  $custom_content .= $content;
769
  if ( $referer != '' ) {
770
  $custom_content .= '<a href="' . $referer . '" class="return-to-timeline"><i class="fa fa-chevron-left"></i> ' . __( 'Back' , 'timeline-express' ) . '</a>';
1023
  // display our image, if it exists
1024
  if ( $announcement_image != '' ) {
1025
  $attachment_id = $this->timeline_express_get_image_id( $announcement_image );
1026
+ $timeline_announcement_image = wp_get_attachment_image_src( $attachment_id, apply_filters( 'timeline-express-announcement-img-size' , 'timeline-express' ) );
1027
  echo '<img src="' . $timeline_announcement_image[0] . '" alt="Announcement Image" class="announcement-banner-image" >';
1028
  }
1029
  // excerpt random length
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.1
7
- Stable tag: 1.1.5.4
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!
@@ -42,8 +42,96 @@ Timeline express comes ready for translation. I would love to get things transla
42
 
43
  <em>We're always looking for polyglots to help with the translations. If you enjoy this plugin, speak multiple languages and want to contribute please <a href="http://www.evan-herman.com/contact/" target="_blank">contact me</a> about how you can help translate things so users around the world can benefit from this plugin.</em>
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  **Hooks + Filters**
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  **Define your own custom fields to use in Announcement posts (New v1.1.5)**
48
 
49
  Users can now add custom fields to Timeline Express announcement posts. This allows for greater control over the announcements and the front end display. Using this hook in conjunction with a custom single announcement template will give you the greatest control.
@@ -203,76 +291,6 @@ function custom_timeline_express_template_file( $template_file ) {
203
  add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_template_file' , 10 );
204
  </code>
205
 
206
- <br />
207
- <br />
208
- <strong>While the plugins I develop are free, maintaining and supporting them is hard work. If you find this plugin useful, or it helps in anyway, please consider making a <a href="http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work">donation</a> for its continued development.</strong>
209
-
210
- == Installation ==
211
-
212
- 1. Download the plugin .zip file
213
- 2. Log in to yourdomain.com/wp-admin
214
- 3. Click Plugins -> Add New -> Upload
215
- 4. Activate the plugin
216
- 6. On the left hand menu, hover over 'Timeline Express' and click 'New Announcement'
217
- 7. Begin populating the timeline with events. (Note: Events will appear in chronological order according to the <strong>announcement date</strong>)
218
- 8. Once you have populated the timeline, head over to the settings page (Settings > Timeline Express) to customize your timeline.
219
- 9. Create a new page, and enter the shortcode [timeline-express] to display the vertical timeline (Note: Timeline Express displays best on full width pages)
220
-
221
- == Frequently Asked Questions ==
222
-
223
- = How do I use this plugin? =
224
- Begin by simply installing the plugin. Once the plugin has been installed, go ahead and begin creating announcement posts. You'll find a new menu item just below 'Posts'.
225
- After you have a substantial number of announcements set up, you're ready to display the timeline on the front end of your site.
226
-
227
- Timeline express displays best on full width pages, but is not limited to them. Create a new page, and drop the shortcode into the page - `[timeline-express]`.
228
- Publish your page, and view it on the front end the see your new super sweet timeline! (scroll for animation effects!)
229
-
230
- = What template is the single announcement post using? Can I customize it at all? I want to do x, y or z. =
231
- The single announcement post is using a custom template file that comes pre-bundled with the plugin. If you want to customize the template for whatever reason
232
- you can do so, by creating a directory in your active theme called 'timeline-express'. Once the directory is created, simply copy the file titled 'single-timeline-express-announcement.php' into
233
- the newly created 'timeline-express' directory in your theme. Timeline express will then automagically pull in the newly created template in your theme root. You can go ahead and customize
234
- it to your hearts desire without fear of losing any changes in future updates!
235
-
236
- = Can I create more than one timeline? =
237
- At the moment no, but I will consider adding that into a future update if people show enough interest.
238
-
239
- = At what width are the breakpoints set? =
240
- Breakpoints are set at 822px. The timeline will shift/re-adjust automatically using masonry based on the height of each announcement container.
241
-
242
- = How can I translate this plugin? =
243
- The text-domain for all gettext functions is `timeline-express`.
244
-
245
- If you enjoy this plugin and want to contribute, I'm always looking for people to help translate the plugin into any of the following languages, credit will be given where credit is due :
246
-
247
- * Arabic
248
- * English
249
- * French
250
- * German
251
- * Greek
252
- * Hebrew
253
- * Hindi
254
- * Hong Kong
255
- * Italian
256
- * Japanese
257
- * Korean
258
- * Persian
259
- * Portuguese (European)
260
- * Romanian
261
- * Russian
262
- * Spanish
263
- * Swedish
264
- * Taiwanese
265
- * Tamil
266
- * Urdu
267
- * Vietnamese
268
- * Welsh
269
-
270
- Read the Codex article "[I18n for WordPress Developers]"(http://codex.wordpress.org/I18n_for_WordPress_Developers) for more information.
271
-
272
- == Future Ideas ==
273
-
274
- Have an idea for a future release feature? I love hearing about new ideas! You can get in contact with me through the contact form on my website, <a href="http://www.evan-herman.com/contact/" target="_blank">Evan-Herman.com</a>.
275
-
276
  == Screenshots ==
277
 
278
  1. Timeline Express announcement post creation screen
@@ -283,23 +301,28 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
283
 
284
  == Changelog ==
285
 
 
 
 
 
 
286
  = 1.1.5.4 - January 19th, 2015 =
287
- Fixed: Remove unnecessary filter in the main class file
288
 
289
  = 1.1.5.3 - January 16th, 2015 =
290
- Fixed: Fixed incorrect date save format
291
 
292
  = 1.1.5.2 - January 13th, 2015 =
293
- Fixed: Errors thrown from new user fields hook, when no custom fields are defined by the user
294
- Fixed: Incorrect date format for new announcements
295
 
296
  = 1.1.5.1 - January 10th, 2015 =
297
- Fixed: Data saving incorrectly to the database, causing errors to be thrown on front and back end
298
 
299
  = 1.1.5 - January 10th, 2015 =
300
- Enhancement: Added new filter ( `timeline_express_custom_fields` ) which allows users to define their own custom fields to use on Timeline Announcement posts (see readme for example).
301
- Fixed: CMB class file causing conflicts with other plugins, and removed the old version
302
- Fixed: Adjusted a few styles on the announcement post page
303
 
304
  = 1.1.4.1 - January 2nd, 2015 =
305
  * Fixed: Issue with date storing different on backend vs front end
@@ -383,6 +406,11 @@ Fixed: Adjusted a few styles on the announcement post page
383
 
384
  == Upgrade Notice ==
385
 
 
 
 
 
 
386
  = 1.1.5.4 - January 19th, 2015 =
387
  Fixed: Remove unecessary filter in the main class file
388
 
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.1
7
+ Stable tag: 1.1.5.5
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!
42
 
43
  <em>We're always looking for polyglots to help with the translations. If you enjoy this plugin, speak multiple languages and want to contribute please <a href="http://www.evan-herman.com/contact/" target="_blank">contact me</a> about how you can help translate things so users around the world can benefit from this plugin.</em>
44
 
45
+ Looking for some advancedd documentation? Check out the <a href="https://wordpress.org/plugins/timeline-express/other_notes/">other notes</a> section.
46
+ <br />
47
+ <br />
48
+ <strong>While the plugins I develop are free, maintaining and supporting them is hard work. If you find this plugin useful, or it helps in anyway, please consider making a <a href="http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work">donation</a> for its continued development.</strong>
49
+
50
+ == Installation ==
51
+
52
+ 1. Download the plugin .zip file
53
+ 2. Log in to yourdomain.com/wp-admin
54
+ 3. Click Plugins -> Add New -> Upload
55
+ 4. Activate the plugin
56
+ 6. On the left hand menu, hover over 'Timeline Express' and click 'New Announcement'
57
+ 7. Begin populating the timeline with events. (Note: Events will appear in chronological order according to the <strong>announcement date</strong>)
58
+ 8. Once you have populated the timeline, head over to the settings page (Settings > Timeline Express) to customize your timeline.
59
+ 9. Create a new page, and enter the shortcode [timeline-express] to display the vertical timeline (Note: Timeline Express displays best on full width pages)
60
+
61
+ == Frequently Asked Questions ==
62
+
63
+ = How do I use this plugin? =
64
+ Begin by simply installing the plugin. Once the plugin has been installed, go ahead and begin creating announcement posts. You'll find a new menu item just below 'Posts'.
65
+ After you have a substantial number of announcements set up, you're ready to display the timeline on the front end of your site.
66
+
67
+ Timeline express displays best on full width pages, but is not limited to them. Create a new page, and drop the shortcode into the page - `[timeline-express]`.
68
+ Publish your page, and view it on the front end the see your new super sweet timeline! (scroll for animation effects!)
69
+
70
+ = What template is the single announcement post using? Can I customize it at all? I want to do x, y or z. =
71
+ The single announcement post is using a custom template file that comes pre-bundled with the plugin. If you want to customize the template for whatever reason
72
+ you can do so, by creating a directory in your active theme called 'timeline-express'. Once the directory is created, simply copy the file titled 'single-timeline-express-announcement.php' into
73
+ the newly created 'timeline-express' directory in your theme. Timeline express will then automagically pull in the newly created template in your theme root. You can go ahead and customize
74
+ it to your hearts desire without fear of losing any changes in future updates!
75
+
76
+ = Can I create more than one timeline? =
77
+ At the moment no, but I will consider adding that into a future update if people show enough interest.
78
+
79
+ = At what width are the breakpoints set? =
80
+ Breakpoints are set at 822px. The timeline will shift/re-adjust automatically using masonry based on the height of each announcement container.
81
+
82
+ = How can I translate this plugin? =
83
+ The text-domain for all gettext functions is `timeline-express`.
84
+
85
+ If you enjoy this plugin and want to contribute, I'm always looking for people to help translate the plugin into any of the following languages, credit will be given where credit is due :
86
+
87
+ * Arabic
88
+ * English
89
+ * French
90
+ * German
91
+ * Greek
92
+ * Hebrew
93
+ * Hindi
94
+ * Hong Kong
95
+ * Italian
96
+ * Japanese
97
+ * Korean
98
+ * Persian
99
+ * Portuguese (European)
100
+ * Romanian
101
+ * Russian
102
+ * Spanish
103
+ * Swedish
104
+ * Taiwanese
105
+ * Tamil
106
+ * Urdu
107
+ * Vietnamese
108
+ * Welsh
109
+
110
+ Read the Codex article "[I18n for WordPress Developers]"(http://codex.wordpress.org/I18n_for_WordPress_Developers) for more information.
111
+
112
+ == Other Notes ==
113
+
114
+ Have an idea for a future release feature? I love hearing about new ideas! You can get in contact with me through the contact form on my website, <a href="http://www.evan-herman.com/contact/" target="_blank">Evan-Herman.com</a>.
115
+
116
+ <hr />
117
+
118
+ <strong>Developer Documentation</strong>
119
+
120
  **Hooks + Filters**
121
 
122
+ **Use Alternate Image Size For Announcements (New v1.1.5.5)**
123
+
124
+ By default Timeline Express generates a custom image size to use within the timeline. If you would like to use another image size, you can use the following filter.
125
+
126
+ Example:
127
+ <code>
128
+ function change_timeline_express_announcement_image_size( $image_size ) {
129
+ $image_size = 'full';
130
+ return $image_size;
131
+ }
132
+ add_filter( 'timeline-express-announcement-img-size' , 'change_timeline_express_announcement_image_size' );
133
+ </code>
134
+
135
  **Define your own custom fields to use in Announcement posts (New v1.1.5)**
136
 
137
  Users can now add custom fields to Timeline Express announcement posts. This allows for greater control over the announcements and the front end display. Using this hook in conjunction with a custom single announcement template will give you the greatest control.
291
  add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_template_file' , 10 );
292
  </code>
293
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  == Screenshots ==
295
 
296
  1. Timeline Express announcement post creation screen
301
 
302
  == Changelog ==
303
 
304
+ = 1.1.5.5 - February 1st, 2015 =
305
+ * Fixed: Wrapped admin column headers in get text filter
306
+ * Fixed: Sort orders by announcement date
307
+ * Enhancement: Added filter to define custom image size for announcement image
308
+
309
  = 1.1.5.4 - January 19th, 2015 =
310
+ * Fixed: Remove unnecessary filter in the main class file
311
 
312
  = 1.1.5.3 - January 16th, 2015 =
313
+ * Fixed: Fixed incorrect date save format
314
 
315
  = 1.1.5.2 - January 13th, 2015 =
316
+ * Fixed: Errors thrown from new user fields hook, when no custom fields are defined by the user
317
+ * Fixed: Incorrect date format for new announcements
318
 
319
  = 1.1.5.1 - January 10th, 2015 =
320
+ * Fixed: Data saving incorrectly to the database, causing errors to be thrown on front and back end
321
 
322
  = 1.1.5 - January 10th, 2015 =
323
+ * Enhancement: Added new filter ( `timeline_express_custom_fields` ) which allows users to define their own custom fields to use on Timeline Announcement posts (see readme for example).
324
+ * Fixed: CMB class file causing conflicts with other plugins, and removed the old version
325
+ * Fixed: Adjusted a few styles on the announcement post page
326
 
327
  = 1.1.4.1 - January 2nd, 2015 =
328
  * Fixed: Issue with date storing different on backend vs front end
406
 
407
  == Upgrade Notice ==
408
 
409
+ = 1.1.5.5 - February 1st, 2015 =
410
+ Fixed: Wrapped admin column headers in get text filter
411
+ Fixed: Sort orders by announcement date
412
+ Enhancement: Added filter to define custom image size for announcement image (see <a href="https://wordpress.org/plugins/timeline-express/other_notes/">documentation</a>)
413
+
414
  = 1.1.5.4 - January 19th, 2015 =
415
  Fixed: Remove unecessary filter in the main class file
416
 
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.1.5.4
8
  Author: Evan Herman
9
  Author URI: http://www.evan-herman.com
10
  License: GPL2
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  #_________________________________________________ CONSTANTS
29
 
30
  /** Configuration **/
31
- if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.5.4');
32
  if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
33
  if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
34
  if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
@@ -72,5 +72,4 @@ register_deactivation_hook( __FILE__ , array( &$timelineExpressBase, 'deactivate
72
  // register_uninstall_hook( __FILE__ , array( &$timelineExpressBase, 'uninstall') );
73
 
74
  /* Daily Cron Job to check license */
75
- register_activation_hook( __FILE__ , array( &$timelineExpressBase , 'schedule_timeline_express_support_cron' ) );
76
-
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.1.5.5
8
  Author: Evan Herman
9
  Author URI: http://www.evan-herman.com
10
  License: GPL2
28
  #_________________________________________________ CONSTANTS
29
 
30
  /** Configuration **/
31
+ if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.5.5');
32
  if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
33
  if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
34
  if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
72
  // register_uninstall_hook( __FILE__ , array( &$timelineExpressBase, 'uninstall') );
73
 
74
  /* Daily Cron Job to check license */
75
+ register_activation_hook( __FILE__ , array( &$timelineExpressBase , 'schedule_timeline_express_support_cron' ) );