Timeline Express - Version 1.5.1

Version Description

  • July, 2017 =
  • Tweak: Remove shorthand array syntax [] to maintain backwards compatibility with PHP < 5.6.
  • Tweak: Updated regex when generating icons. Props @tkchouaki
Download this release

Release Info

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

Code changes from version 1.5.0 to 1.5.1

constants.php CHANGED
@@ -15,7 +15,7 @@
15
  */
16
  if ( ! defined( 'TIMELINE_EXPRESS_VERSION_CURRENT' ) ) {
17
 
18
- define( 'TIMELINE_EXPRESS_VERSION_CURRENT', '1.5.0' );
19
 
20
  }
21
 
15
  */
16
  if ( ! defined( 'TIMELINE_EXPRESS_VERSION_CURRENT' ) ) {
17
 
18
+ define( 'TIMELINE_EXPRESS_VERSION_CURRENT', '1.5.1' );
19
 
20
  }
21
 
lib/admin/cpt/timeline-express-admin-columns.php CHANGED
@@ -86,7 +86,6 @@ function manage_timeline_express_column_content( $column_name, $id ) {
86
  switch ( $column_name ) {
87
 
88
  case 'color':
89
-
90
  $announcement_color = get_post_meta( $id, 'announcement_color', true );
91
 
92
  echo '<span class="announcement_color_box" style="background-color:' . esc_attr( $announcement_color ) . ';" title="' . esc_attr( $announcement_color ) . '"></span>';
@@ -94,7 +93,6 @@ function manage_timeline_express_column_content( $column_name, $id ) {
94
  break;
95
 
96
  case 'icon':
97
-
98
  $announcement_icon = get_post_meta( $id, 'announcement_icon', true );
99
 
100
  echo '<span class="fa ' . esc_attr( $announcement_icon ) . ' edit-announcement-icon" title="' . esc_attr( $announcement_icon ) . '"></span>';
@@ -102,7 +100,6 @@ function manage_timeline_express_column_content( $column_name, $id ) {
102
  break;
103
 
104
  case 'announcement_date':
105
-
106
  $announcment_date = get_post_meta( $id, 'announcement_date', true );
107
 
108
  echo wp_kses_post( apply_filters( 'timeline_express_admin_column_date_format', date_i18n( apply_filters( 'timeline_express_custom_date_format', get_option( 'date_format' ) ), $announcment_date ), $announcment_date ) );
@@ -110,7 +107,6 @@ function manage_timeline_express_column_content( $column_name, $id ) {
110
  break;
111
 
112
  case 'image':
113
-
114
  $announcement_image_id = get_post_meta( $id, 'announcement_image_id', true );
115
 
116
  if ( $announcement_image_id ) {
@@ -126,7 +122,6 @@ function manage_timeline_express_column_content( $column_name, $id ) {
126
  break;
127
 
128
  case 'past_announcement':
129
-
130
  $announcment_date = get_post_meta( $id, 'announcement_date', true );
131
 
132
  $todays_date = strtotime( date_i18n( 'm/d/Y' ) );
@@ -195,12 +190,11 @@ function te_announcements_pre_get_posts( $query ) {
195
 
196
  /* If we're ordering by 'announcement_date'. */
197
  case 'announcement_date':
198
-
199
  /* set our query's meta_key, which is used for custom fields. */
200
  $query->set( 'meta_key', 'announcement_date' );
201
  $query->set( 'orderby', 'meta_value_num' );
202
 
203
- break;
204
 
205
  }
206
  }
86
  switch ( $column_name ) {
87
 
88
  case 'color':
 
89
  $announcement_color = get_post_meta( $id, 'announcement_color', true );
90
 
91
  echo '<span class="announcement_color_box" style="background-color:' . esc_attr( $announcement_color ) . ';" title="' . esc_attr( $announcement_color ) . '"></span>';
93
  break;
94
 
95
  case 'icon':
 
96
  $announcement_icon = get_post_meta( $id, 'announcement_icon', true );
97
 
98
  echo '<span class="fa ' . esc_attr( $announcement_icon ) . ' edit-announcement-icon" title="' . esc_attr( $announcement_icon ) . '"></span>';
100
  break;
101
 
102
  case 'announcement_date':
 
103
  $announcment_date = get_post_meta( $id, 'announcement_date', true );
104
 
105
  echo wp_kses_post( apply_filters( 'timeline_express_admin_column_date_format', date_i18n( apply_filters( 'timeline_express_custom_date_format', get_option( 'date_format' ) ), $announcment_date ), $announcment_date ) );
107
  break;
108
 
109
  case 'image':
 
110
  $announcement_image_id = get_post_meta( $id, 'announcement_image_id', true );
111
 
112
  if ( $announcement_image_id ) {
122
  break;
123
 
124
  case 'past_announcement':
 
125
  $announcment_date = get_post_meta( $id, 'announcement_date', true );
126
 
127
  $todays_date = strtotime( date_i18n( 'm/d/Y' ) );
190
 
191
  /* If we're ordering by 'announcement_date'. */
192
  case 'announcement_date':
 
193
  /* set our query's meta_key, which is used for custom fields. */
194
  $query->set( 'meta_key', 'announcement_date' );
195
  $query->set( 'orderby', 'meta_value_num' );
196
 
197
+ break;
198
 
199
  }
200
  }
lib/admin/css/min/timeline-express-admin-rtl.min.css CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  body.admin_page_timeline-express-welcome .slides ul li,body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{-webkit-animation-duration:18s;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:normal;-webkit-animation-play-state:running;-webkit-animation-fill-mode:forwards;-moz-animation-duration:18s;-moz-animation-timing-function:linear;-moz-animation-iteration-count:infinite;-moz-animation-direction:normal;-moz-animation-play-state:running;-moz-animation-fill-mode:forwards}#timeline-express-addons .group:after,#timeline-express-addons .timeline-express-clear:after{clear:both}.wp-core-ui .timeline-express-red-button{background-color:#9B2124;background-image:linear-gradient(to bottom,#C5292E,#9B2124);border-color:#9B2124 #9B2124 #8D1F21;box-shadow:inset 0 1px 0 rgba(120,200,230,.5);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1);margin-right:2em;width:150px;text-align:center}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button.hover,.wp-core-ui .timeline-express-red-button:focus,.wp-core-ui .timeline-express-red-button:hover{background-color:#B72629;background-image:linear-gradient(to bottom,#D22E30,#9B2124);border-color:#7F1C1F;box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3)}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button:focus{border-color:#500F0E;box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4)}.wp-core-ui .timeline-express-red-button.active,.wp-core-ui .timeline-express-red-button.active:focus,.wp-core-ui .timeline-express-red-button.active:hover,.wp-core-ui .timeline-express-red-button:active{background:#7F1C1F;background-image:linear-gradient(to bottom,#9B2124,#B72629);border-color:#601312 #AE2426 #AE2426;color:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .timeline-express-red-button-disabled,.wp-core-ui .timeline-express-red-button:disabled,.wp-core-ui .timeline-express-red-button[disabled]{color:#E79496!important;background:#BA292B!important;border-color:#7F1C1F!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.delete-no:hover,.delete-yes:hover{cursor:pointer}h2.nav-tab-wrapper.te-options{padding-bottom:0!important}h2.nav-tab-wrapper.te-options a.nav-tab:nth-child(1){margin-right:0!important}#advert_metabox .inside{padding:0;margin-top:0}#advert_metabox .inside .cmb2-id-announcement-advertisments{padding:0!important;border:none;background:0 0;margin-bottom:0}#advert_metabox .inside .cmb2-id-announcement-advertisments p{padding:0 10px}#advert_metabox .inside .cmb2-id-announcement-advertisments a.advertisment-link{position:relative;display:block;max-height:278px}div.cmb2-id-announcement-help-docs{padding-top:0!important;padding-bottom:0!important}label[for=help_docs_metabox-hide],label[for=timeline_express_ads-hide],label[for=announcement_metabox-hide]{display:none!important}#timeline-express-icon{background:url(../../images/timeline-express-logo-128.png) no-repeat;display:block;float:right;padding:0 .5em 0 0;height:90px;width:90px;background-size:contain}.wrap #timeline-express-page-header{margin:0}body.te_announcements_page_timeline-express-settings .wrap .postbox.ui-sortable-handle{border-radius:5px}body.te_announcements_page_timeline-express-settings .te-sidebar.add-ons-active{margin-top:3.3em}body.te_announcements_page_timeline-express-settings .wrap h2.nav-tab-wrapper{border-bottom:none}.settings-header{display:inline-block;width:100%;padding-right:0!important}.timeline-express-settings-header{background:0 0;box-shadow:none;border:none}.wrap .nav-tab-wrapper{padding-top:2.5em}.wrap .account-nav-tab{padding-top:0}.random-length-text{opacity:.5}#timeline_express_review_this_plugin_container .fa-paypal{display:block;width:100%;font-size:16px;padding-top:4px;margin:0 auto!important;color:#253b80}.wrap #timeline_express_review_this_plugin_container{padding:.5em;float:left;margin-top:.75em}#timeline_express_review_this_plugin_container{display:inline-block}#timeline_express_review_this_plugin_container a,#timeline_express_review_this_plugin_container a:hover{color:#333}#timeline_express_review_this_plugin_container .timeline_express_header_logo,#timeline_express_review_this_plugin_container div,#timeline_express_review_this_plugin_container span{float:right;margin:0 .5em;text-align:center}#timeline_express_review_this_plugin_container div.dashicons{margin:0 5px}#timeline_express_review_this_plugin_container div.dashicons-plus-alt{display:block;width:100%;margin:0 auto;color:#a3c3b8}.timeline-express-form{margin-bottom:3em}.timeline-express-settings-description{padding-bottom:2em!important;color:#A7A7A7;font-style:italic;font-size:10px}td.column-announcement_date .dashicons-arrow-right{line-height:2.9;display:inline-block;color:rgba(227,26,26,.68)}.delete-no:after{content:" no, save my announcements from being deleted. I'll need them again!"}.delete-yes:after{content:" yes, delete all of the announcement posts. they are dead to me."}#ui-datepicker-div.cmb2-element{z-index:999999!important}.wp-picker-holder{position:absolute;z-index:99999999}#no-events-message_ifr{max-height:100px}.wp-list-table .no-items .colspanchange{text-align:center;height:115px;line-height:8;font-style:italic}.no-image-used-text{line-height:4.7}.wp-list-table .announcement_color_box{display:block;height:15px;width:15px;border:1px solid rgba(128,128,128,.22);padding:.5em;text-align:center;border-radius:50%}.wp-list-table .past_announcement{height:30px}.wp-list-table .edit-announcement-icon{font-size:25px!important;display:block}.wp-list-table .dashicon-past-announcement{font-size:30px!important;text-align:right}.wp-list-table img.attachment-timeline-express-thumbnail.size-timeline-express-thumbnail{max-width:180px;width:80%;height:auto}.dashicons-star-filled{color:#FEBE12}#timeline_express_reset_plugin_settings .dashicons-dismiss{float:right;margin-top:.5em;padding:.5em .5em 1em 1em;color:#f15353}body.admin_page_timeline-express-welcome .timeline-express-image{background:-moz-linear-gradient(top,rgba(206,220,231,.7) 100%,rgba(89,106,114,.7) 100%);background-image:url(../images/welcome/background.png)}body.admin_page_timeline-express-welcome .timeline-screenshot{padding:1.5em 1.5em 0}body.admin_page_timeline-express-welcome .font-awesome-background{padding-top:3em;margin-top:1.5em;background-image:url(../images/welcome/Font-Awesome-Cheatsheet.png);background-size:cover;height:250px;text-align:center;line-height:8}body.admin_page_timeline-express-welcome .admin-manage-announcements,body.admin_page_timeline-express-welcome .customize-your-timeline,body.admin_page_timeline-express-welcome .intuitive-post-creation{margin-top:1.5em;background-size:contain;background-position:bottom center;background-repeat:no-repeat}body.admin_page_timeline-express-welcome .intuitive-post-creation{padding-top:3em;background-image:url(../images/welcome/intuitive-creation-screen.jpg);height:665px}body.admin_page_timeline-express-welcome .admin-manage-announcements{padding-top:3em;background-image:url(../images/welcome/Manage-Announcements.jpg);height:665px}body.admin_page_timeline-express-welcome .customize-your-timeline{padding-top:4%;background-image:url(../images/welcome/customize-your-timeline.jpg);height:665px}body.admin_page_timeline-express-welcome .slides{height:665px;overflow:hidden;position:relative;width:100%;padding:4% 0}body.admin_page_timeline-express-welcome .slides ul{list-style:none;position:relative}body.admin_page_timeline-express-welcome .slides ul li{width:100%;opacity:0;position:absolute;top:0;-webkit-animation-name:anim_slides;-webkit-animation-delay:0;-moz-animation-name:anim_slides;-moz-animation-delay:0}body.admin_page_timeline-express-welcome .slides ul li:nth-child(2),body.admin_page_timeline-express-welcome .slides ul li:nth-child(2) h2.promo-text{-webkit-animation-delay:6s;-moz-animation-delay:6s}body.admin_page_timeline-express-welcome .slides ul li:nth-child(3),body.admin_page_timeline-express-welcome .slides ul li:nth-child(3) h2.promo-text{-webkit-animation-delay:12s;-moz-animation-delay:12s}body.admin_page_timeline-express-welcome .slides ul li img{display:block}body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{background-color:#000;border-radius:10px;box-shadow:0 0 3px #FFF inset;color:#FFF;font-size:18px;margin:0 auto;padding:10px;position:absolute;top:-35px;width:350px;text-align:center;-webkit-animation-name:anim_titles;-webkit-animation-delay:0;-moz-animation-name:anim_titles;-moz-animation-delay:0}#timeline-express-support-page-wrap{padding:2em}#timeline-express-support-page-wrap hr{margin:1.5em 0}#timeline-express-support-page-header{display:inline-block;width:100%}#timeline-express-support-page-header img.te-logo{max-width:128px;min-width:90px;width:20%;float:right}#timeline-express-support-page-header .support-subhead{display:block;margin:2em 1em 0 0;float:right;width:44%}#timeline-express-support-page-wrap #timeline_express_license_key{width:25%;min-width:400px}.timeline-express-valid-license{color:rgba(144,214,125,.68)}.purchase-support-license{margin-right:-.5em!important}#support-license-form p.description.license-error{color:rgba(225,47,47,.73)}#support-license-form p.description.license-active{color:rgba(46,102,31,.68)}#support-license-form .license-links a{text-decoration:none}.timeline-express-license-buttons{display:block;width:100%;margin-top:2em}.timeline-express-invalid-license-error{color:rgba(225,47,47,.73)}.codeparrots-tracking-notice{background-image:url(../../images/flying-parrot.png);background-position:center left;background-repeat:no-repeat;background-size:120px}.codeparrots-tracking-notice p{max-width:90%}#premium-support-contact-form{float:right;width:33%;min-width:300px}#premium-support-contact-form form,#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form form textarea{resize:vertical}#premium-support-contact-form form input[type=submit],#premium-support-contact-form form label{margin-top:1em;display:block}.license-expiring-soon{font-size:11px;color:#f34b4b;display:block}@media only screen and (max-width:1081px){#timeline_express_license_key{min-width:90%!important;width:90%!important}#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form{margin:2em 0 0;float:right;width:100%}#timeline-express-support-page-wrap table.widefat.fixed{max-width:100%!important}#timeline-express-support-page-header .support-subhead{width:auto}#timeline-express-support-page-header .te-logo{min-width:140px!important;float:none!important;display:block;margin:0 auto}#timeline-express-support-page-header .support-subhead h1{line-height:1.2}}.timeline-express-about-wrap .timeline-express-badge{float:left;border-radius:4px;margin:0 15px 15px 0;max-width:100%}.timeline-express-about-wrap #timeline-express-header{margin-bottom:15px}.timeline-express-about-wrap #timeline-express-header h1{margin-bottom:15px!important}.timeline-express-about-wrap .about-text{margin:0 0 15px;max-width:670px}.timeline-express-about-wrap .feature-section{margin-top:20px}.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{width:50%;box-sizing:border-box}.timeline-express-about-wrap .feature-section-content{float:right;padding-left:50px}.timeline-express-about-wrap .feature-section-content h4{margin:0 0 1em}.timeline-express-about-wrap .feature-section-media{float:left;text-align:left;margin-bottom:20px}.timeline-express-about-wrap img{border:none}.timeline-express-about-wrap .feature-section:not(.under-the-hood) .col{margin-top:0}@media all and (max-width:782px){.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{float:none;padding-left:0;width:100%;text-align:right}.timeline-express-about-wrap .feature-section-media img{float:none;margin:0 0 20px}}.about-wrap .timeline-express-badge{position:absolute;top:0;left:0;color:#999;font-size:14px;text-align:center;margin:5px 0 0;width:150px}.about-wrap .timeline-express-badge .version{display:block;margin:5px auto 0}.about-wrap .feature-section p{font-size:15px}.about-wrap .feature-section.two-col .col{vertical-align:top}.about-wrap .feature-section.two-col .col:nth-child(1){width:calc(65% - 4px)}.about-wrap .feature-section.two-col .col:nth-child(2){width:calc(30% - 4px);text-align:center;float:left}.about-wrap .timeline-express-features-button{font-size:14px;height:auto;padding:5px 15px;margin-top:15px}#timeline-express-addons .the-list{display:inline-block}#timeline-express-addons hr{display:block;width:100%;margin:2em 0}#timeline-express-addons .timeline-express-clear:after,#timeline-express-addons .timeline-express-clear:before{content:" ";display:table}#timeline-express-addons .intro{margin-bottom:10px}#timeline-express-addons h2.widefat{margin:1.5em 0 8px}#timeline-express-addons h2.widefat:first-child{margin-top:0}#timeline-express-addons h2.widefat+p{margin-bottom:1rem}#timeline-express-addons a.view-all-addons.button-primary{position:absolute;margin-right:10px}.timeline-express-addons-basic-message{border:1px solid #ddd;padding:20px}.timeline-express-addons-basic-message h5{font-size:16px;font-weight:700;margin:0 0 15px}.timeline-express-addons-basic-message p{margin:0}.timeline-express-addons-unlock{margin:35px 0 25px}.timeline-express-addons-unlock h4{font-size:23px;font-weight:400;margin:0 0 6px;line-height:29px}.timeline-express-addons-unlock p{margin:0}.timeline-express-addon-item{background-color:#fff;border:1px solid #ddd}.timeline-express-addon-image{float:right;height:92px;width:92px;border:1px solid #ddd;margin:12px 12px 0 0;border-radius:3px}.timeline-express-addon-image img{display:block;margin:0 auto;max-width:100%;border-radius:3px}.timeline-express-addon-item .icons{display:block}.timeline-express-addon-item .icons .badge:first-child{margin-top:.5em}.timeline-express-addon-item .icons .badge{border:1px solid transparent;border-radius:.25rem;padding:2px 5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;display:block;width:100%;margin:3px 0}.timeline-express-addon-item .icons .badge .dashicons{font-size:15px;line-height:20px;opacity:.75}.timeline-express-addon-item .icons .badge.free{background-color:#dff0d8;border-color:#d0e9c6;color:#3c763d}.timeline-express-addon-item .icons .badge.popular{background-color:#d9edf7;border-color:#bcdff1;color:#31708f}.timeline-express-addon-text{margin:0 126px 0 12px;padding:13px 0}.timeline-express-addon-text h4{font-size:16px;font-weight:700;margin:0 0 8px}.timeline-express-addon-text p{margin:0}.timeline-express-addon-action{text-align:center;margin:-3em 0 1em}.timeline-express-addon-action a,.timeline-express-addon-action button{font-size:14px;color:#fff;background-color:#0085ba;border:1px solid #006d98;text-decoration:none;width:130px;margin:40px auto 0;display:block;border-radius:5px;padding:10px 0;cursor:pointer}.timeline-express-addon-action a:hover,.timeline-express-addon-action button:hover{background-color:#006d98}.timeline-express-addon-installed-container a:hover{background-color:#0085ba}.timeline-express-addon-status-active .timeline-express-addon-action{background-color:#edfaff}.timeline-express-addon-status-inactive .timeline-express-addon-action{background-color:#f5f6f7}.timeline-express-error{color:#b94a48;background-color:#f2dede;padding:8px}.timeline-express-success{color:#468847;background-color:#dff0d8;padding:8px}.timeline-express-addon-action .button-addon-installed,.timeline-express-addon-action .button-addon-installed:hover,.timeline-express-addon-installed-container{opacity:.5}.timeline-express-addon-action .button-addon-installed[href="#"]:hover{cursor:no-drop}#timeline-express-addons .section{clear:both;padding:0;margin:0}#timeline-express-addons .col{display:block;float:right;margin:1% 1.6% 1% 0}#timeline-express-addons .col:first-child{margin-right:0}#timeline-express-addons .group:after,#timeline-express-addons .group:before{content:"";display:table}#timeline-express-addons .group{zoom:1}#timeline-express-addons .span_3_of_3{width:100%}#timeline-express-addons .span_2_of_3{width:calc(66.13% - 2px)}#timeline-express-addons .span_1_of_3{width:calc(32.26% - 2px)}@media only screen and (max-width:960px){#timeline-express-addons .col{margin:1% 0}#timeline-express-addons .span_1_of_3,#timeline-express-addons .span_2_of_3,#timeline-express-addons .span_3_of_3{width:100%}}
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  body.admin_page_timeline-express-welcome .slides ul li,body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{-webkit-animation-duration:18s;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:normal;-webkit-animation-play-state:running;-webkit-animation-fill-mode:forwards;-moz-animation-duration:18s;-moz-animation-timing-function:linear;-moz-animation-iteration-count:infinite;-moz-animation-direction:normal;-moz-animation-play-state:running;-moz-animation-fill-mode:forwards}#timeline-express-addons .group:after,#timeline-express-addons .timeline-express-clear:after{clear:both}.wp-core-ui .timeline-express-red-button{background-color:#9B2124;background-image:linear-gradient(to bottom,#C5292E,#9B2124);border-color:#9B2124 #9B2124 #8D1F21;box-shadow:inset 0 1px 0 rgba(120,200,230,.5);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1);margin-right:2em;width:150px;text-align:center}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button.hover,.wp-core-ui .timeline-express-red-button:focus,.wp-core-ui .timeline-express-red-button:hover{background-color:#B72629;background-image:linear-gradient(to bottom,#D22E30,#9B2124);border-color:#7F1C1F;box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3)}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button:focus{border-color:#500F0E;box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4)}.wp-core-ui .timeline-express-red-button.active,.wp-core-ui .timeline-express-red-button.active:focus,.wp-core-ui .timeline-express-red-button.active:hover,.wp-core-ui .timeline-express-red-button:active{background:#7F1C1F;background-image:linear-gradient(to bottom,#9B2124,#B72629);border-color:#601312 #AE2426 #AE2426;color:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .timeline-express-red-button-disabled,.wp-core-ui .timeline-express-red-button:disabled,.wp-core-ui .timeline-express-red-button[disabled]{color:#E79496!important;background:#BA292B!important;border-color:#7F1C1F!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.delete-no:hover,.delete-yes:hover{cursor:pointer}h2.nav-tab-wrapper.te-options{padding-bottom:0!important}h2.nav-tab-wrapper.te-options a.nav-tab:nth-child(1){margin-right:0!important}#advert_metabox .inside{padding:0;margin-top:0}#advert_metabox .inside .cmb2-id-announcement-advertisments{padding:0!important;border:none;background:0 0;margin-bottom:0}#advert_metabox .inside .cmb2-id-announcement-advertisments p{padding:0 10px}#advert_metabox .inside .cmb2-id-announcement-advertisments a.advertisment-link{position:relative;display:block;max-height:278px}div.cmb2-id-announcement-help-docs{padding-top:0!important;padding-bottom:0!important}label[for=help_docs_metabox-hide],label[for=timeline_express_ads-hide],label[for=announcement_metabox-hide]{display:none!important}#timeline-express-icon{background:url(../../images/timeline-express-logo-128.png) no-repeat;display:block;float:right;padding:0 .5em 0 0;height:90px;width:90px;background-size:contain}.wrap #timeline-express-page-header{margin:0}body.te_announcements_page_timeline-express-settings .wrap .postbox.ui-sortable-handle{border-radius:5px}body.te_announcements_page_timeline-express-settings .te-sidebar.add-ons-active{margin-top:3.3em}body.te_announcements_page_timeline-express-settings .wrap h2.nav-tab-wrapper{border-bottom:none}.settings-header{display:inline-block;width:100%;padding-right:0!important}.timeline-express-settings-header{background:0 0;box-shadow:none;border:none}.wrap .nav-tab-wrapper{padding-top:2.5em}.wrap .account-nav-tab{padding-top:0}.random-length-text{opacity:.5}#timeline_express_review_this_plugin_container .fa-paypal{display:block;width:100%;font-size:16px;padding-top:4px;margin:0 auto!important;color:#253b80}.wrap #timeline_express_review_this_plugin_container{padding:.5em;float:left;margin-top:.75em}#timeline_express_review_this_plugin_container{display:inline-block}#timeline_express_review_this_plugin_container a,#timeline_express_review_this_plugin_container a:hover{color:#333}#timeline_express_review_this_plugin_container .timeline_express_header_logo,#timeline_express_review_this_plugin_container div,#timeline_express_review_this_plugin_container span{float:right;margin:0 .5em;text-align:center}#timeline_express_review_this_plugin_container div.dashicons{margin:0 5px}#timeline_express_review_this_plugin_container div.dashicons-plus-alt{display:block;width:100%;margin:0 auto;color:#a3c3b8}.timeline-express-form{margin-bottom:3em}.timeline-express-settings-description{padding-bottom:2em!important;color:#A7A7A7;font-style:italic;font-size:10px}td.column-announcement_date .dashicons-arrow-right{line-height:2.9;display:inline-block;color:rgba(227,26,26,.68)}.delete-no:after{content:" no, save my announcements from being deleted. I'll need them again!"}.delete-yes:after{content:" yes, delete all of the announcement posts. they are dead to me."}#ui-datepicker-div.cmb2-element{z-index:999999!important}.wp-picker-holder{position:absolute;z-index:99999999}#no-events-message_ifr{max-height:100px}.wp-list-table .no-items .colspanchange{text-align:center;height:115px;line-height:8;font-style:italic}.no-image-used-text{line-height:4.7}.wp-list-table .announcement_color_box{display:block;height:15px;width:15px;border:1px solid rgba(128,128,128,.22);padding:.5em;text-align:center;border-radius:50%}.wp-list-table .past_announcement{height:30px}.wp-list-table .edit-announcement-icon{font-size:25px!important;display:block}.wp-list-table .dashicon-past-announcement{font-size:30px!important;text-align:right}.wp-list-table img.attachment-timeline-express-thumbnail.size-timeline-express-thumbnail{max-width:180px;width:80%;height:auto}.dashicons-star-filled{color:#FEBE12}#timeline_express_reset_plugin_settings .dashicons-dismiss{float:right;margin-top:.5em;padding:.5em .5em 1em 1em;color:#f15353}body.admin_page_timeline-express-welcome .timeline-express-image{background:-moz-linear-gradient(top,rgba(206,220,231,.7) 100%,rgba(89,106,114,.7) 100%);background-image:url(../images/welcome/background.png)}body.admin_page_timeline-express-welcome .timeline-screenshot{padding:1.5em 1.5em 0}body.admin_page_timeline-express-welcome .font-awesome-background{padding-top:3em;margin-top:1.5em;background-image:url(../images/welcome/Font-Awesome-Cheatsheet.png);background-size:cover;height:250px;text-align:center;line-height:8}body.admin_page_timeline-express-welcome .admin-manage-announcements,body.admin_page_timeline-express-welcome .customize-your-timeline,body.admin_page_timeline-express-welcome .intuitive-post-creation{margin-top:1.5em;background-size:contain;background-position:bottom center;background-repeat:no-repeat}body.admin_page_timeline-express-welcome .intuitive-post-creation{padding-top:3em;background-image:url(../images/welcome/intuitive-creation-screen.jpg);height:665px}body.admin_page_timeline-express-welcome .admin-manage-announcements{padding-top:3em;background-image:url(../images/welcome/Manage-Announcements.jpg);height:665px}body.admin_page_timeline-express-welcome .customize-your-timeline{padding-top:4%;background-image:url(../images/welcome/customize-your-timeline.jpg);height:665px}body.admin_page_timeline-express-welcome .slides{height:665px;overflow:hidden;position:relative;width:100%;padding:4% 0}body.admin_page_timeline-express-welcome .slides ul{list-style:none;position:relative}body.admin_page_timeline-express-welcome .slides ul li{width:100%;opacity:0;position:absolute;top:0;-webkit-animation-name:anim_slides;-webkit-animation-delay:0;-moz-animation-name:anim_slides;-moz-animation-delay:0}body.admin_page_timeline-express-welcome .slides ul li:nth-child(2),body.admin_page_timeline-express-welcome .slides ul li:nth-child(2) h2.promo-text{-webkit-animation-delay:6s;-moz-animation-delay:6s}body.admin_page_timeline-express-welcome .slides ul li:nth-child(3),body.admin_page_timeline-express-welcome .slides ul li:nth-child(3) h2.promo-text{-webkit-animation-delay:12s;-moz-animation-delay:12s}body.admin_page_timeline-express-welcome .slides ul li img{display:block}body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{background-color:#000;border-radius:10px;box-shadow:0 0 3px #FFF inset;color:#FFF;font-size:18px;margin:0 auto;padding:10px;position:absolute;top:-35px;width:350px;text-align:center;-webkit-animation-name:anim_titles;-webkit-animation-delay:0;-moz-animation-name:anim_titles;-moz-animation-delay:0}#timeline-express-support-page-wrap{padding:2em}#timeline-express-support-page-wrap hr{margin:1.5em 0}#timeline-express-support-page-header{display:inline-block;width:100%}#timeline-express-support-page-header img.te-logo{max-width:128px;min-width:90px;width:20%;float:right}#timeline-express-support-page-header .support-subhead{display:block;margin:2em 1em 0 0;float:right;width:44%}#timeline-express-support-page-wrap #timeline_express_license_key{width:25%;min-width:400px}.timeline-express-valid-license{color:rgba(144,214,125,.68)}.purchase-support-license{margin-right:-.5em!important}#support-license-form p.description.license-error{color:rgba(225,47,47,.73)}#support-license-form p.description.license-active{color:rgba(46,102,31,.68)}#support-license-form .license-links a{text-decoration:none}.timeline-express-license-buttons{display:block;width:100%;margin-top:2em}.timeline-express-invalid-license-error{color:rgba(225,47,47,.73)}.codeparrots-tracking-notice{background-image:url(../../images/flying-parrot.png);background-position:center left;background-repeat:no-repeat;background-size:120px}.codeparrots-tracking-notice p{max-width:90%}#premium-support-contact-form{float:right;width:33%;min-width:300px}#premium-support-contact-form form,#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form form textarea{resize:vertical}#premium-support-contact-form form input[type=submit],#premium-support-contact-form form label{margin-top:1em;display:block}.license-expiring-soon{font-size:11px;color:#f34b4b;display:block}@media only screen and (max-width:1081px){#timeline_express_license_key{min-width:90%!important;width:90%!important}#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form{margin:2em 0 0;float:right;width:100%}#timeline-express-support-page-wrap table.widefat.fixed{max-width:100%!important}#timeline-express-support-page-header .support-subhead{width:auto}#timeline-express-support-page-header .te-logo{min-width:140px!important;float:none!important;display:block;margin:0 auto}#timeline-express-support-page-header .support-subhead h1{line-height:1.2}}.timeline-express-about-wrap .timeline-express-badge{float:left;border-radius:4px;margin:0 15px 15px 0;max-width:100%}.timeline-express-about-wrap #timeline-express-header{margin-bottom:15px}.timeline-express-about-wrap #timeline-express-header h1{margin-bottom:15px!important}.timeline-express-about-wrap .about-text{margin:0 0 15px;max-width:670px}.timeline-express-about-wrap .feature-section{margin-top:20px}.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{width:50%;box-sizing:border-box}.timeline-express-about-wrap .feature-section-content{float:right;padding-left:50px}.timeline-express-about-wrap .feature-section-content h4{margin:0 0 1em}.timeline-express-about-wrap .feature-section-media{float:left;text-align:left;margin-bottom:20px}.timeline-express-about-wrap img{border:none}.timeline-express-about-wrap .feature-section:not(.under-the-hood) .col{margin-top:0}@media all and (max-width:782px){.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{float:none;padding-left:0;width:100%;text-align:right}.timeline-express-about-wrap .feature-section-media img{float:none;margin:0 0 20px}}.about-wrap .timeline-express-badge{position:absolute;top:0;left:0;color:#999;font-size:14px;text-align:center;margin:5px 0 0;width:150px}.about-wrap .timeline-express-badge .version{display:block;margin:5px auto 0}.about-wrap .feature-section p{font-size:15px}.about-wrap .feature-section.two-col .col{vertical-align:top}.about-wrap .feature-section.two-col .col:nth-child(1){width:calc(65% - 4px)}.about-wrap .feature-section.two-col .col:nth-child(2){width:calc(30% - 4px);text-align:center;float:left}.about-wrap .timeline-express-features-button{font-size:14px;height:auto;padding:5px 15px;margin-top:15px}#timeline-express-addons .the-list{display:inline-block}#timeline-express-addons hr{display:block;width:100%;margin:2em 0}#timeline-express-addons .timeline-express-clear:after,#timeline-express-addons .timeline-express-clear:before{content:" ";display:table}#timeline-express-addons .intro{margin-bottom:10px}#timeline-express-addons h2.widefat{margin:1.5em 0 8px}#timeline-express-addons h2.widefat:first-child{margin-top:0}#timeline-express-addons h2.widefat+p{margin-bottom:1rem}#timeline-express-addons a.view-all-addons.button-primary{position:absolute;margin-right:10px}.timeline-express-addons-basic-message{border:1px solid #ddd;padding:20px}.timeline-express-addons-basic-message h5{font-size:16px;font-weight:700;margin:0 0 15px}.timeline-express-addons-basic-message p{margin:0}.timeline-express-addons-unlock{margin:35px 0 25px}.timeline-express-addons-unlock h4{font-size:23px;font-weight:400;margin:0 0 6px;line-height:29px}.timeline-express-addons-unlock p{margin:0}.timeline-express-addon-item{background-color:#fff;border:1px solid #ddd}.timeline-express-addon-image{float:right;height:92px;width:92px;border:1px solid #ddd;margin:12px 12px 0 0;border-radius:3px}.timeline-express-addon-image img{display:block;margin:0 auto;max-width:100%;border-radius:3px}.timeline-express-addon-item .icons{display:block}.timeline-express-addon-item .icons .badge:first-child{margin-top:.5em}.timeline-express-addon-item .icons .badge{border:1px solid transparent;border-radius:.25rem;padding:2px 5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;display:block;width:100%;margin:3px 0}.timeline-express-addon-item .icons .badge .dashicons{font-size:15px;line-height:20px;opacity:.75}.timeline-express-addon-item .icons .badge.free{background-color:#dff0d8;border-color:#d0e9c6;color:#3c763d}.timeline-express-addon-item .icons .badge.popular{background-color:#d9edf7;border-color:#bcdff1;color:#31708f}.timeline-express-addon-text{margin:0 126px 0 12px;padding:13px 0}.timeline-express-addon-text h4{font-size:16px;font-weight:700;margin:0 0 8px}.timeline-express-addon-text p{margin:0}.timeline-express-addon-action{text-align:center;margin:-3em 0 1em}.timeline-express-addon-action a,.timeline-express-addon-action button{font-size:14px;color:#fff;background-color:#0085ba;border:1px solid #006d98;text-decoration:none;width:130px;margin:40px auto 0;display:block;border-radius:5px;padding:10px 0;cursor:pointer}.timeline-express-addon-action a:hover,.timeline-express-addon-action button:hover{background-color:#006d98}.timeline-express-addon-installed-container a:hover{background-color:#0085ba}.timeline-express-addon-status-active .timeline-express-addon-action{background-color:#edfaff}.timeline-express-addon-status-inactive .timeline-express-addon-action{background-color:#f5f6f7}.timeline-express-error{color:#b94a48;background-color:#f2dede;padding:8px}.timeline-express-success{color:#468847;background-color:#dff0d8;padding:8px}.timeline-express-addon-action .button-addon-installed,.timeline-express-addon-action .button-addon-installed:hover,.timeline-express-addon-installed-container{opacity:.5}.timeline-express-addon-action .button-addon-installed[href="#"]:hover{cursor:no-drop}#timeline-express-addons .section{clear:both;padding:0;margin:0}#timeline-express-addons .col{display:block;float:right;margin:1% 1.6% 1% 0}#timeline-express-addons .col:first-child{margin-right:0}#timeline-express-addons .group:after,#timeline-express-addons .group:before{content:"";display:table}#timeline-express-addons .group{zoom:1}#timeline-express-addons .span_3_of_3{width:100%}#timeline-express-addons .span_2_of_3{width:calc(66.13% - 2px)}#timeline-express-addons .span_1_of_3{width:calc(32.26% - 2px)}@media only screen and (max-width:960px){#timeline-express-addons .col{margin:1% 0}#timeline-express-addons .span_1_of_3,#timeline-express-addons .span_2_of_3,#timeline-express-addons .span_3_of_3{width:100%}}
lib/admin/css/min/timeline-express-admin.min.css CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  body.admin_page_timeline-express-welcome .slides ul li,body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{-webkit-animation-duration:18s;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:normal;-webkit-animation-play-state:running;-webkit-animation-fill-mode:forwards;-moz-animation-duration:18s;-moz-animation-timing-function:linear;-moz-animation-iteration-count:infinite;-moz-animation-direction:normal;-moz-animation-play-state:running;-moz-animation-fill-mode:forwards}#timeline-express-addons .group:after,#timeline-express-addons .timeline-express-clear:after{clear:both}.wp-core-ui .timeline-express-red-button{background-color:#9B2124;background-image:linear-gradient(to bottom,#C5292E,#9B2124);border-color:#9B2124 #9B2124 #8D1F21;box-shadow:inset 0 1px 0 rgba(120,200,230,.5);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1);margin-left:2em;width:150px;text-align:center}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button.hover,.wp-core-ui .timeline-express-red-button:focus,.wp-core-ui .timeline-express-red-button:hover{background-color:#B72629;background-image:linear-gradient(to bottom,#D22E30,#9B2124);border-color:#7F1C1F;box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3)}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button:focus{border-color:#500F0E;box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4)}.wp-core-ui .timeline-express-red-button.active,.wp-core-ui .timeline-express-red-button.active:focus,.wp-core-ui .timeline-express-red-button.active:hover,.wp-core-ui .timeline-express-red-button:active{background:#7F1C1F;background-image:linear-gradient(to bottom,#9B2124,#B72629);border-color:#601312 #AE2426 #AE2426;color:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .timeline-express-red-button-disabled,.wp-core-ui .timeline-express-red-button:disabled,.wp-core-ui .timeline-express-red-button[disabled]{color:#E79496!important;background:#BA292B!important;border-color:#7F1C1F!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.delete-no:hover,.delete-yes:hover{cursor:pointer}h2.nav-tab-wrapper.te-options{padding-bottom:0!important}h2.nav-tab-wrapper.te-options a.nav-tab:nth-child(1){margin-left:0!important}#advert_metabox .inside{padding:0;margin-top:0}#advert_metabox .inside .cmb2-id-announcement-advertisments{padding:0!important;border:none;background:0 0;margin-bottom:0}#advert_metabox .inside .cmb2-id-announcement-advertisments p{padding:0 10px}#advert_metabox .inside .cmb2-id-announcement-advertisments a.advertisment-link{position:relative;display:block;max-height:278px}div.cmb2-id-announcement-help-docs{padding-top:0!important;padding-bottom:0!important}label[for=help_docs_metabox-hide],label[for=timeline_express_ads-hide],label[for=announcement_metabox-hide]{display:none!important}#timeline-express-icon{background:url(../../images/timeline-express-logo-128.png) no-repeat;display:block;float:left;padding:0 0 0 .5em;height:90px;width:90px;background-size:contain}.wrap #timeline-express-page-header{margin:0}body.te_announcements_page_timeline-express-settings .wrap .postbox.ui-sortable-handle{border-radius:5px}body.te_announcements_page_timeline-express-settings .te-sidebar.add-ons-active{margin-top:3.3em}body.te_announcements_page_timeline-express-settings .wrap h2.nav-tab-wrapper{border-bottom:none}.settings-header{display:inline-block;width:100%;padding-left:0!important}.timeline-express-settings-header{background:0 0;box-shadow:none;border:none}.wrap .nav-tab-wrapper{padding-top:2.5em}.wrap .account-nav-tab{padding-top:0}.random-length-text{opacity:.5}#timeline_express_review_this_plugin_container .fa-paypal{display:block;width:100%;font-size:16px;padding-top:4px;margin:0 auto!important;color:#253b80}.wrap #timeline_express_review_this_plugin_container{padding:.5em;float:right;margin-top:.75em}#timeline_express_review_this_plugin_container{display:inline-block}#timeline_express_review_this_plugin_container a,#timeline_express_review_this_plugin_container a:hover{color:#333}#timeline_express_review_this_plugin_container .timeline_express_header_logo,#timeline_express_review_this_plugin_container div,#timeline_express_review_this_plugin_container span{float:left;margin:0 .5em;text-align:center}#timeline_express_review_this_plugin_container div.dashicons{margin:0 5px}#timeline_express_review_this_plugin_container div.dashicons-plus-alt{display:block;width:100%;margin:0 auto;color:#a3c3b8}.timeline-express-form{margin-bottom:3em}.timeline-express-settings-description{padding-bottom:2em!important;color:#A7A7A7;font-style:italic;font-size:10px}td.column-announcement_date .dashicons-arrow-right{line-height:2.9;display:inline-block;color:rgba(227,26,26,.68)}.delete-no:after{content:" no, save my announcements from being deleted. I'll need them again!"}.delete-yes:after{content:" yes, delete all of the announcement posts. they are dead to me."}#ui-datepicker-div.cmb2-element{z-index:999999!important}.wp-picker-holder{position:absolute;z-index:99999999}#no-events-message_ifr{max-height:100px}.wp-list-table .no-items .colspanchange{text-align:center;height:115px;line-height:8;font-style:italic}.no-image-used-text{line-height:4.7}.wp-list-table .announcement_color_box{display:block;height:15px;width:15px;border:1px solid rgba(128,128,128,.22);padding:.5em;text-align:center;border-radius:50%}.wp-list-table .past_announcement{height:30px}.wp-list-table .edit-announcement-icon{font-size:25px!important;display:block}.wp-list-table .dashicon-past-announcement{font-size:30px!important;text-align:left}.wp-list-table img.attachment-timeline-express-thumbnail.size-timeline-express-thumbnail{max-width:180px;width:80%;height:auto}.dashicons-star-filled{color:#FEBE12}#timeline_express_reset_plugin_settings .dashicons-dismiss{float:left;margin-top:.5em;padding:.5em 1em 1em .5em;color:#f15353}body.admin_page_timeline-express-welcome .timeline-express-image{background:-moz-linear-gradient(top,rgba(206,220,231,.7) 0,rgba(89,106,114,.7) 100%);background-image:url(../images/welcome/background.png)}body.admin_page_timeline-express-welcome .timeline-screenshot{padding:1.5em 1.5em 0}body.admin_page_timeline-express-welcome .font-awesome-background{padding-top:3em;margin-top:1.5em;background-image:url(../images/welcome/Font-Awesome-Cheatsheet.png);background-size:cover;height:250px;text-align:center;line-height:8}body.admin_page_timeline-express-welcome .admin-manage-announcements,body.admin_page_timeline-express-welcome .customize-your-timeline,body.admin_page_timeline-express-welcome .intuitive-post-creation{margin-top:1.5em;background-size:contain;background-position:bottom center;background-repeat:no-repeat}body.admin_page_timeline-express-welcome .intuitive-post-creation{padding-top:3em;background-image:url(../images/welcome/intuitive-creation-screen.jpg);height:665px}body.admin_page_timeline-express-welcome .admin-manage-announcements{padding-top:3em;background-image:url(../images/welcome/Manage-Announcements.jpg);height:665px}body.admin_page_timeline-express-welcome .customize-your-timeline{padding-top:4%;background-image:url(../images/welcome/customize-your-timeline.jpg);height:665px}body.admin_page_timeline-express-welcome .slides{height:665px;overflow:hidden;position:relative;width:100%;padding:4% 0}body.admin_page_timeline-express-welcome .slides ul{list-style:none;position:relative}body.admin_page_timeline-express-welcome .slides ul li{width:100%;opacity:0;position:absolute;top:0;-webkit-animation-name:anim_slides;-webkit-animation-delay:0;-moz-animation-name:anim_slides;-moz-animation-delay:0}body.admin_page_timeline-express-welcome .slides ul li:nth-child(2),body.admin_page_timeline-express-welcome .slides ul li:nth-child(2) h2.promo-text{-webkit-animation-delay:6s;-moz-animation-delay:6s}body.admin_page_timeline-express-welcome .slides ul li:nth-child(3),body.admin_page_timeline-express-welcome .slides ul li:nth-child(3) h2.promo-text{-webkit-animation-delay:12s;-moz-animation-delay:12s}body.admin_page_timeline-express-welcome .slides ul li img{display:block}body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{background-color:#000;border-radius:10px;box-shadow:0 0 3px #FFF inset;color:#FFF;font-size:18px;margin:0 auto;padding:10px;position:absolute;top:-35px;width:350px;text-align:center;-webkit-animation-name:anim_titles;-webkit-animation-delay:0;-moz-animation-name:anim_titles;-moz-animation-delay:0}#timeline-express-support-page-wrap{padding:2em}#timeline-express-support-page-wrap hr{margin:1.5em 0}#timeline-express-support-page-header{display:inline-block;width:100%}#timeline-express-support-page-header img.te-logo{max-width:128px;min-width:90px;width:20%;float:left}#timeline-express-support-page-header .support-subhead{display:block;margin:2em 0 0 1em;float:left;width:44%}#timeline-express-support-page-wrap #timeline_express_license_key{width:25%;min-width:400px}.timeline-express-valid-license{color:rgba(144,214,125,.68)}.purchase-support-license{margin-left:-.5em!important}#support-license-form p.description.license-error{color:rgba(225,47,47,.73)}#support-license-form p.description.license-active{color:rgba(46,102,31,.68)}#support-license-form .license-links a{text-decoration:none}.timeline-express-license-buttons{display:block;width:100%;margin-top:2em}.timeline-express-invalid-license-error{color:rgba(225,47,47,.73)}.codeparrots-tracking-notice{background-image:url(../../images/flying-parrot.png);background-position:center right;background-repeat:no-repeat;background-size:120px}.codeparrots-tracking-notice p{max-width:90%}#premium-support-contact-form{float:left;width:33%;min-width:300px}#premium-support-contact-form form,#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form form textarea{resize:vertical}#premium-support-contact-form form input[type=submit],#premium-support-contact-form form label{margin-top:1em;display:block}.license-expiring-soon{font-size:11px;color:#f34b4b;display:block}@media only screen and (max-width:1081px){#timeline_express_license_key{min-width:90%!important;width:90%!important}#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form{margin:2em 0 0;float:left;width:100%}#timeline-express-support-page-wrap table.widefat.fixed{max-width:100%!important}#timeline-express-support-page-header .support-subhead{width:auto}#timeline-express-support-page-header .te-logo{min-width:140px!important;float:none!important;display:block;margin:0 auto}#timeline-express-support-page-header .support-subhead h1{line-height:1.2}}.timeline-express-about-wrap .timeline-express-badge{float:right;border-radius:4px;margin:0 0 15px 15px;max-width:100%}.timeline-express-about-wrap #timeline-express-header{margin-bottom:15px}.timeline-express-about-wrap #timeline-express-header h1{margin-bottom:15px!important}.timeline-express-about-wrap .about-text{margin:0 0 15px;max-width:670px}.timeline-express-about-wrap .feature-section{margin-top:20px}.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{width:50%;box-sizing:border-box}.timeline-express-about-wrap .feature-section-content{float:left;padding-right:50px}.timeline-express-about-wrap .feature-section-content h4{margin:0 0 1em}.timeline-express-about-wrap .feature-section-media{float:right;text-align:right;margin-bottom:20px}.timeline-express-about-wrap img{border:none}.timeline-express-about-wrap .feature-section:not(.under-the-hood) .col{margin-top:0}@media all and (max-width:782px){.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{float:none;padding-right:0;width:100%;text-align:left}.timeline-express-about-wrap .feature-section-media img{float:none;margin:0 0 20px}}.about-wrap .timeline-express-badge{position:absolute;top:0;right:0;color:#999;font-size:14px;text-align:center;margin:5px 0 0;width:150px}.about-wrap .timeline-express-badge .version{display:block;margin:5px auto 0}.about-wrap .feature-section p{font-size:15px}.about-wrap .feature-section.two-col .col{vertical-align:top}.about-wrap .feature-section.two-col .col:nth-child(1){width:calc(65% - 4px)}.about-wrap .feature-section.two-col .col:nth-child(2){width:calc(30% - 4px);text-align:center;float:right}.about-wrap .timeline-express-features-button{font-size:14px;height:auto;padding:5px 15px;margin-top:15px}#timeline-express-addons .the-list{display:inline-block}#timeline-express-addons hr{display:block;width:100%;margin:2em 0}#timeline-express-addons .timeline-express-clear:after,#timeline-express-addons .timeline-express-clear:before{content:" ";display:table}#timeline-express-addons .intro{margin-bottom:10px}#timeline-express-addons h2.widefat{margin:1.5em 0 8px}#timeline-express-addons h2.widefat:first-child{margin-top:0}#timeline-express-addons h2.widefat+p{margin-bottom:1rem}#timeline-express-addons a.view-all-addons.button-primary{position:absolute;margin-left:10px}.timeline-express-addons-basic-message{border:1px solid #ddd;padding:20px}.timeline-express-addons-basic-message h5{font-size:16px;font-weight:700;margin:0 0 15px}.timeline-express-addons-basic-message p{margin:0}.timeline-express-addons-unlock{margin:35px 0 25px}.timeline-express-addons-unlock h4{font-size:23px;font-weight:400;margin:0 0 6px;line-height:29px}.timeline-express-addons-unlock p{margin:0}.timeline-express-addon-item{background-color:#fff;border:1px solid #ddd}.timeline-express-addon-image{float:left;height:92px;width:92px;border:1px solid #ddd;margin:12px 0 0 12px;border-radius:3px}.timeline-express-addon-image img{display:block;margin:0 auto;max-width:100%;border-radius:3px}.timeline-express-addon-item .icons{display:block}.timeline-express-addon-item .icons .badge:first-child{margin-top:.5em}.timeline-express-addon-item .icons .badge{border:1px solid transparent;border-radius:.25rem;padding:2px 5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;display:block;width:100%;margin:3px 0}.timeline-express-addon-item .icons .badge .dashicons{font-size:15px;line-height:20px;opacity:.75}.timeline-express-addon-item .icons .badge.free{background-color:#dff0d8;border-color:#d0e9c6;color:#3c763d}.timeline-express-addon-item .icons .badge.popular{background-color:#d9edf7;border-color:#bcdff1;color:#31708f}.timeline-express-addon-text{margin:0 12px 0 126px;padding:13px 0}.timeline-express-addon-text h4{font-size:16px;font-weight:700;margin:0 0 8px}.timeline-express-addon-text p{margin:0}.timeline-express-addon-action{text-align:center;margin:-3em 0 1em}.timeline-express-addon-action a,.timeline-express-addon-action button{font-size:14px;color:#fff;background-color:#0085ba;border:1px solid #006d98;text-decoration:none;width:130px;margin:40px auto 0;display:block;border-radius:5px;padding:10px 0;cursor:pointer}.timeline-express-addon-action a:hover,.timeline-express-addon-action button:hover{background-color:#006d98}.timeline-express-addon-installed-container a:hover{background-color:#0085ba}.timeline-express-addon-status-active .timeline-express-addon-action{background-color:#edfaff}.timeline-express-addon-status-inactive .timeline-express-addon-action{background-color:#f5f6f7}.timeline-express-error{color:#b94a48;background-color:#f2dede;padding:8px}.timeline-express-success{color:#468847;background-color:#dff0d8;padding:8px}.timeline-express-addon-action .button-addon-installed,.timeline-express-addon-action .button-addon-installed:hover,.timeline-express-addon-installed-container{opacity:.5}.timeline-express-addon-action .button-addon-installed[href="#"]:hover{cursor:no-drop}#timeline-express-addons .section{clear:both;padding:0;margin:0}#timeline-express-addons .col{display:block;float:left;margin:1% 0 1% 1.6%}#timeline-express-addons .col:first-child{margin-left:0}#timeline-express-addons .group:after,#timeline-express-addons .group:before{content:"";display:table}#timeline-express-addons .group{zoom:1}#timeline-express-addons .span_3_of_3{width:100%}#timeline-express-addons .span_2_of_3{width:calc(66.13% - 2px)}#timeline-express-addons .span_1_of_3{width:calc(32.26% - 2px)}@media only screen and (max-width:960px){#timeline-express-addons .col{margin:1% 0}#timeline-express-addons .span_1_of_3,#timeline-express-addons .span_2_of_3,#timeline-express-addons .span_3_of_3{width:100%}}
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  body.admin_page_timeline-express-welcome .slides ul li,body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{-webkit-animation-duration:18s;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:normal;-webkit-animation-play-state:running;-webkit-animation-fill-mode:forwards;-moz-animation-duration:18s;-moz-animation-timing-function:linear;-moz-animation-iteration-count:infinite;-moz-animation-direction:normal;-moz-animation-play-state:running;-moz-animation-fill-mode:forwards}#timeline-express-addons .group:after,#timeline-express-addons .timeline-express-clear:after{clear:both}.wp-core-ui .timeline-express-red-button{background-color:#9B2124;background-image:linear-gradient(to bottom,#C5292E,#9B2124);border-color:#9B2124 #9B2124 #8D1F21;box-shadow:inset 0 1px 0 rgba(120,200,230,.5);color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,0,0,.1);margin-left:2em;width:150px;text-align:center}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button.hover,.wp-core-ui .timeline-express-red-button:focus,.wp-core-ui .timeline-express-red-button:hover{background-color:#B72629;background-image:linear-gradient(to bottom,#D22E30,#9B2124);border-color:#7F1C1F;box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.3)}.wp-core-ui .timeline-express-red-button.focus,.wp-core-ui .timeline-express-red-button:focus{border-color:#500F0E;box-shadow:inset 0 1px 0 rgba(120,200,230,.6),1px 1px 2px rgba(0,0,0,.4)}.wp-core-ui .timeline-express-red-button.active,.wp-core-ui .timeline-express-red-button.active:focus,.wp-core-ui .timeline-express-red-button.active:hover,.wp-core-ui .timeline-express-red-button:active{background:#7F1C1F;background-image:linear-gradient(to bottom,#9B2124,#B72629);border-color:#601312 #AE2426 #AE2426;color:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);text-shadow:0 1px 0 rgba(0,0,0,.1)}.wp-core-ui .timeline-express-red-button-disabled,.wp-core-ui .timeline-express-red-button:disabled,.wp-core-ui .timeline-express-red-button[disabled]{color:#E79496!important;background:#BA292B!important;border-color:#7F1C1F!important;box-shadow:none!important;text-shadow:0 -1px 0 rgba(0,0,0,.1)!important;cursor:default}.delete-no:hover,.delete-yes:hover{cursor:pointer}h2.nav-tab-wrapper.te-options{padding-bottom:0!important}h2.nav-tab-wrapper.te-options a.nav-tab:nth-child(1){margin-left:0!important}#advert_metabox .inside{padding:0;margin-top:0}#advert_metabox .inside .cmb2-id-announcement-advertisments{padding:0!important;border:none;background:0 0;margin-bottom:0}#advert_metabox .inside .cmb2-id-announcement-advertisments p{padding:0 10px}#advert_metabox .inside .cmb2-id-announcement-advertisments a.advertisment-link{position:relative;display:block;max-height:278px}div.cmb2-id-announcement-help-docs{padding-top:0!important;padding-bottom:0!important}label[for=help_docs_metabox-hide],label[for=timeline_express_ads-hide],label[for=announcement_metabox-hide]{display:none!important}#timeline-express-icon{background:url(../../images/timeline-express-logo-128.png) no-repeat;display:block;float:left;padding:0 0 0 .5em;height:90px;width:90px;background-size:contain}.wrap #timeline-express-page-header{margin:0}body.te_announcements_page_timeline-express-settings .wrap .postbox.ui-sortable-handle{border-radius:5px}body.te_announcements_page_timeline-express-settings .te-sidebar.add-ons-active{margin-top:3.3em}body.te_announcements_page_timeline-express-settings .wrap h2.nav-tab-wrapper{border-bottom:none}.settings-header{display:inline-block;width:100%;padding-left:0!important}.timeline-express-settings-header{background:0 0;box-shadow:none;border:none}.wrap .nav-tab-wrapper{padding-top:2.5em}.wrap .account-nav-tab{padding-top:0}.random-length-text{opacity:.5}#timeline_express_review_this_plugin_container .fa-paypal{display:block;width:100%;font-size:16px;padding-top:4px;margin:0 auto!important;color:#253b80}.wrap #timeline_express_review_this_plugin_container{padding:.5em;float:right;margin-top:.75em}#timeline_express_review_this_plugin_container{display:inline-block}#timeline_express_review_this_plugin_container a,#timeline_express_review_this_plugin_container a:hover{color:#333}#timeline_express_review_this_plugin_container .timeline_express_header_logo,#timeline_express_review_this_plugin_container div,#timeline_express_review_this_plugin_container span{float:left;margin:0 .5em;text-align:center}#timeline_express_review_this_plugin_container div.dashicons{margin:0 5px}#timeline_express_review_this_plugin_container div.dashicons-plus-alt{display:block;width:100%;margin:0 auto;color:#a3c3b8}.timeline-express-form{margin-bottom:3em}.timeline-express-settings-description{padding-bottom:2em!important;color:#A7A7A7;font-style:italic;font-size:10px}td.column-announcement_date .dashicons-arrow-right{line-height:2.9;display:inline-block;color:rgba(227,26,26,.68)}.delete-no:after{content:" no, save my announcements from being deleted. I'll need them again!"}.delete-yes:after{content:" yes, delete all of the announcement posts. they are dead to me."}#ui-datepicker-div.cmb2-element{z-index:999999!important}.wp-picker-holder{position:absolute;z-index:99999999}#no-events-message_ifr{max-height:100px}.wp-list-table .no-items .colspanchange{text-align:center;height:115px;line-height:8;font-style:italic}.no-image-used-text{line-height:4.7}.wp-list-table .announcement_color_box{display:block;height:15px;width:15px;border:1px solid rgba(128,128,128,.22);padding:.5em;text-align:center;border-radius:50%}.wp-list-table .past_announcement{height:30px}.wp-list-table .edit-announcement-icon{font-size:25px!important;display:block}.wp-list-table .dashicon-past-announcement{font-size:30px!important;text-align:left}.wp-list-table img.attachment-timeline-express-thumbnail.size-timeline-express-thumbnail{max-width:180px;width:80%;height:auto}.dashicons-star-filled{color:#FEBE12}#timeline_express_reset_plugin_settings .dashicons-dismiss{float:left;margin-top:.5em;padding:.5em 1em 1em .5em;color:#f15353}body.admin_page_timeline-express-welcome .timeline-express-image{background:-moz-linear-gradient(top,rgba(206,220,231,.7) 0,rgba(89,106,114,.7) 100%);background-image:url(../images/welcome/background.png)}body.admin_page_timeline-express-welcome .timeline-screenshot{padding:1.5em 1.5em 0}body.admin_page_timeline-express-welcome .font-awesome-background{padding-top:3em;margin-top:1.5em;background-image:url(../images/welcome/Font-Awesome-Cheatsheet.png);background-size:cover;height:250px;text-align:center;line-height:8}body.admin_page_timeline-express-welcome .admin-manage-announcements,body.admin_page_timeline-express-welcome .customize-your-timeline,body.admin_page_timeline-express-welcome .intuitive-post-creation{margin-top:1.5em;background-size:contain;background-position:bottom center;background-repeat:no-repeat}body.admin_page_timeline-express-welcome .intuitive-post-creation{padding-top:3em;background-image:url(../images/welcome/intuitive-creation-screen.jpg);height:665px}body.admin_page_timeline-express-welcome .admin-manage-announcements{padding-top:3em;background-image:url(../images/welcome/Manage-Announcements.jpg);height:665px}body.admin_page_timeline-express-welcome .customize-your-timeline{padding-top:4%;background-image:url(../images/welcome/customize-your-timeline.jpg);height:665px}body.admin_page_timeline-express-welcome .slides{height:665px;overflow:hidden;position:relative;width:100%;padding:4% 0}body.admin_page_timeline-express-welcome .slides ul{list-style:none;position:relative}body.admin_page_timeline-express-welcome .slides ul li{width:100%;opacity:0;position:absolute;top:0;-webkit-animation-name:anim_slides;-webkit-animation-delay:0;-moz-animation-name:anim_slides;-moz-animation-delay:0}body.admin_page_timeline-express-welcome .slides ul li:nth-child(2),body.admin_page_timeline-express-welcome .slides ul li:nth-child(2) h2.promo-text{-webkit-animation-delay:6s;-moz-animation-delay:6s}body.admin_page_timeline-express-welcome .slides ul li:nth-child(3),body.admin_page_timeline-express-welcome .slides ul li:nth-child(3) h2.promo-text{-webkit-animation-delay:12s;-moz-animation-delay:12s}body.admin_page_timeline-express-welcome .slides ul li img{display:block}body.admin_page_timeline-express-welcome .slides ul li h2.promo-text{background-color:#000;border-radius:10px;box-shadow:0 0 3px #FFF inset;color:#FFF;font-size:18px;margin:0 auto;padding:10px;position:absolute;top:-35px;width:350px;text-align:center;-webkit-animation-name:anim_titles;-webkit-animation-delay:0;-moz-animation-name:anim_titles;-moz-animation-delay:0}#timeline-express-support-page-wrap{padding:2em}#timeline-express-support-page-wrap hr{margin:1.5em 0}#timeline-express-support-page-header{display:inline-block;width:100%}#timeline-express-support-page-header img.te-logo{max-width:128px;min-width:90px;width:20%;float:left}#timeline-express-support-page-header .support-subhead{display:block;margin:2em 0 0 1em;float:left;width:44%}#timeline-express-support-page-wrap #timeline_express_license_key{width:25%;min-width:400px}.timeline-express-valid-license{color:rgba(144,214,125,.68)}.purchase-support-license{margin-left:-.5em!important}#support-license-form p.description.license-error{color:rgba(225,47,47,.73)}#support-license-form p.description.license-active{color:rgba(46,102,31,.68)}#support-license-form .license-links a{text-decoration:none}.timeline-express-license-buttons{display:block;width:100%;margin-top:2em}.timeline-express-invalid-license-error{color:rgba(225,47,47,.73)}.codeparrots-tracking-notice{background-image:url(../../images/flying-parrot.png);background-position:center right;background-repeat:no-repeat;background-size:120px}.codeparrots-tracking-notice p{max-width:90%}#premium-support-contact-form{float:left;width:33%;min-width:300px}#premium-support-contact-form form,#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form form textarea{resize:vertical}#premium-support-contact-form form input[type=submit],#premium-support-contact-form form label{margin-top:1em;display:block}.license-expiring-soon{font-size:11px;color:#f34b4b;display:block}@media only screen and (max-width:1081px){#timeline_express_license_key{min-width:90%!important;width:90%!important}#premium-support-contact-form form input,#premium-support-contact-form form label,#premium-support-contact-form form textarea{width:100%}#premium-support-contact-form{margin:2em 0 0;float:left;width:100%}#timeline-express-support-page-wrap table.widefat.fixed{max-width:100%!important}#timeline-express-support-page-header .support-subhead{width:auto}#timeline-express-support-page-header .te-logo{min-width:140px!important;float:none!important;display:block;margin:0 auto}#timeline-express-support-page-header .support-subhead h1{line-height:1.2}}.timeline-express-about-wrap .timeline-express-badge{float:right;border-radius:4px;margin:0 0 15px 15px;max-width:100%}.timeline-express-about-wrap #timeline-express-header{margin-bottom:15px}.timeline-express-about-wrap #timeline-express-header h1{margin-bottom:15px!important}.timeline-express-about-wrap .about-text{margin:0 0 15px;max-width:670px}.timeline-express-about-wrap .feature-section{margin-top:20px}.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{width:50%;box-sizing:border-box}.timeline-express-about-wrap .feature-section-content{float:left;padding-right:50px}.timeline-express-about-wrap .feature-section-content h4{margin:0 0 1em}.timeline-express-about-wrap .feature-section-media{float:right;text-align:right;margin-bottom:20px}.timeline-express-about-wrap img{border:none}.timeline-express-about-wrap .feature-section:not(.under-the-hood) .col{margin-top:0}@media all and (max-width:782px){.timeline-express-about-wrap .feature-section-content,.timeline-express-about-wrap .feature-section-media{float:none;padding-right:0;width:100%;text-align:left}.timeline-express-about-wrap .feature-section-media img{float:none;margin:0 0 20px}}.about-wrap .timeline-express-badge{position:absolute;top:0;right:0;color:#999;font-size:14px;text-align:center;margin:5px 0 0;width:150px}.about-wrap .timeline-express-badge .version{display:block;margin:5px auto 0}.about-wrap .feature-section p{font-size:15px}.about-wrap .feature-section.two-col .col{vertical-align:top}.about-wrap .feature-section.two-col .col:nth-child(1){width:calc(65% - 4px)}.about-wrap .feature-section.two-col .col:nth-child(2){width:calc(30% - 4px);text-align:center;float:right}.about-wrap .timeline-express-features-button{font-size:14px;height:auto;padding:5px 15px;margin-top:15px}#timeline-express-addons .the-list{display:inline-block}#timeline-express-addons hr{display:block;width:100%;margin:2em 0}#timeline-express-addons .timeline-express-clear:after,#timeline-express-addons .timeline-express-clear:before{content:" ";display:table}#timeline-express-addons .intro{margin-bottom:10px}#timeline-express-addons h2.widefat{margin:1.5em 0 8px}#timeline-express-addons h2.widefat:first-child{margin-top:0}#timeline-express-addons h2.widefat+p{margin-bottom:1rem}#timeline-express-addons a.view-all-addons.button-primary{position:absolute;margin-left:10px}.timeline-express-addons-basic-message{border:1px solid #ddd;padding:20px}.timeline-express-addons-basic-message h5{font-size:16px;font-weight:700;margin:0 0 15px}.timeline-express-addons-basic-message p{margin:0}.timeline-express-addons-unlock{margin:35px 0 25px}.timeline-express-addons-unlock h4{font-size:23px;font-weight:400;margin:0 0 6px;line-height:29px}.timeline-express-addons-unlock p{margin:0}.timeline-express-addon-item{background-color:#fff;border:1px solid #ddd}.timeline-express-addon-image{float:left;height:92px;width:92px;border:1px solid #ddd;margin:12px 0 0 12px;border-radius:3px}.timeline-express-addon-image img{display:block;margin:0 auto;max-width:100%;border-radius:3px}.timeline-express-addon-item .icons{display:block}.timeline-express-addon-item .icons .badge:first-child{margin-top:.5em}.timeline-express-addon-item .icons .badge{border:1px solid transparent;border-radius:.25rem;padding:2px 5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;display:block;width:100%;margin:3px 0}.timeline-express-addon-item .icons .badge .dashicons{font-size:15px;line-height:20px;opacity:.75}.timeline-express-addon-item .icons .badge.free{background-color:#dff0d8;border-color:#d0e9c6;color:#3c763d}.timeline-express-addon-item .icons .badge.popular{background-color:#d9edf7;border-color:#bcdff1;color:#31708f}.timeline-express-addon-text{margin:0 12px 0 126px;padding:13px 0}.timeline-express-addon-text h4{font-size:16px;font-weight:700;margin:0 0 8px}.timeline-express-addon-text p{margin:0}.timeline-express-addon-action{text-align:center;margin:-3em 0 1em}.timeline-express-addon-action a,.timeline-express-addon-action button{font-size:14px;color:#fff;background-color:#0085ba;border:1px solid #006d98;text-decoration:none;width:130px;margin:40px auto 0;display:block;border-radius:5px;padding:10px 0;cursor:pointer}.timeline-express-addon-action a:hover,.timeline-express-addon-action button:hover{background-color:#006d98}.timeline-express-addon-installed-container a:hover{background-color:#0085ba}.timeline-express-addon-status-active .timeline-express-addon-action{background-color:#edfaff}.timeline-express-addon-status-inactive .timeline-express-addon-action{background-color:#f5f6f7}.timeline-express-error{color:#b94a48;background-color:#f2dede;padding:8px}.timeline-express-success{color:#468847;background-color:#dff0d8;padding:8px}.timeline-express-addon-action .button-addon-installed,.timeline-express-addon-action .button-addon-installed:hover,.timeline-express-addon-installed-container{opacity:.5}.timeline-express-addon-action .button-addon-installed[href="#"]:hover{cursor:no-drop}#timeline-express-addons .section{clear:both;padding:0;margin:0}#timeline-express-addons .col{display:block;float:left;margin:1% 0 1% 1.6%}#timeline-express-addons .col:first-child{margin-left:0}#timeline-express-addons .group:after,#timeline-express-addons .group:before{content:"";display:table}#timeline-express-addons .group{zoom:1}#timeline-express-addons .span_3_of_3{width:100%}#timeline-express-addons .span_2_of_3{width:calc(66.13% - 2px)}#timeline-express-addons .span_1_of_3{width:calc(32.26% - 2px)}@media only screen and (max-width:960px){#timeline-express-addons .col{margin:1% 0}#timeline-express-addons .span_1_of_3,#timeline-express-addons .span_2_of_3,#timeline-express-addons .span_3_of_3{width:100%}}
lib/admin/js/min/timeline-express-admin.min.js CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  function changeRandomTrimLengthCheckbox(){"1"===jQuery('input[name="excerpt-random-length"]').prop("checked")?(jQuery('input[name="excerpt-trim-length"]').fadeOut("fast",function(){jQuery('input[name="excerpt-random-length"]').css("margin-left","0em")}),jQuery("#random-lenth-text-container").removeClass("random-length-text")):(jQuery('input[name="excerpt-random-length"]').css("margin-left",".5em"),jQuery('input[name="excerpt-trim-length"]').fadeIn("fast"),jQuery("#random-lenth-text-container").addClass("random-length-text"))}function toggleDeleteCheckClass(){!0===jQuery('input[name="delete-announcement-posts-on-uninstallation"]').prop("checked")?(jQuery(".delete-no").addClass("delete-yes"),jQuery(".delete-yes").removeClass("delete-no")):(jQuery(".delete-yes").addClass("delete-no"),jQuery(".delete-no").removeClass("delete-yes"))}function toggle_delete_checkbox(){!1===jQuery('input[name="delete-announcement-posts-on-uninstallation"]').prop("checked")?(jQuery(".delete-no").addClass("delete-yes"),jQuery(".delete-yes").removeClass("delete-no"),jQuery('input[name="delete-announcement-posts-on-uninstallation"]').attr("checked",!0)):(jQuery(".delete-yes").addClass("delete-no"),jQuery(".delete-no").removeClass("delete-yes"),jQuery('input[name="delete-announcement-posts-on-uninstallation"]').attr("checked",!1))}!function(a){"use strict";function b(a,b){return a.toUpperCase().indexOf(b.toUpperCase())>-1}function c(b){var c=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return a.each(c,function(){b=b.replace(this.re,this.ch)}),b}function d(a){var b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c="(?:"+Object.keys(b).join("|")+")",d=new RegExp(c),e=new RegExp(c,"g"),f=null==a?"":""+a;return d.test(f)?f.replace(e,function(a){return b[a]}):f}function e(b,c){var d=arguments,e=b,b=d[0],c=d[1];[].shift.apply(d),void 0===b&&(b=e);var g,h=this.each(function(){var e=a(this);if(e.is("select")){var h=e.data("selectpicker"),i="object"==typeof b&&b;if(h){if(i)for(var j in i)i.hasOwnProperty(j)&&(h.options[j]=i[j])}else{var k=a.extend({},f.DEFAULTS,a.fn.selectpicker.defaults||{},e.data(),i);e.data("selectpicker",h=new f(this,k,c))}"string"==typeof b&&(g=h[b]instanceof Function?h[b].apply(h,d):h.options[b])}});return void 0!==g?g:h}a.expr[":"].icontains=function(c,d,e){return b(a(c).text(),e[3])},a.expr[":"].aicontains=function(c,d,e){return b(a(c).data("normalizedText")||a(c).text(),e[3])};var f=function(b,c,d){d&&(d.stopPropagation(),d.preventDefault()),this.$element=a(b),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=c,null===this.options.title&&(this.options.title=this.$element.attr("title")),this.val=f.prototype.val,this.render=f.prototype.render,this.refresh=f.prototype.refresh,this.setStyle=f.prototype.setStyle,this.selectAll=f.prototype.selectAll,this.deselectAll=f.prototype.deselectAll,this.destroy=f.prototype.remove,this.remove=f.prototype.remove,this.show=f.prototype.show,this.hide=f.prototype.hide,this.init()};f.VERSION="1.6.3",f.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results match",countSelectedText:function(a,b){return 1==a?"{0} item selected":"{0} items selected"},maxOptionsText:function(a,b){var c=[];return c[0]=1==a?"Limit reached ({n} item max)":"Limit reached ({n} items max)",c[1]=1==b?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)",c},selectAllText:"Select All",deselectAllText:"Deselect All",multipleSeparator:", ",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,actionsBox:!1,iconBase:"fa",tickIcon:"fa-ok",maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,searchAccentInsensitive:!1},f.prototype={constructor:f,init:function(){var b=this,c=this.$element.attr("id");this.$element.hide(),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement),this.$menu=this.$newElement.find("> .dropdown-menu"),this.$button=this.$newElement.find("> button"),this.$searchbox=this.$newElement.find("input"),this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),void 0!==c&&(this.$button.attr("data-id",c),a('label[for="'+c+'"]').click(function(a){a.preventDefault(),b.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.liHeight(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile()},createDropdown:function(){var b=this.multiple?" show-tick":"",c=this.$element.parent().hasClass("input-group")?" input-group-btn":"",d=this.autofocus?" autofocus":"",e=this.$element.parents().hasClass("form-group-lg")?" btn-lg":this.$element.parents().hasClass("form-group-sm")?" btn-sm":"",f=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",g=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="input-block-level form-control" autocomplete="off" /></div>':"",h=this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-block"><button class="actions-btn bs-select-all btn btn-sm btn-default">'+this.options.selectAllText+'</button><button class="actions-btn bs-deselect-all btn btn-sm btn-default">'+this.options.deselectAllText+"</button></div></div>":"";return a('<div class="btn-group bootstrap-select'+b+c+'"><button type="button" class="btn dropdown-toggle selectpicker'+e+'" data-toggle="dropdown"'+d+'><span class="filter-option pull-left"></span>&nbsp;<span class="caret"></span></button><div class="dropdown-menu open">'+f+g+h+'<ul class="dropdown-menu inner selectpicker" role="menu"></ul></div></div>')},createView:function(){var a=this.createDropdown(),b=this.createLi();return a.find("ul").append(b),a},reloadLi:function(){this.destroyLi();var a=this.createLi();this.$menu.find("ul").append(a)},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var b=this,e=[],f=0,g=function(a,b,c){return"<li"+(void 0!==c?' class="'+c+'"':"")+(void 0!==b|null===b?' data-original-index="'+b+'"':"")+">"+a+"</li>"},h=function(a,e,f,g){var h=c(d(a));return'<a tabindex="0"'+(void 0!==e?' class="'+e+'"':"")+(void 0!==f?' style="'+f+'"':"")+(void 0!==g?'data-optgroup="'+g+'"':"")+' data-normalized-text="'+h+'">'+a+'<span class="'+b.options.iconBase+" "+b.options.tickIcon+' check-mark"></span></a>'};return this.$element.find("option").each(function(){var c=a(this),d=c.attr("class")||"",i=c.attr("style"),j=c.data("content")?c.data("content"):c.html(),k=void 0!==c.data("subtext")?'<small class="muted text-muted">'+c.data("subtext")+"</small>":"",l=void 0!==c.data("icon")?'<span class="'+b.options.iconBase+" "+c.data("icon")+'"></span> ':"",m=c.is(":disabled")||c.parent().is(":disabled"),n=c[0].index;if(""!==l&&m&&(l="<span>"+l+"</span>"),c.data("content")||(j=l+'<span class="text">'+j+k+"</span>"),!b.options.hideDisabled||!m)if(c.parent().is("optgroup")&&!0!==c.data("divider")){if(0===c.index()){f+=1;var o=c.parent().attr("label"),p=void 0!==c.parent().data("subtext")?'<small class="muted text-muted">'+c.parent().data("subtext")+"</small>":"",q=c.parent().data("icon")?'<span class="'+b.options.iconBase+" "+c.parent().data("icon")+'"></span> ':"";o=q+'<span class="text">'+o+p+"</span>",0!==n&&e.length>0&&e.push(g("",null,"divider")),e.push(g(o,null,"dropdown-header"))}e.push(g(h(j,"opt "+d,i,f),n))}else!0===c.data("divider")?e.push(g("",n,"divider")):!0===c.data("hidden")?e.push(g(h(j,d,i),n,"hide is-hidden")):e.push(g(h(j,d,i),n))}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),a(e.join(""))},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(b){var c=this;!1!==b&&this.$element.find("option").each(function(b){c.setDisabled(b,a(this).is(":disabled")||a(this).parent().is(":disabled")),c.setSelected(b,a(this).is(":selected"))}),this.tabIndex();var e=this.options.hideDisabled?":not([disabled])":"",f=this.$element.find("option:selected"+e).map(function(){var b,d=a(this),e=d.data("icon")&&c.options.showIcon?'<i class="'+c.options.iconBase+" "+d.data("icon")+'"></i> ':"";return b=c.options.showSubtext&&d.attr("data-subtext")&&!c.multiple?' <small class="muted text-muted">'+d.data("subtext")+"</small>":"",d.data("content")&&c.options.showContent?d.data("content"):void 0!==d.attr("title")?d.attr("title"):e+d.html()+b}).toArray(),g=this.multiple?f.join(this.options.multipleSeparator):f[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var h=this.options.selectedTextFormat.split(">");if(h.length>1&&f.length>h[1]||1==h.length&&f.length>=2){e=this.options.hideDisabled?", [disabled]":"";var i=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+e).length;g=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(f.length,i):this.options.countSelectedText).replace("{0}",f.length.toString()).replace("{1}",i.toString())}}this.options.title=this.$element.attr("title"),"static"==this.options.selectedTextFormat&&(g=this.options.title),g||(g=void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",d(g)),this.$newElement.find(".filter-option").html(g)},setStyle:function(a,b){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|validate\[.*\]/gi,""));var c=a||this.options.style;"add"==b?this.$button.addClass(c):"remove"==b?this.$button.removeClass(c):(this.$button.removeClass(this.options.style),this.$button.addClass(c))},liHeight:function(){if(!1!==this.options.size){var a=this.$menu.parent().clone().find("> .dropdown-toggle").prop("autofocus",!1).end().appendTo("body"),b=a.addClass("open").find("> .dropdown-menu"),c=b.find("li").not(".divider").not(".dropdown-header").filter(":visible").children("a").outerHeight(),d=this.options.header?b.find(".popover-title").outerHeight():0,e=this.options.liveSearch?b.find(".bs-searchbox").outerHeight():0,f=this.options.actionsBox?b.find(".bs-actionsbox").outerHeight():0;a.remove(),this.$newElement.data("liHeight",c).data("headerHeight",d).data("searchHeight",e).data("actionsHeight",f)}},setSize:function(){this.findLis();var b,c,d,e=this,f=this.$menu,g=f.find(".inner"),h=this.$newElement.outerHeight(),i=this.$newElement.data("liHeight"),j=this.$newElement.data("headerHeight"),k=this.$newElement.data("searchHeight"),l=this.$newElement.data("actionsHeight"),m=this.$lis.filter(".divider").outerHeight(!0),n=parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"))+parseInt(f.css("border-top-width"))+parseInt(f.css("border-bottom-width")),o=this.options.hideDisabled?", .disabled":"",p=a(window),q=n+parseInt(f.css("margin-top"))+parseInt(f.css("margin-bottom"))+2,r=function(){c=e.$newElement.offset().top-p.scrollTop(),d=p.height()-c-h};if(r(),this.options.header&&f.css("padding-top",0),"auto"==this.options.size){var s=function(){var a,h=e.$lis.not(".hide");r(),b=d-q,e.options.dropupAuto&&e.$newElement.toggleClass("dropup",c>d&&b-q<f.height()),e.$newElement.hasClass("dropup")&&(b=c-q),a=h.length+h.filter(".dropdown-header").length>3?3*i+q-2:0,f.css({"max-height":b+"px",overflow:"hidden","min-height":a+j+k+l+"px"}),g.css({"max-height":b-j-k-l-n+"px","overflow-y":"auto","min-height":Math.max(a-n,0)+"px"})};s(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",s),a(window).off("resize.getSize").on("resize.getSize",s),a(window).off("scroll.getSize").on("scroll.getSize",s)}else if(this.options.size&&"auto"!=this.options.size&&f.find("li"+o).length>this.options.size){var t=this.$lis.not(".divider"+o).find(" > *").slice(0,this.options.size).last().parent().index(),u=this.$lis.slice(0,t+1).filter(".divider").length;b=i*this.options.size+u*m+n,e.options.dropupAuto&&this.$newElement.toggleClass("dropup",c>d&&b<f.height()),f.css({"max-height":b+j+k+l+"px",overflow:"hidden"}),g.css({"max-height":b-n+"px","overflow-y":"auto"})}},setWidth:function(){if("auto"==this.options.width){this.$menu.css("min-width","0");var a=this.$newElement.clone().appendTo("body"),b=a.find("> .dropdown-menu").css("width"),c=a.css("width","auto").find("> button").css("width");a.remove(),this.$newElement.css("width",Math.max(parseInt(b),parseInt(c))+"px")}else"fit"==this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){var b,c,d=this,e="<div />",f=a(e),g=function(a){f.addClass(a.attr("class").replace(/form-control/gi,"")).toggleClass("dropup",a.hasClass("dropup")),b=a.offset(),c=a.hasClass("dropup")?0:a[0].offsetHeight,f.css({top:b.top+c,left:b.left,width:a[0].offsetWidth,position:"absolute"})};this.$newElement.on("click",function(){d.isDisabled()||(g(a(this)),f.appendTo(d.options.container),f.toggleClass("open",!a(this).hasClass("open")),f.append(d.$menu))}),a(window).resize(function(){g(d.$newElement)}),a(window).on("scroll",function(){g(d.$newElement)}),a("html").on("click",function(b){a(b.target).closest(d.$newElement).length<1&&f.removeClass("open")})},setSelected:function(a,b){this.findLis(),this.$lis.filter('[data-original-index="'+a+'"]').toggleClass("selected",b)},setDisabled:function(a,b){this.findLis(),b?this.$lis.filter('[data-original-index="'+a+'"]').addClass("disabled").find("a").attr("href","#").attr("tabindex",-1):this.$lis.filter('[data-original-index="'+a+'"]').removeClass("disabled").find("a").removeAttr("href").attr("tabindex",0)},isDisabled:function(){return this.$element.is(":disabled")},checkDisabled:function(){var a=this;this.isDisabled()?this.$button.addClass("disabled").attr("tabindex",-1):(this.$button.hasClass("disabled")&&this.$button.removeClass("disabled"),-1==this.$button.attr("tabindex")&&(this.$element.data("tabindex")||this.$button.removeAttr("tabindex"))),this.$button.click(function(){return!a.isDisabled()})},tabIndex:function(){this.$element.is("[tabindex]")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex")))},clickListener:function(){var b=this;this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(a){a.stopPropagation()}),this.$newElement.on("click",function(){b.setSize(),b.options.liveSearch||b.multiple||setTimeout(function(){b.$menu.find(".selected a").focus()},10)}),this.$menu.on("click","li a",function(c){var d=a(this),e=d.parent().data("originalIndex"),f=b.$element.val(),g=b.$element.prop("selectedIndex");if(b.multiple&&c.stopPropagation(),c.preventDefault(),!b.isDisabled()&&!d.parent().hasClass("disabled")){var h=b.$element.find("option"),i=h.eq(e),j=i.prop("selected"),k=i.parent("optgroup"),l=b.options.maxOptions,m=k.data("maxOptions")||!1;if(b.multiple){if(i.prop("selected",!j),b.setSelected(e,!j),d.blur(),!1!==l||!1!==m){var n=l<h.filter(":selected").length,o=m<k.find("option:selected").length;if(l&&n||m&&o)if(l&&1==l)h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);else if(m&&1==m){k.find("option:selected").prop("selected",!1),i.prop("selected",!0);var p=d.data("optgroup");b.$menu.find(".selected").has('a[data-optgroup="'+p+'"]').removeClass("selected"),b.setSelected(e,!0)}else{var q="function"==typeof b.options.maxOptionsText?b.options.maxOptionsText(l,m):b.options.maxOptionsText,r=q[0].replace("{n}",l),s=q[1].replace("{n}",m),t=a('<div class="notify"></div>');q[2]&&(r=r.replace("{var}",q[2][l>1?0:1]),s=s.replace("{var}",q[2][m>1?0:1])),i.prop("selected",!1),b.$menu.append(t),l&&n&&(t.append(a("<div>"+r+"</div>")),b.$element.trigger("maxReached.bs.select")),m&&o&&(t.append(a("<div>"+s+"</div>")),b.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){b.setSelected(e,!1)},10),t.delay(750).fadeOut(300,function(){a(this).remove()})}}}else h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);b.multiple?b.options.liveSearch&&b.$searchbox.focus():b.$button.focus(),(f!=b.$element.val()&&b.multiple||g!=b.$element.prop("selectedIndex")&&!b.multiple)&&b.$element.change()}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(a){a.target==this&&(a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus())}),this.$menu.on("click","li.divider, li.dropdown-header",function(a){a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){b.$button.focus()}),this.$searchbox.on("click",function(a){a.stopPropagation()}),this.$menu.on("click",".actions-btn",function(c){b.options.liveSearch?b.$searchbox.focus():b.$button.focus(),c.preventDefault(),c.stopPropagation(),a(this).is(".bs-select-all")?b.selectAll():b.deselectAll(),b.$element.change()}),this.$element.change(function(){b.render(!1)})},liveSearchListener:function(){var b=this,e=a('<li class="no-results"></li>');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){b.$menu.find(".active").removeClass("active"),b.$searchbox.val()&&(b.$searchbox.val(""),b.$lis.not(".is-hidden").removeClass("hide"),e.parent().length&&e.remove()),b.multiple||b.$menu.find(".selected").addClass("active"),setTimeout(function(){b.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(a){a.stopPropagation()}),this.$searchbox.on("input propertychange",function(){b.$searchbox.val()?(b.options.searchAccentInsensitive?b.$lis.not(".is-hidden").removeClass("hide").find("a").not(":aicontains("+c(b.$searchbox.val())+")").parent().addClass("hide"):b.$lis.not(".is-hidden").removeClass("hide").find("a").not(":icontains("+b.$searchbox.val()+")").parent().addClass("hide"),b.$menu.find("li").filter(":visible:not(.no-results)").length?e.parent().length&&e.remove():(e.parent().length&&e.remove(),e.html(b.options.noneResultsText+' "'+d(b.$searchbox.val())+'"').show(),b.$menu.find("li").last().after(e))):(b.$lis.not(".is-hidden").removeClass("hide"),e.parent().length&&e.remove()),b.$menu.find("li.active").removeClass("active"),b.$menu.find("li").filter(":visible:not(.divider)").eq(0).addClass("active").find("a").focus(),a(this).focus()})},val:function(a){return void 0!==a?(this.$element.val(a),this.render(),this.$element):this.$element.val()},selectAll:function(){this.findLis(),this.$lis.not(".divider").not(".disabled").not(".selected").filter(":visible").find("a").click()},deselectAll:function(){this.findLis(),this.$lis.not(".divider").not(".disabled").filter(".selected").filter(":visible").find("a").click()},keydown:function(b){var d,e,f,g,h,i,j,k,l,m=a(this),n=m.is("input")?m.parent().parent():m.parent(),o=n.data("this"),p={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};if(o.options.liveSearch&&(n=m.parent().parent()),o.options.container&&(n=o.$menu),d=a("[role=menu] li a",n),l=o.$menu.parent().hasClass("open"),!l&&/([0-9]|[A-z])/.test(String.fromCharCode(b.keyCode))&&(o.options.container?o.$newElement.trigger("click"):(o.setSize(),o.$menu.parent().addClass("open"),l=!0),o.$searchbox.focus()),o.options.liveSearch&&(/(^9$|27)/.test(b.keyCode.toString(10))&&l&&0===o.$menu.find(".active").length&&(b.preventDefault(),o.$menu.parent().removeClass("open"),o.$button.focus()),d=a("[role=menu] li:not(.divider):not(.dropdown-header):visible",n),m.val()||/(38|40)/.test(b.keyCode.toString(10))||0===d.filter(".active").length&&(d=o.options.searchAccentInsensitive?o.$newElement.find("li").filter(":aicontains("+c(p[b.keyCode])+")"):o.$newElement.find("li").filter(":icontains("+p[b.keyCode]+")"))),d.length){if(/(38|40)/.test(b.keyCode.toString(10)))e=d.index(d.filter(":focus")),g=d.parent(":not(.disabled):visible").first().index(),h=d.parent(":not(.disabled):visible").last().index(),f=d.eq(e).parent().nextAll(":not(.disabled):visible").eq(0).index(),i=d.eq(e).parent().prevAll(":not(.disabled):visible").eq(0).index(),j=d.eq(f).parent().prevAll(":not(.disabled):visible").eq(0).index(),o.options.liveSearch&&(d.each(function(b){a(this).is(":not(.disabled)")&&a(this).data("index",b)}),e=d.index(d.filter(".active")),g=d.filter(":not(.disabled):visible").first().data("index"),h=d.filter(":not(.disabled):visible").last().data("index"),f=d.eq(e).nextAll(":not(.disabled):visible").eq(0).data("index"),i=d.eq(e).prevAll(":not(.disabled):visible").eq(0).data("index"),j=d.eq(f).prevAll(":not(.disabled):visible").eq(0).data("index")),k=m.data("prevIndex"),38==b.keyCode&&(o.options.liveSearch&&(e-=1),e!=j&&e>i&&(e=i),e<g&&(e=g),e==k&&(e=h)),40==b.keyCode&&(o.options.liveSearch&&(e+=1),-1==e&&(e=0),e!=j&&e<f&&(e=f),e>h&&(e=h),e==k&&(e=g)),m.data("prevIndex",e),o.options.liveSearch?(b.preventDefault(),m.is(".dropdown-toggle")||(d.removeClass("active"),d.eq(e).addClass("active").find("a").focus(),m.focus())):d.eq(e).focus();else if(!m.is("input")){var q,r,s=[];d.each(function(){a(this).parent().is(":not(.disabled)")&&a.trim(a(this).text().toLowerCase()).substring(0,1)==p[b.keyCode]&&s.push(a(this).parent().index())}),q=a(document).data("keycount"),q++,a(document).data("keycount",q),r=a.trim(a(":focus").text().toLowerCase()).substring(0,1),r!=p[b.keyCode]?(q=1,a(document).data("keycount",q)):q>=s.length&&(a(document).data("keycount",0),q>s.length&&(q=1)),d.eq(s[q-1]).focus()}(/(13|32)/.test(b.keyCode.toString(10))||/(^9$)/.test(b.keyCode.toString(10))&&o.options.selectOnTab)&&l&&(/(32)/.test(b.keyCode.toString(10))||b.preventDefault(),o.options.liveSearch?/(32)/.test(b.keyCode.toString(10))||(o.$menu.find(".active a").click(),m.focus()):a(":focus").click(),a(document).data("keycount",0)),(/(^9$|27)/.test(b.keyCode.toString(10))&&l&&(o.multiple||o.options.liveSearch)||/(27)/.test(b.keyCode.toString(10))&&!l)&&(o.$menu.parent().removeClass("open"),o.$button.focus())}},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement),this.options.container&&this.$menu.hide()},refresh:function(){this.$lis=null,this.reloadLi(),this.render(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight()},update:function(){this.reloadLi(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight()},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()}};var g=a.fn.selectpicker;a.fn.selectpicker=e,a.fn.selectpicker.Constructor=f,a.fn.selectpicker.noConflict=function(){return a.fn.selectpicker=g,this},a(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",f.prototype.keydown).on("focusin.modal",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",function(a){a.stopPropagation()}),a(window).on("load.bs.select.data-api",function(){a(".selectpicker").each(function(){var b=a(this);e.call(b,b.data())})})}(jQuery),jQuery(document).ready(function(){jQuery(".color-picker-field").length&&(jQuery(".color-picker-field").wpColorPicker(),jQuery(".meta-box-sortables").sortable({disabled:!0}),jQuery(".postbox .hndle").css("cursor","pointer"))});
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  function changeRandomTrimLengthCheckbox(){"1"===jQuery('input[name="excerpt-random-length"]').prop("checked")?(jQuery('input[name="excerpt-trim-length"]').fadeOut("fast",function(){jQuery('input[name="excerpt-random-length"]').css("margin-left","0em")}),jQuery("#random-lenth-text-container").removeClass("random-length-text")):(jQuery('input[name="excerpt-random-length"]').css("margin-left",".5em"),jQuery('input[name="excerpt-trim-length"]').fadeIn("fast"),jQuery("#random-lenth-text-container").addClass("random-length-text"))}function toggleDeleteCheckClass(){!0===jQuery('input[name="delete-announcement-posts-on-uninstallation"]').prop("checked")?(jQuery(".delete-no").addClass("delete-yes"),jQuery(".delete-yes").removeClass("delete-no")):(jQuery(".delete-yes").addClass("delete-no"),jQuery(".delete-no").removeClass("delete-yes"))}function toggle_delete_checkbox(){!1===jQuery('input[name="delete-announcement-posts-on-uninstallation"]').prop("checked")?(jQuery(".delete-no").addClass("delete-yes"),jQuery(".delete-yes").removeClass("delete-no"),jQuery('input[name="delete-announcement-posts-on-uninstallation"]').attr("checked",!0)):(jQuery(".delete-yes").addClass("delete-no"),jQuery(".delete-no").removeClass("delete-yes"),jQuery('input[name="delete-announcement-posts-on-uninstallation"]').attr("checked",!1))}!function(a){"use strict";function b(a,b){return a.toUpperCase().indexOf(b.toUpperCase())>-1}function c(b){var c=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return a.each(c,function(){b=b.replace(this.re,this.ch)}),b}function d(a){var b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c="(?:"+Object.keys(b).join("|")+")",d=new RegExp(c),e=new RegExp(c,"g"),f=null==a?"":""+a;return d.test(f)?f.replace(e,function(a){return b[a]}):f}function e(b,c){var d=arguments,e=b,b=d[0],c=d[1];[].shift.apply(d),void 0===b&&(b=e);var g,h=this.each(function(){var e=a(this);if(e.is("select")){var h=e.data("selectpicker"),i="object"==typeof b&&b;if(h){if(i)for(var j in i)i.hasOwnProperty(j)&&(h.options[j]=i[j])}else{var k=a.extend({},f.DEFAULTS,a.fn.selectpicker.defaults||{},e.data(),i);e.data("selectpicker",h=new f(this,k,c))}"string"==typeof b&&(g=h[b]instanceof Function?h[b].apply(h,d):h.options[b])}});return void 0!==g?g:h}a.expr[":"].icontains=function(c,d,e){return b(a(c).text(),e[3])},a.expr[":"].aicontains=function(c,d,e){return b(a(c).data("normalizedText")||a(c).text(),e[3])};var f=function(b,c,d){d&&(d.stopPropagation(),d.preventDefault()),this.$element=a(b),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=c,null===this.options.title&&(this.options.title=this.$element.attr("title")),this.val=f.prototype.val,this.render=f.prototype.render,this.refresh=f.prototype.refresh,this.setStyle=f.prototype.setStyle,this.selectAll=f.prototype.selectAll,this.deselectAll=f.prototype.deselectAll,this.destroy=f.prototype.remove,this.remove=f.prototype.remove,this.show=f.prototype.show,this.hide=f.prototype.hide,this.init()};f.VERSION="1.6.3",f.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results match",countSelectedText:function(a,b){return 1==a?"{0} item selected":"{0} items selected"},maxOptionsText:function(a,b){var c=[];return c[0]=1==a?"Limit reached ({n} item max)":"Limit reached ({n} items max)",c[1]=1==b?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)",c},selectAllText:"Select All",deselectAllText:"Deselect All",multipleSeparator:", ",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,actionsBox:!1,iconBase:"fa",tickIcon:"fa-ok",maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,searchAccentInsensitive:!1},f.prototype={constructor:f,init:function(){var b=this,c=this.$element.attr("id");this.$element.hide(),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement),this.$menu=this.$newElement.find("> .dropdown-menu"),this.$button=this.$newElement.find("> button"),this.$searchbox=this.$newElement.find("input"),this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),void 0!==c&&(this.$button.attr("data-id",c),a('label[for="'+c+'"]').click(function(a){a.preventDefault(),b.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.liHeight(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile()},createDropdown:function(){var b=this.multiple?" show-tick":"",c=this.$element.parent().hasClass("input-group")?" input-group-btn":"",d=this.autofocus?" autofocus":"",e=this.$element.parents().hasClass("form-group-lg")?" btn-lg":this.$element.parents().hasClass("form-group-sm")?" btn-sm":"",f=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",g=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="input-block-level form-control" autocomplete="off" /></div>':"",h=this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-block"><button class="actions-btn bs-select-all btn btn-sm btn-default">'+this.options.selectAllText+'</button><button class="actions-btn bs-deselect-all btn btn-sm btn-default">'+this.options.deselectAllText+"</button></div></div>":"";return a('<div class="btn-group bootstrap-select'+b+c+'"><button type="button" class="btn dropdown-toggle selectpicker'+e+'" data-toggle="dropdown"'+d+'><span class="filter-option pull-left"></span>&nbsp;<span class="caret"></span></button><div class="dropdown-menu open">'+f+g+h+'<ul class="dropdown-menu inner selectpicker" role="menu"></ul></div></div>')},createView:function(){var a=this.createDropdown(),b=this.createLi();return a.find("ul").append(b),a},reloadLi:function(){this.destroyLi();var a=this.createLi();this.$menu.find("ul").append(a)},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var b=this,e=[],f=0,g=function(a,b,c){return"<li"+(void 0!==c?' class="'+c+'"':"")+(void 0!==b|null===b?' data-original-index="'+b+'"':"")+">"+a+"</li>"},h=function(a,e,f,g){var h=c(d(a));return'<a tabindex="0"'+(void 0!==e?' class="'+e+'"':"")+(void 0!==f?' style="'+f+'"':"")+(void 0!==g?'data-optgroup="'+g+'"':"")+' data-normalized-text="'+h+'">'+a+'<span class="'+b.options.iconBase+" "+b.options.tickIcon+' check-mark"></span></a>'};return this.$element.find("option").each(function(){var c=a(this),d=c.attr("class")||"",i=c.attr("style"),j=c.data("content")?c.data("content"):c.html(),k=void 0!==c.data("subtext")?'<small class="muted text-muted">'+c.data("subtext")+"</small>":"",l=void 0!==c.data("icon")?'<span class="'+b.options.iconBase+" "+c.data("icon")+'"></span> ':"",m=c.is(":disabled")||c.parent().is(":disabled"),n=c[0].index;if(""!==l&&m&&(l="<span>"+l+"</span>"),c.data("content")||(j=l+'<span class="text">'+j+k+"</span>"),!b.options.hideDisabled||!m)if(c.parent().is("optgroup")&&!0!==c.data("divider")){if(0===c.index()){f+=1;var o=c.parent().attr("label"),p=void 0!==c.parent().data("subtext")?'<small class="muted text-muted">'+c.parent().data("subtext")+"</small>":"",q=c.parent().data("icon")?'<span class="'+b.options.iconBase+" "+c.parent().data("icon")+'"></span> ':"";o=q+'<span class="text">'+o+p+"</span>",0!==n&&e.length>0&&e.push(g("",null,"divider")),e.push(g(o,null,"dropdown-header"))}e.push(g(h(j,"opt "+d,i,f),n))}else!0===c.data("divider")?e.push(g("",n,"divider")):!0===c.data("hidden")?e.push(g(h(j,d,i),n,"hide is-hidden")):e.push(g(h(j,d,i),n))}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),a(e.join(""))},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(b){var c=this;!1!==b&&this.$element.find("option").each(function(b){c.setDisabled(b,a(this).is(":disabled")||a(this).parent().is(":disabled")),c.setSelected(b,a(this).is(":selected"))}),this.tabIndex();var e=this.options.hideDisabled?":not([disabled])":"",f=this.$element.find("option:selected"+e).map(function(){var b,d=a(this),e=d.data("icon")&&c.options.showIcon?'<i class="'+c.options.iconBase+" "+d.data("icon")+'"></i> ':"";return b=c.options.showSubtext&&d.attr("data-subtext")&&!c.multiple?' <small class="muted text-muted">'+d.data("subtext")+"</small>":"",d.data("content")&&c.options.showContent?d.data("content"):void 0!==d.attr("title")?d.attr("title"):e+d.html()+b}).toArray(),g=this.multiple?f.join(this.options.multipleSeparator):f[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var h=this.options.selectedTextFormat.split(">");if(h.length>1&&f.length>h[1]||1==h.length&&f.length>=2){e=this.options.hideDisabled?", [disabled]":"";var i=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+e).length;g=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(f.length,i):this.options.countSelectedText).replace("{0}",f.length.toString()).replace("{1}",i.toString())}}this.options.title=this.$element.attr("title"),"static"==this.options.selectedTextFormat&&(g=this.options.title),g||(g=void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",d(g)),this.$newElement.find(".filter-option").html(g)},setStyle:function(a,b){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|validate\[.*\]/gi,""));var c=a||this.options.style;"add"==b?this.$button.addClass(c):"remove"==b?this.$button.removeClass(c):(this.$button.removeClass(this.options.style),this.$button.addClass(c))},liHeight:function(){if(!1!==this.options.size){var a=this.$menu.parent().clone().find("> .dropdown-toggle").prop("autofocus",!1).end().appendTo("body"),b=a.addClass("open").find("> .dropdown-menu"),c=b.find("li").not(".divider").not(".dropdown-header").filter(":visible").children("a").outerHeight(),d=this.options.header?b.find(".popover-title").outerHeight():0,e=this.options.liveSearch?b.find(".bs-searchbox").outerHeight():0,f=this.options.actionsBox?b.find(".bs-actionsbox").outerHeight():0;a.remove(),this.$newElement.data("liHeight",c).data("headerHeight",d).data("searchHeight",e).data("actionsHeight",f)}},setSize:function(){this.findLis();var b,c,d,e=this,f=this.$menu,g=f.find(".inner"),h=this.$newElement.outerHeight(),i=this.$newElement.data("liHeight"),j=this.$newElement.data("headerHeight"),k=this.$newElement.data("searchHeight"),l=this.$newElement.data("actionsHeight"),m=this.$lis.filter(".divider").outerHeight(!0),n=parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"))+parseInt(f.css("border-top-width"))+parseInt(f.css("border-bottom-width")),o=this.options.hideDisabled?", .disabled":"",p=a(window),q=n+parseInt(f.css("margin-top"))+parseInt(f.css("margin-bottom"))+2,r=function(){c=e.$newElement.offset().top-p.scrollTop(),d=p.height()-c-h};if(r(),this.options.header&&f.css("padding-top",0),"auto"==this.options.size){var s=function(){var a,h=e.$lis.not(".hide");r(),b=d-q,e.options.dropupAuto&&e.$newElement.toggleClass("dropup",c>d&&b-q<f.height()),e.$newElement.hasClass("dropup")&&(b=c-q),a=h.length+h.filter(".dropdown-header").length>3?3*i+q-2:0,f.css({"max-height":b+"px",overflow:"hidden","min-height":a+j+k+l+"px"}),g.css({"max-height":b-j-k-l-n+"px","overflow-y":"auto","min-height":Math.max(a-n,0)+"px"})};s(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",s),a(window).off("resize.getSize").on("resize.getSize",s),a(window).off("scroll.getSize").on("scroll.getSize",s)}else if(this.options.size&&"auto"!=this.options.size&&f.find("li"+o).length>this.options.size){var t=this.$lis.not(".divider"+o).find(" > *").slice(0,this.options.size).last().parent().index(),u=this.$lis.slice(0,t+1).filter(".divider").length;b=i*this.options.size+u*m+n,e.options.dropupAuto&&this.$newElement.toggleClass("dropup",c>d&&b<f.height()),f.css({"max-height":b+j+k+l+"px",overflow:"hidden"}),g.css({"max-height":b-n+"px","overflow-y":"auto"})}},setWidth:function(){if("auto"==this.options.width){this.$menu.css("min-width","0");var a=this.$newElement.clone().appendTo("body"),b=a.find("> .dropdown-menu").css("width"),c=a.css("width","auto").find("> button").css("width");a.remove(),this.$newElement.css("width",Math.max(parseInt(b),parseInt(c))+"px")}else"fit"==this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){var b,c,d=this,e="<div />",f=a(e),g=function(a){f.addClass(a.attr("class").replace(/form-control/gi,"")).toggleClass("dropup",a.hasClass("dropup")),b=a.offset(),c=a.hasClass("dropup")?0:a[0].offsetHeight,f.css({top:b.top+c,left:b.left,width:a[0].offsetWidth,position:"absolute"})};this.$newElement.on("click",function(){d.isDisabled()||(g(a(this)),f.appendTo(d.options.container),f.toggleClass("open",!a(this).hasClass("open")),f.append(d.$menu))}),a(window).resize(function(){g(d.$newElement)}),a(window).on("scroll",function(){g(d.$newElement)}),a("html").on("click",function(b){a(b.target).closest(d.$newElement).length<1&&f.removeClass("open")})},setSelected:function(a,b){this.findLis(),this.$lis.filter('[data-original-index="'+a+'"]').toggleClass("selected",b)},setDisabled:function(a,b){this.findLis(),b?this.$lis.filter('[data-original-index="'+a+'"]').addClass("disabled").find("a").attr("href","#").attr("tabindex",-1):this.$lis.filter('[data-original-index="'+a+'"]').removeClass("disabled").find("a").removeAttr("href").attr("tabindex",0)},isDisabled:function(){return this.$element.is(":disabled")},checkDisabled:function(){var a=this;this.isDisabled()?this.$button.addClass("disabled").attr("tabindex",-1):(this.$button.hasClass("disabled")&&this.$button.removeClass("disabled"),-1==this.$button.attr("tabindex")&&(this.$element.data("tabindex")||this.$button.removeAttr("tabindex"))),this.$button.click(function(){return!a.isDisabled()})},tabIndex:function(){this.$element.is("[tabindex]")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex")))},clickListener:function(){var b=this;this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(a){a.stopPropagation()}),this.$newElement.on("click",function(){b.setSize(),b.options.liveSearch||b.multiple||setTimeout(function(){b.$menu.find(".selected a").focus()},10)}),this.$menu.on("click","li a",function(c){var d=a(this),e=d.parent().data("originalIndex"),f=b.$element.val(),g=b.$element.prop("selectedIndex");if(b.multiple&&c.stopPropagation(),c.preventDefault(),!b.isDisabled()&&!d.parent().hasClass("disabled")){var h=b.$element.find("option"),i=h.eq(e),j=i.prop("selected"),k=i.parent("optgroup"),l=b.options.maxOptions,m=k.data("maxOptions")||!1;if(b.multiple){if(i.prop("selected",!j),b.setSelected(e,!j),d.blur(),!1!==l||!1!==m){var n=l<h.filter(":selected").length,o=m<k.find("option:selected").length;if(l&&n||m&&o)if(l&&1==l)h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);else if(m&&1==m){k.find("option:selected").prop("selected",!1),i.prop("selected",!0);var p=d.data("optgroup");b.$menu.find(".selected").has('a[data-optgroup="'+p+'"]').removeClass("selected"),b.setSelected(e,!0)}else{var q="function"==typeof b.options.maxOptionsText?b.options.maxOptionsText(l,m):b.options.maxOptionsText,r=q[0].replace("{n}",l),s=q[1].replace("{n}",m),t=a('<div class="notify"></div>');q[2]&&(r=r.replace("{var}",q[2][l>1?0:1]),s=s.replace("{var}",q[2][m>1?0:1])),i.prop("selected",!1),b.$menu.append(t),l&&n&&(t.append(a("<div>"+r+"</div>")),b.$element.trigger("maxReached.bs.select")),m&&o&&(t.append(a("<div>"+s+"</div>")),b.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){b.setSelected(e,!1)},10),t.delay(750).fadeOut(300,function(){a(this).remove()})}}}else h.prop("selected",!1),i.prop("selected",!0),b.$menu.find(".selected").removeClass("selected"),b.setSelected(e,!0);b.multiple?b.options.liveSearch&&b.$searchbox.focus():b.$button.focus(),(f!=b.$element.val()&&b.multiple||g!=b.$element.prop("selectedIndex")&&!b.multiple)&&b.$element.change()}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(a){a.target==this&&(a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus())}),this.$menu.on("click","li.divider, li.dropdown-header",function(a){a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){b.$button.focus()}),this.$searchbox.on("click",function(a){a.stopPropagation()}),this.$menu.on("click",".actions-btn",function(c){b.options.liveSearch?b.$searchbox.focus():b.$button.focus(),c.preventDefault(),c.stopPropagation(),a(this).is(".bs-select-all")?b.selectAll():b.deselectAll(),b.$element.change()}),this.$element.change(function(){b.render(!1)})},liveSearchListener:function(){var b=this,e=a('<li class="no-results"></li>');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){b.$menu.find(".active").removeClass("active"),b.$searchbox.val()&&(b.$searchbox.val(""),b.$lis.not(".is-hidden").removeClass("hide"),e.parent().length&&e.remove()),b.multiple||b.$menu.find(".selected").addClass("active"),setTimeout(function(){b.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(a){a.stopPropagation()}),this.$searchbox.on("input propertychange",function(){b.$searchbox.val()?(b.options.searchAccentInsensitive?b.$lis.not(".is-hidden").removeClass("hide").find("a").not(":aicontains("+c(b.$searchbox.val())+")").parent().addClass("hide"):b.$lis.not(".is-hidden").removeClass("hide").find("a").not(":icontains("+b.$searchbox.val()+")").parent().addClass("hide"),b.$menu.find("li").filter(":visible:not(.no-results)").length?e.parent().length&&e.remove():(e.parent().length&&e.remove(),e.html(b.options.noneResultsText+' "'+d(b.$searchbox.val())+'"').show(),b.$menu.find("li").last().after(e))):(b.$lis.not(".is-hidden").removeClass("hide"),e.parent().length&&e.remove()),b.$menu.find("li.active").removeClass("active"),b.$menu.find("li").filter(":visible:not(.divider)").eq(0).addClass("active").find("a").focus(),a(this).focus()})},val:function(a){return void 0!==a?(this.$element.val(a),this.render(),this.$element):this.$element.val()},selectAll:function(){this.findLis(),this.$lis.not(".divider").not(".disabled").not(".selected").filter(":visible").find("a").click()},deselectAll:function(){this.findLis(),this.$lis.not(".divider").not(".disabled").filter(".selected").filter(":visible").find("a").click()},keydown:function(b){var d,e,f,g,h,i,j,k,l,m=a(this),n=m.is("input")?m.parent().parent():m.parent(),o=n.data("this"),p={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};if(o.options.liveSearch&&(n=m.parent().parent()),o.options.container&&(n=o.$menu),d=a("[role=menu] li a",n),l=o.$menu.parent().hasClass("open"),!l&&/([0-9]|[A-z])/.test(String.fromCharCode(b.keyCode))&&(o.options.container?o.$newElement.trigger("click"):(o.setSize(),o.$menu.parent().addClass("open"),l=!0),o.$searchbox.focus()),o.options.liveSearch&&(/(^9$|27)/.test(b.keyCode.toString(10))&&l&&0===o.$menu.find(".active").length&&(b.preventDefault(),o.$menu.parent().removeClass("open"),o.$button.focus()),d=a("[role=menu] li:not(.divider):not(.dropdown-header):visible",n),m.val()||/(38|40)/.test(b.keyCode.toString(10))||0===d.filter(".active").length&&(d=o.options.searchAccentInsensitive?o.$newElement.find("li").filter(":aicontains("+c(p[b.keyCode])+")"):o.$newElement.find("li").filter(":icontains("+p[b.keyCode]+")"))),d.length){if(/(38|40)/.test(b.keyCode.toString(10)))e=d.index(d.filter(":focus")),g=d.parent(":not(.disabled):visible").first().index(),h=d.parent(":not(.disabled):visible").last().index(),f=d.eq(e).parent().nextAll(":not(.disabled):visible").eq(0).index(),i=d.eq(e).parent().prevAll(":not(.disabled):visible").eq(0).index(),j=d.eq(f).parent().prevAll(":not(.disabled):visible").eq(0).index(),o.options.liveSearch&&(d.each(function(b){a(this).is(":not(.disabled)")&&a(this).data("index",b)}),e=d.index(d.filter(".active")),g=d.filter(":not(.disabled):visible").first().data("index"),h=d.filter(":not(.disabled):visible").last().data("index"),f=d.eq(e).nextAll(":not(.disabled):visible").eq(0).data("index"),i=d.eq(e).prevAll(":not(.disabled):visible").eq(0).data("index"),j=d.eq(f).prevAll(":not(.disabled):visible").eq(0).data("index")),k=m.data("prevIndex"),38==b.keyCode&&(o.options.liveSearch&&(e-=1),e!=j&&e>i&&(e=i),e<g&&(e=g),e==k&&(e=h)),40==b.keyCode&&(o.options.liveSearch&&(e+=1),-1==e&&(e=0),e!=j&&e<f&&(e=f),e>h&&(e=h),e==k&&(e=g)),m.data("prevIndex",e),o.options.liveSearch?(b.preventDefault(),m.is(".dropdown-toggle")||(d.removeClass("active"),d.eq(e).addClass("active").find("a").focus(),m.focus())):d.eq(e).focus();else if(!m.is("input")){var q,r,s=[];d.each(function(){a(this).parent().is(":not(.disabled)")&&a.trim(a(this).text().toLowerCase()).substring(0,1)==p[b.keyCode]&&s.push(a(this).parent().index())}),q=a(document).data("keycount"),q++,a(document).data("keycount",q),r=a.trim(a(":focus").text().toLowerCase()).substring(0,1),r!=p[b.keyCode]?(q=1,a(document).data("keycount",q)):q>=s.length&&(a(document).data("keycount",0),q>s.length&&(q=1)),d.eq(s[q-1]).focus()}(/(13|32)/.test(b.keyCode.toString(10))||/(^9$)/.test(b.keyCode.toString(10))&&o.options.selectOnTab)&&l&&(/(32)/.test(b.keyCode.toString(10))||b.preventDefault(),o.options.liveSearch?/(32)/.test(b.keyCode.toString(10))||(o.$menu.find(".active a").click(),m.focus()):a(":focus").click(),a(document).data("keycount",0)),(/(^9$|27)/.test(b.keyCode.toString(10))&&l&&(o.multiple||o.options.liveSearch)||/(27)/.test(b.keyCode.toString(10))&&!l)&&(o.$menu.parent().removeClass("open"),o.$button.focus())}},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement),this.options.container&&this.$menu.hide()},refresh:function(){this.$lis=null,this.reloadLi(),this.render(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight()},update:function(){this.reloadLi(),this.setWidth(),this.setStyle(),this.checkDisabled(),this.liHeight()},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()}};var g=a.fn.selectpicker;a.fn.selectpicker=e,a.fn.selectpicker.Constructor=f,a.fn.selectpicker.noConflict=function(){return a.fn.selectpicker=g,this},a(document).data("keycount",0).on("keydown",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",f.prototype.keydown).on("focusin.modal",".bootstrap-select [data-toggle=dropdown], .bootstrap-select [role=menu], .bs-searchbox input",function(a){a.stopPropagation()}),a(window).on("load.bs.select.data-api",function(){a(".selectpicker").each(function(){var b=a(this);e.call(b,b.data())})})}(jQuery),jQuery(document).ready(function(){jQuery(".color-picker-field").length&&(jQuery(".color-picker-field").wpColorPicker(),jQuery(".meta-box-sortables").sortable({disabled:!0}),jQuery(".postbox .hndle").css("cursor","pointer"))});
lib/admin/js/min/timeline-express-tinymce.min.js CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  !function(){tinymce.PluginManager.add("timeline_express",function(a,b){function c(){this.disabled(!this.disabled()),a.insertContent("[timeline-express]")}a.on("keyup",function(){a.getContent().indexOf("[timeline-express]")>-1?a.controlManager.setDisabled("timeline_express_shortcode_button",!0):a.controlManager.setDisabled("timeline_express_shortcode_button",!1)}),a.addButton("timeline_express_shortcode_button",{title:"Timeline Express Shortcode",text:!1,image:b+"/../../images/timeline-express-menu-icon.png",onclick:c}),a.onSetContent.add(function(a,b){a.getContent().indexOf("[timeline-express]")>-1&&a.controlManager.setDisabled("timeline_express_shortcode_button",!0)})})}();
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  !function(){tinymce.PluginManager.add("timeline_express",function(a,b){function c(){this.disabled(!this.disabled()),a.insertContent("[timeline-express]")}a.on("keyup",function(){a.getContent().indexOf("[timeline-express]")>-1?a.controlManager.setDisabled("timeline_express_shortcode_button",!0):a.controlManager.setDisabled("timeline_express_shortcode_button",!1)}),a.addButton("timeline_express_shortcode_button",{title:"Timeline Express Shortcode",text:!1,image:b+"/../../images/timeline-express-menu-icon.png",onclick:c}),a.onSetContent.add(function(a,b){a.getContent().indexOf("[timeline-express]")>-1&&a.controlManager.setDisabled("timeline_express_shortcode_button",!0)})})}();
lib/admin/metaboxes/metaboxes.announcements.php CHANGED
@@ -20,37 +20,43 @@ $timeline_express_singular_name = apply_filters( 'timeline_express_singular_name
20
  /**
21
  * Initiate the metabox
22
  */
23
- $announcement_metabox = new_cmb2_box( array(
24
- 'id' => 'announcement_metabox',
25
- /* translators: Timeline Express singular post type name (eg: Announcement) */
26
- 'title' => sprintf( esc_html( '%s Info.', 'timeline-express' ), $timeline_express_singular_name ),
27
- 'object_types' => array( 'te_announcements' ),
28
- 'context' => 'advanced',
29
- 'priority' => 'high',
30
- 'show_names' => true,
31
- ) );
 
 
32
 
33
  // Announcement Color
34
- $announcement_metabox->add_field( array(
35
- /* translators: Timeline Express singular post type name (eg: Announcement) */
36
- 'name' => sprintf( esc_html( '%s Color', 'timeline-express' ), $timeline_express_singular_name ),
37
- /* translators: Timeline Express singular post type name (eg: Announcement) */
38
- 'desc' => sprintf( esc_html( 'Select the color for this %s.', 'timeline-express' ), strtolower( $timeline_express_singular_name ) ),
39
- 'id' => $prefix . 'color',
40
- 'type' => 'colorpicker',
41
- 'default' => $timeline_express_options['default-announcement-color'],
42
- ) );
 
 
43
 
44
  // Announcement Icon
45
- $announcement_metabox->add_field( array(
46
- /* translators: Timeline Express singular post type name (eg: Announcement) */
47
- 'name' => sprintf( esc_html( '%s Icon', 'Timeline Express singular post type name (eg: Announcement)', 'timeline-express' ), $timeline_express_singular_name ),
48
- /* translators: Timeline Express singular post type name (eg: announcement) */
49
- 'desc' => sprintf( esc_html( 'Select an icon from the drop down above. This is used for the icon associated with the %s.', 'timeline-express' ), strtolower( $timeline_express_singular_name ) ),
50
- 'id' => $prefix . 'icon',
51
- 'type' => 'te_bootstrap_dropdown',
52
- 'default' => 'fa-' . $timeline_express_options['default-announcement-icon'],
53
- ) );
 
 
54
 
55
  // Announcement Date
56
  $announcement_metabox->add_field(
@@ -74,14 +80,16 @@ $announcement_metabox->add_field(
74
 
75
 
76
  // Announcement Banner
77
- $announcement_metabox->add_field( array(
78
- /* translators: Timeline Express singular post type name (eg: Announcement) */
79
- 'name' => sprintf( esc_html( '%s Banner', 'timeline-express' ), $timeline_express_singular_name ),
80
- /* translators: Timeline Express singular post type name - lowercase (eg: announcement) */
81
- 'desc' => sprintf( esc_html( 'Select a banner image for this %s (optional). (recommended 650px wide or larger)', 'timeline-express' ), strtolower( $timeline_express_singular_name ) ),
82
- 'id' => $prefix . 'image',
83
- 'type' => 'file',
84
- ) );
 
 
85
 
86
  /**
87
  * Custom Container Classes Metabox
@@ -92,22 +100,26 @@ $announcement_metabox->add_field( array(
92
  if ( defined( 'TIMELINE_EXPRESS_CONTAINER_CLASSES' ) && TIMELINE_EXPRESS_CONTAINER_CLASSES ) {
93
 
94
  // Custom Announcement Container Info. Metabox
95
- $announcement_container_metabox = new_cmb2_box( array(
96
- 'id' => 'announcement_container_metabox',
97
- 'title' => esc_html__( 'Announcement Container Info.', 'timeline-express' ),
98
- 'object_types' => array( 'te_announcements' ), // Post type
 
99
  'context' => 'advanced',
100
  'priority' => 'high',
101
  'show_names' => true, // Show field names on the left
102
- ) );
 
103
 
104
  // Custom Container Class(es)
105
- $announcement_container_metabox->add_field( array(
106
- 'name' => esc_html__( 'Custom Container Class', 'timeline-express' ),
107
- 'desc' => esc_html__( 'Enter the class that you would like added to this announcement container on the timeline.', 'timeline-express' ),
108
- 'id' => $prefix . 'container_classes',
109
- 'type' => 'text',
110
- ) );
 
 
111
 
112
  }
113
 
@@ -116,43 +128,51 @@ if ( defined( 'TIMELINE_EXPRESS_CONTAINER_CLASSES' ) && TIMELINE_EXPRESS_CONTAIN
116
  */
117
 
118
  // Documentation Metabox
119
- $help_docs_metabox = new_cmb2_box( array(
120
- 'id' => 'help_docs_metabox',
121
- 'title' => esc_html__( 'Help & Documentation', 'timeline-express' ),
122
- 'object_types' => array( 'te_announcements' ),
123
- 'context' => 'side',
124
- 'priority' => 'low',
125
- 'show_names' => true,
126
- ) );
 
 
127
 
128
  // Support & Documentation
129
- $help_docs_metabox->add_field( array(
130
- 'name' => '',
131
- 'desc' => '',
132
- 'id' => $prefix . 'help_docs',
133
- 'type' => 'te_help_docs_metabox',
134
- ) );
 
 
135
 
136
  $advertisment_data = te_get_advertisment();
137
 
138
  // Advertisement Metabox
139
- $advert_metabox = new_cmb2_box( array(
140
- 'id' => 'advert_metabox',
141
- 'title' => $advertisment_data['title'],
142
- 'object_types' => array( 'te_announcements' ),
143
- 'context' => 'side',
144
- 'priority' => 'low',
145
- 'show_names' => true,
146
- ) );
 
 
147
 
148
  // Advertisment Field (image & content)
149
- $advert_metabox->add_field( array(
150
- 'name' => '',
151
- 'desc' => '',
152
- 'id' => $prefix . 'advertisments',
153
- 'type' => 'te_advert_metabox',
154
- 'ad_data' => $advertisment_data,
155
- ) );
 
 
156
 
157
  // Filter here is to allow extra fields to be added
158
  // loop to add fields to our array
@@ -173,12 +193,14 @@ if ( ! empty( $custom_fields ) ) {
173
  foreach ( $custom_fields as $user_defined_field ) {
174
 
175
  // Email text field
176
- $announcement_metabox->add_field( array(
177
- 'name' => $custom_fields[ $i ]['name'],
178
- 'desc' => $custom_fields[ $i ]['desc'],
179
- 'id' => $custom_fields[ $i ]['id'],
180
- 'type' => $custom_fields[ $i ]['type'],
181
- ) );
 
 
182
 
183
  $i++;
184
 
20
  /**
21
  * Initiate the metabox
22
  */
23
+ $announcement_metabox = new_cmb2_box(
24
+ array(
25
+ 'id' => 'announcement_metabox',
26
+ /* translators: Timeline Express singular post type name (eg: Announcement) */
27
+ 'title' => sprintf( esc_html( '%s Info.', 'timeline-express' ), $timeline_express_singular_name ),
28
+ 'object_types' => array( 'te_announcements' ),
29
+ 'context' => 'advanced',
30
+ 'priority' => 'high',
31
+ 'show_names' => true,
32
+ )
33
+ );
34
 
35
  // Announcement Color
36
+ $announcement_metabox->add_field(
37
+ array(
38
+ /* translators: Timeline Express singular post type name (eg: Announcement) */
39
+ 'name' => sprintf( esc_html( '%s Color', 'timeline-express' ), $timeline_express_singular_name ),
40
+ /* translators: Timeline Express singular post type name (eg: Announcement) */
41
+ 'desc' => sprintf( esc_html( 'Select the color for this %s.', 'timeline-express' ), strtolower( $timeline_express_singular_name ) ),
42
+ 'id' => $prefix . 'color',
43
+ 'type' => 'colorpicker',
44
+ 'default' => $timeline_express_options['default-announcement-color'],
45
+ )
46
+ );
47
 
48
  // Announcement Icon
49
+ $announcement_metabox->add_field(
50
+ array(
51
+ /* translators: Timeline Express singular post type name (eg: Announcement) */
52
+ 'name' => sprintf( esc_html( '%s Icon', 'Timeline Express singular post type name (eg: Announcement)', 'timeline-express' ), $timeline_express_singular_name ),
53
+ /* translators: Timeline Express singular post type name (eg: announcement) */
54
+ 'desc' => sprintf( esc_html( 'Select an icon from the drop down above. This is used for the icon associated with the %s.', 'timeline-express' ), strtolower( $timeline_express_singular_name ) ),
55
+ 'id' => $prefix . 'icon',
56
+ 'type' => 'te_bootstrap_dropdown',
57
+ 'default' => 'fa-' . $timeline_express_options['default-announcement-icon'],
58
+ )
59
+ );
60
 
61
  // Announcement Date
62
  $announcement_metabox->add_field(
80
 
81
 
82
  // Announcement Banner
83
+ $announcement_metabox->add_field(
84
+ array(
85
+ /* translators: Timeline Express singular post type name (eg: Announcement) */
86
+ 'name' => sprintf( esc_html( '%s Banner', 'timeline-express' ), $timeline_express_singular_name ),
87
+ /* translators: Timeline Express singular post type name - lowercase (eg: announcement) */
88
+ 'desc' => sprintf( esc_html( 'Select a banner image for this %s (optional). (recommended 650px wide or larger)', 'timeline-express' ), strtolower( $timeline_express_singular_name ) ),
89
+ 'id' => $prefix . 'image',
90
+ 'type' => 'file',
91
+ )
92
+ );
93
 
94
  /**
95
  * Custom Container Classes Metabox
100
  if ( defined( 'TIMELINE_EXPRESS_CONTAINER_CLASSES' ) && TIMELINE_EXPRESS_CONTAINER_CLASSES ) {
101
 
102
  // Custom Announcement Container Info. Metabox
103
+ $announcement_container_metabox = new_cmb2_box(
104
+ array(
105
+ 'id' => 'announcement_container_metabox',
106
+ 'title' => esc_html__( 'Announcement Container Info.', 'timeline-express' ),
107
+ 'object_types' => array( 'te_announcements' ), // Post type
108
  'context' => 'advanced',
109
  'priority' => 'high',
110
  'show_names' => true, // Show field names on the left
111
+ )
112
+ );
113
 
114
  // Custom Container Class(es)
115
+ $announcement_container_metabox->add_field(
116
+ array(
117
+ 'name' => esc_html__( 'Custom Container Class', 'timeline-express' ),
118
+ 'desc' => esc_html__( 'Enter the class that you would like added to this announcement container on the timeline.', 'timeline-express' ),
119
+ 'id' => $prefix . 'container_classes',
120
+ 'type' => 'text',
121
+ )
122
+ );
123
 
124
  }
125
 
128
  */
129
 
130
  // Documentation Metabox
131
+ $help_docs_metabox = new_cmb2_box(
132
+ array(
133
+ 'id' => 'help_docs_metabox',
134
+ 'title' => esc_html__( 'Help & Documentation', 'timeline-express' ),
135
+ 'object_types' => array( 'te_announcements' ),
136
+ 'context' => 'side',
137
+ 'priority' => 'low',
138
+ 'show_names' => true,
139
+ )
140
+ );
141
 
142
  // Support & Documentation
143
+ $help_docs_metabox->add_field(
144
+ array(
145
+ 'name' => '',
146
+ 'desc' => '',
147
+ 'id' => $prefix . 'help_docs',
148
+ 'type' => 'te_help_docs_metabox',
149
+ )
150
+ );
151
 
152
  $advertisment_data = te_get_advertisment();
153
 
154
  // Advertisement Metabox
155
+ $advert_metabox = new_cmb2_box(
156
+ array(
157
+ 'id' => 'advert_metabox',
158
+ 'title' => $advertisment_data['title'],
159
+ 'object_types' => array( 'te_announcements' ),
160
+ 'context' => 'side',
161
+ 'priority' => 'low',
162
+ 'show_names' => true,
163
+ )
164
+ );
165
 
166
  // Advertisment Field (image & content)
167
+ $advert_metabox->add_field(
168
+ array(
169
+ 'name' => '',
170
+ 'desc' => '',
171
+ 'id' => $prefix . 'advertisments',
172
+ 'type' => 'te_advert_metabox',
173
+ 'ad_data' => $advertisment_data,
174
+ )
175
+ );
176
 
177
  // Filter here is to allow extra fields to be added
178
  // loop to add fields to our array
193
  foreach ( $custom_fields as $user_defined_field ) {
194
 
195
  // Email text field
196
+ $announcement_metabox->add_field(
197
+ array(
198
+ 'name' => $custom_fields[ $i ]['name'],
199
+ 'desc' => $custom_fields[ $i ]['desc'],
200
+ 'id' => $custom_fields[ $i ]['id'],
201
+ 'type' => $custom_fields[ $i ]['type'],
202
+ )
203
+ );
204
 
205
  $i++;
206
 
lib/admin/pages/page.addons.php CHANGED
@@ -26,14 +26,16 @@ wp_enqueue_script( 'plugin-install' );
26
 
27
  wp_enqueue_script( 'timeline-express-add-ons-js', TIMELINE_EXPRESS_URL . "lib/admin/js/min/timeline-express-add-ons{$suffix}.js", array( 'plugin-install' ), TIMELINE_EXPRESS_VERSION_CURRENT, true );
28
 
29
- wp_localize_script( 'timeline-express-add-ons-js', 'te_installer_localize', array(
30
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
31
- 'admin_nonce' => wp_create_nonce( 'timeline_express_add_on_install_nonce' ),
32
- 'install_now' => __( 'Are you sure you want to install this add-on?', 'timeline-express' ),
33
- 'install_btn' => __( 'Install' ), // core i18n
 
34
  'activate_btn' => __( 'Activate' ), // core i18n
35
  'installed_btn' => __( 'Active', 'timeline-express' ),
36
- ) );
 
37
 
38
  $all_plugins = get_plugins();
39
 
@@ -120,13 +122,15 @@ $premium_addons = array(
120
  // Sort addons by name
121
  usort( $premium_addons, 'compare_addon_names' );
122
 
123
- array_unshift( $premium_addons, array(
124
- 'name' => esc_html__( 'Timeline Express - Product Bundle', 'timeline-express' ),
125
- /* translators: Integer value for the number of add-ons in the add-on list. (eg: 6) */
126
- 'description' => sprintf( esc_html( "Get all %s of the Timeline Express add-ons for one low price! Select a 5 or 10 site license, and receive all current and future add-ons for Timeline Express along with updates and priority product support. An amazing deal, don't miss it!", 'timeline-express' ), count( $premium_addons ) ),
127
- 'purchase_url' => 'https://www.wp-timelineexpress.com/products/timeline-express-bundle/',
128
- 'popular' => true,
129
- ) );
 
 
130
 
131
  ?>
132
 
@@ -222,7 +226,8 @@ function timeline_express_build_addon_data( $data, $free = false ) {
222
 
223
  if ( $free ) {
224
 
225
- $api = (array) plugins_api( 'plugin_information',
 
226
  array(
227
  'slug' => sanitize_file_name( $slug ),
228
  'fields' => array(
@@ -336,7 +341,7 @@ function timeline_express_render_addon( $addon, $free = false ) {
336
  <div class="plugin-card-top">
337
 
338
  <div class="name column-name">
339
- <h3><?php timeline_express_get_addon_info_url( $addon, $free ) ?></h3>
340
  </div>
341
 
342
  <div class="action-links">
@@ -344,7 +349,7 @@ function timeline_express_render_addon( $addon, $free = false ) {
344
  <ul class="plugin-action-buttons">
345
 
346
  <li>
347
- <a class="<?php echo esc_attr( $addon['button_class'] ); ?>" <?php echo esc_attr( $target ) ?> data-slug="<?php echo sanitize_title( isset( $addon['slug'] ) ? $addon['slug'] : $addon['name'] . '-add-on' ); ?>" href="<?php echo esc_url( $link ); ?>" aria-label="<?php printf( /* translators: The name of the plugin. */ __( 'Install %s now', 'timeline-express' ), $addon['name'] ); ?>" data-name="<?php echo esc_attr( $addon['name'] ); ?>">
348
  <?php echo esc_html( $addon['button_text'] ); ?>
349
  </a>
350
  </li>
@@ -399,13 +404,15 @@ function timeline_express_get_addon_info_url( $addon, $free = false ) {
399
 
400
  if ( $free ) {
401
 
402
- $plugin_info_url = add_query_arg( array(
403
- 'tab' => 'plugin-information',
404
- 'plugin' => sanitize_title( isset( $addon['slug'] ) ? $addon['slug'] : $addon['name'] . '-add-on' ),
405
- 'TB_iframe' => 'true',
406
- 'width' => '600',
407
- 'height' => '550',
408
- ), admin_url( 'plugin-install.php' ) );
 
 
409
 
410
  ?>
411
 
@@ -454,29 +461,41 @@ function timeline_express_addon_details( $data ) {
454
  <div class="star-rating">
455
  <span class="screen-reader-text">
456
 
457
- <?php sprintf(
 
458
  /* translators: 1. Plugin rating (eg: 4.5) 2. Rating count (eg: 100) */
459
  esc_html__( '%1$s rating based on %2$s ratings', 'timeline-express' ),
460
  (int) $data['api_data']['rating'],
461
  (int) $data['api_data']['num_ratings']
462
- ); ?></span>
 
 
 
463
 
464
- <?php wp_star_rating( array(
465
- 'rating' => $data['api_data']['rating'],
466
- 'type' => 'percent',
467
- 'number' => $data['api_data']['num_ratings'],
468
- ) ); ?>
 
 
 
 
 
 
469
 
470
  </div>
471
  <span class="num-ratings" aria-hidden="true">(<?php echo esc_html( number_format_i18n( (int) $data['api_data']['num_ratings'] ) ); ?>)</span>
472
  </div>
473
  <div class="column-updated">
474
- <strong><?php esc_html__( 'Last Updated:' ); // core i10n ?></strong>
475
- <?php printf(
 
476
  /* translators: The last time this plugin was updated (eg: 1 week). */
477
  __( '%s ago' ),
478
  human_time_diff( strtotime( $data['api_data']['last_updated'] ) )
479
- ); ?>
 
480
  </div>
481
  <div class="column-downloaded">
482
  <?php
26
 
27
  wp_enqueue_script( 'timeline-express-add-ons-js', TIMELINE_EXPRESS_URL . "lib/admin/js/min/timeline-express-add-ons{$suffix}.js", array( 'plugin-install' ), TIMELINE_EXPRESS_VERSION_CURRENT, true );
28
 
29
+ wp_localize_script(
30
+ 'timeline-express-add-ons-js', 'te_installer_localize', array(
31
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
32
+ 'admin_nonce' => wp_create_nonce( 'timeline_express_add_on_install_nonce' ),
33
+ 'install_now' => __( 'Are you sure you want to install this add-on?', 'timeline-express' ),
34
+ 'install_btn' => __( 'Install' ), // core i18n
35
  'activate_btn' => __( 'Activate' ), // core i18n
36
  'installed_btn' => __( 'Active', 'timeline-express' ),
37
+ )
38
+ );
39
 
40
  $all_plugins = get_plugins();
41
 
122
  // Sort addons by name
123
  usort( $premium_addons, 'compare_addon_names' );
124
 
125
+ array_unshift(
126
+ $premium_addons, array(
127
+ 'name' => esc_html__( 'Timeline Express - Product Bundle', 'timeline-express' ),
128
+ /* translators: Integer value for the number of add-ons in the add-on list. (eg: 6) */
129
+ 'description' => sprintf( esc_html( "Get all %s of the Timeline Express add-ons for one low price! Select a 5 or 10 site license, and receive all current and future add-ons for Timeline Express along with updates and priority product support. An amazing deal, don't miss it!", 'timeline-express' ), count( $premium_addons ) ),
130
+ 'purchase_url' => 'https://www.wp-timelineexpress.com/products/timeline-express-bundle/',
131
+ 'popular' => true,
132
+ )
133
+ );
134
 
135
  ?>
136
 
226
 
227
  if ( $free ) {
228
 
229
+ $api = (array) plugins_api(
230
+ 'plugin_information',
231
  array(
232
  'slug' => sanitize_file_name( $slug ),
233
  'fields' => array(
341
  <div class="plugin-card-top">
342
 
343
  <div class="name column-name">
344
+ <h3><?php timeline_express_get_addon_info_url( $addon, $free ); ?></h3>
345
  </div>
346
 
347
  <div class="action-links">
349
  <ul class="plugin-action-buttons">
350
 
351
  <li>
352
+ <a class="<?php echo esc_attr( $addon['button_class'] ); ?>" <?php echo esc_attr( $target ); ?> data-slug="<?php echo sanitize_title( isset( $addon['slug'] ) ? $addon['slug'] : $addon['name'] . '-add-on' ); ?>" href="<?php echo esc_url( $link ); ?>" aria-label="<?php printf( /* translators: The name of the plugin. */ __( 'Install %s now', 'timeline-express' ), $addon['name'] ); ?>" data-name="<?php echo esc_attr( $addon['name'] ); ?>">
353
  <?php echo esc_html( $addon['button_text'] ); ?>
354
  </a>
355
  </li>
404
 
405
  if ( $free ) {
406
 
407
+ $plugin_info_url = add_query_arg(
408
+ array(
409
+ 'tab' => 'plugin-information',
410
+ 'plugin' => sanitize_title( isset( $addon['slug'] ) ? $addon['slug'] : $addon['name'] . '-add-on' ),
411
+ 'TB_iframe' => 'true',
412
+ 'width' => '600',
413
+ 'height' => '550',
414
+ ), admin_url( 'plugin-install.php' )
415
+ );
416
 
417
  ?>
418
 
461
  <div class="star-rating">
462
  <span class="screen-reader-text">
463
 
464
+ <?php
465
+ sprintf(
466
  /* translators: 1. Plugin rating (eg: 4.5) 2. Rating count (eg: 100) */
467
  esc_html__( '%1$s rating based on %2$s ratings', 'timeline-express' ),
468
  (int) $data['api_data']['rating'],
469
  (int) $data['api_data']['num_ratings']
470
+ );
471
+ ?>
472
+
473
+ </span>
474
 
475
+ <?php
476
+
477
+ wp_star_rating(
478
+ array(
479
+ 'rating' => $data['api_data']['rating'],
480
+ 'type' => 'percent',
481
+ 'number' => $data['api_data']['num_ratings'],
482
+ )
483
+ );
484
+
485
+ ?>
486
 
487
  </div>
488
  <span class="num-ratings" aria-hidden="true">(<?php echo esc_html( number_format_i18n( (int) $data['api_data']['num_ratings'] ) ); ?>)</span>
489
  </div>
490
  <div class="column-updated">
491
+ <strong><?php esc_html__( 'Last Updated:' ); ?></strong>
492
+ <?php
493
+ printf(
494
  /* translators: The last time this plugin was updated (eg: 1 week). */
495
  __( '%s ago' ),
496
  human_time_diff( strtotime( $data['api_data']['last_updated'] ) )
497
+ );
498
+ ?>
499
  </div>
500
  <div class="column-downloaded">
501
  <?php
lib/admin/pages/page.options.php CHANGED
@@ -73,7 +73,9 @@ $timeline_express_plural_name = apply_filters( 'timeline_express_plural_name',
73
 
74
  do_action( 'timeline_express_add_on_options_page', $active_tab );
75
 
76
- } else { ?>
 
 
77
 
78
  <form method="post" action="options.php" name="timeline-express-form" id="timeline-express-form">
79
 
@@ -365,11 +367,15 @@ $timeline_express_plural_name = apply_filters( 'timeline_express_plural_name',
365
  </label>
366
  </th>
367
  <td>
368
- <?php wp_editor(
 
 
369
  stripslashes( $current_options['no-events-message'] ),
370
  'no-events-message',
371
  $additional_editor_parameters
372
- ); ?>
 
 
373
  <p class="description">
374
  <?php
375
  /* translators: Timeline Express plural name (eg: announcements) */
73
 
74
  do_action( 'timeline_express_add_on_options_page', $active_tab );
75
 
76
+ } else {
77
+
78
+ ?>
79
 
80
  <form method="post" action="options.php" name="timeline-express-form" id="timeline-express-form">
81
 
367
  </label>
368
  </th>
369
  <td>
370
+ <?php
371
+
372
+ wp_editor(
373
  stripslashes( $current_options['no-events-message'] ),
374
  'no-events-message',
375
  $additional_editor_parameters
376
+ );
377
+
378
+ ?>
379
  <p class="description">
380
  <?php
381
  /* translators: Timeline Express plural name (eg: announcements) */
lib/admin/pages/page.welcome.php CHANGED
@@ -43,14 +43,26 @@ $selected = isset( $_GET['tab'] ) ? $_GET['tab'] : 'timeline-express-getting-sta
43
 
44
  <!-- Tabs -->
45
  <h2 class="nav-tab-wrapper">
46
- <a class="nav-tab <?php echo 'timeline-express-getting-started' === $selected ? 'nav-tab-active' : ''; ?>" href="<?php echo esc_url( admin_url( add_query_arg( array(
47
- 'tab' => 'timeline-express-getting-started',
48
- ), 'admin.php?page=timeline-express-welcome' ) ) ); ?>">
 
 
 
 
 
 
49
  <?php esc_html_e( 'Getting Started', 'timeline-express' ); ?>
50
  </a>
51
- <a class="nav-tab <?php echo 'timeline-express-author' === $selected ? 'nav-tab-active' : ''; ?>" href="<?php echo esc_url( admin_url( add_query_arg( array(
52
- 'tab' => 'timeline-express-author',
53
- ), 'admin.php?page=timeline-express-welcome' ) ) ); ?>">
 
 
 
 
 
 
54
  <?php esc_html_e( 'About Code Parrots', 'timeline-express' ); ?>
55
  </a>
56
  </h2>
@@ -70,7 +82,7 @@ $selected = isset( $_GET['tab'] ) ? $_GET['tab'] : 'timeline-express-getting-sta
70
 
71
  <div class="changelog">
72
 
73
- <h3><?php esc_html_e( 'Creating Your First Announcement', 'timeline-express' );?></h3>
74
 
75
  <div class="feature-section">
76
 
@@ -94,7 +106,7 @@ $selected = isset( $_GET['tab'] ) ? $_GET['tab'] : 'timeline-express-getting-sta
94
  ?>
95
  </p>
96
 
97
- <h4><?php esc_html_e( 'Announcement Images', 'timeline-express' );?></h4>
98
 
99
  <p><?php esc_html_e( 'Adding images to your announcements is as easy as adding images to standard posts in WordPress. When you add images to your announcements, they will appear both on the timeline and on the single announcement templates.', 'timeline-express' ); ?></p>
100
 
@@ -106,7 +118,7 @@ $selected = isset( $_GET['tab'] ) ? $_GET['tab'] : 'timeline-express-getting-sta
106
 
107
  <div class="changelog">
108
 
109
- <h3><?php esc_html_e( 'Setup Timeline Express', 'easy-digital-downloads' );?></h3>
110
 
111
  <div class="feature-section">
112
 
43
 
44
  <!-- Tabs -->
45
  <h2 class="nav-tab-wrapper">
46
+ <a class="nav-tab <?php echo 'timeline-express-getting-started' === $selected ? 'nav-tab-active' : ''; ?>" href="<?php echo esc_url(
47
+ admin_url(
48
+ add_query_arg(
49
+ array(
50
+ 'tab' => 'timeline-express-getting-started',
51
+ ), 'admin.php?page=timeline-express-welcome'
52
+ )
53
+ )
54
+ ); ?>">
55
  <?php esc_html_e( 'Getting Started', 'timeline-express' ); ?>
56
  </a>
57
+ <a class="nav-tab <?php echo 'timeline-express-author' === $selected ? 'nav-tab-active' : ''; ?>" href="<?php echo esc_url(
58
+ admin_url(
59
+ add_query_arg(
60
+ array(
61
+ 'tab' => 'timeline-express-author',
62
+ ), 'admin.php?page=timeline-express-welcome'
63
+ )
64
+ )
65
+ ); ?>">
66
  <?php esc_html_e( 'About Code Parrots', 'timeline-express' ); ?>
67
  </a>
68
  </h2>
82
 
83
  <div class="changelog">
84
 
85
+ <h3><?php esc_html_e( 'Creating Your First Announcement', 'timeline-express' ); ?></h3>
86
 
87
  <div class="feature-section">
88
 
106
  ?>
107
  </p>
108
 
109
+ <h4><?php esc_html_e( 'Announcement Images', 'timeline-express' ); ?></h4>
110
 
111
  <p><?php esc_html_e( 'Adding images to your announcements is as easy as adding images to standard posts in WordPress. When you add images to your announcements, they will appear both on the timeline and on the single announcement templates.', 'timeline-express' ); ?></p>
112
 
118
 
119
  <div class="changelog">
120
 
121
+ <h3><?php esc_html_e( 'Setup Timeline Express', 'easy-digital-downloads' ); ?></h3>
122
 
123
  <div class="feature-section">
124
 
lib/classes/class-timeline-express-2-week-notice.php CHANGED
@@ -135,9 +135,11 @@ class Timeline_Express_Two_Weeks_Notice {
135
  */
136
  public function get_dismissal_url() {
137
 
138
- return add_query_arg( array(
139
- 'timeline_express_rating_nobug' => 'true',
140
- ) );
 
 
141
 
142
  }
143
 
135
  */
136
  public function get_dismissal_url() {
137
 
138
+ return add_query_arg(
139
+ array(
140
+ 'timeline_express_rating_nobug' => 'true',
141
+ )
142
+ );
143
 
144
  }
145
 
lib/classes/class-timeline-express-admin.php CHANGED
@@ -408,7 +408,8 @@ class Timeline_Express_Admin {
408
 
409
  }
410
 
411
- register_rest_field( 'te_announcements',
 
412
  'announcement_date',
413
  array(
414
  'get_callback' => array( $this, 'get_announcement_date' ),
@@ -416,7 +417,8 @@ class Timeline_Express_Admin {
416
  )
417
  );
418
 
419
- register_rest_field( 'te_announcements',
 
420
  'announcement_image',
421
  array(
422
  'get_callback' => array( $this, 'get_announcement_image' ),
@@ -475,10 +477,12 @@ class Timeline_Express_Admin {
475
  *
476
  * @var array
477
  */
478
- return (array) apply_filters( 'timeline_express_popups_addon_announcement_image', [
479
- 'iframe' => false,
480
- 'url' => $image_url ? esc_url( $image_url ) : false,
481
- ], $image_id );
 
 
482
 
483
  }
484
 
@@ -499,7 +503,8 @@ class Timeline_Express_Admin {
499
 
500
  if ( defined( 'TIMELINE_EXPRESS_YEAR_ICONS' ) && TIMELINE_EXPRESS_YEAR_ICONS ) {
501
 
502
- ?><style>.cmb-type-te-bootstrap-dropdown{ display: none !important; }</style><?php
 
503
 
504
  }
505
 
@@ -578,7 +583,8 @@ class Timeline_Express_Admin {
578
  require_once( ABSPATH . 'wp-admin/includes/class-plugin-upgrader.php' );
579
 
580
  // Get Plugin Info
581
- $api = plugins_api( 'plugin_information',
 
582
  array(
583
  'slug' => $plugin,
584
  'fields' => array(
@@ -656,30 +662,35 @@ class Timeline_Express_Admin {
656
 
657
  if ( is_wp_error( activate_plugin( $plugin . '/' . $plugin . '.php' ) ) ) {
658
 
659
- wp_send_json_error( array(
660
- 'status' => 'error',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
661
  'msg' => sprintf(
662
  /* translators: The name of the plugin. */
663
- __( 'Failed to activate %s.', 'timeline-express' ),
664
  esc_html( $plugin )
665
  ),
666
- ) );
667
-
668
- }
669
-
670
- wp_send_json( array(
671
- 'status' => 'success',
672
- 'msg' => sprintf(
673
- /* translators: The name of the plugin. */
674
- __( '%s successfully activated.', 'timeline-express' ),
675
- esc_html( $plugin )
676
- ),
677
- ) );
678
 
679
  }
680
 
681
  // Get Plugin Info
682
- $api = plugins_api( 'plugin_information',
 
683
  array(
684
  'slug' => $plugin,
685
  'fields' => array(
408
 
409
  }
410
 
411
+ register_rest_field(
412
+ 'te_announcements',
413
  'announcement_date',
414
  array(
415
  'get_callback' => array( $this, 'get_announcement_date' ),
417
  )
418
  );
419
 
420
+ register_rest_field(
421
+ 'te_announcements',
422
  'announcement_image',
423
  array(
424
  'get_callback' => array( $this, 'get_announcement_image' ),
477
  *
478
  * @var array
479
  */
480
+ return (array) apply_filters(
481
+ 'timeline_express_popups_addon_announcement_image', [
482
+ 'iframe' => false,
483
+ 'url' => $image_url ? esc_url( $image_url ) : false,
484
+ ], $image_id
485
+ );
486
 
487
  }
488
 
503
 
504
  if ( defined( 'TIMELINE_EXPRESS_YEAR_ICONS' ) && TIMELINE_EXPRESS_YEAR_ICONS ) {
505
 
506
+ ?>
507
+ <style>.cmb-type-te-bootstrap-dropdown{ display: none !important; }</style><?php
508
 
509
  }
510
 
583
  require_once( ABSPATH . 'wp-admin/includes/class-plugin-upgrader.php' );
584
 
585
  // Get Plugin Info
586
+ $api = plugins_api(
587
+ 'plugin_information',
588
  array(
589
  'slug' => $plugin,
590
  'fields' => array(
662
 
663
  if ( is_wp_error( activate_plugin( $plugin . '/' . $plugin . '.php' ) ) ) {
664
 
665
+ wp_send_json_error(
666
+ array(
667
+ 'status' => 'error',
668
+ 'msg' => sprintf(
669
+ /* translators: The name of the plugin. */
670
+ __( 'Failed to activate %s.', 'timeline-express' ),
671
+ esc_html( $plugin )
672
+ ),
673
+ )
674
+ );
675
+
676
+ }
677
+
678
+ wp_send_json(
679
+ array(
680
+ 'status' => 'success',
681
  'msg' => sprintf(
682
  /* translators: The name of the plugin. */
683
+ __( '%s successfully activated.', 'timeline-express' ),
684
  esc_html( $plugin )
685
  ),
686
+ )
687
+ );
 
 
 
 
 
 
 
 
 
 
688
 
689
  }
690
 
691
  // Get Plugin Info
692
+ $api = plugins_api(
693
+ 'plugin_information',
694
  array(
695
  'slug' => $plugin,
696
  'fields' => array(
lib/classes/class-timeline-express-initialize.php CHANGED
@@ -31,9 +31,11 @@ class Timeline_Express_Initialize {
31
  wp_enqueue_script( 'timeline-express-js-base', TIMELINE_EXPRESS_URL . 'lib/public/js/min/timeline-express.min.js', array( 'jquery-masonry' ) );
32
 
33
  /* pass the disabled state to our script */
34
- wp_localize_script( 'timeline-express-js-base', 'timeline_express_data', array(
35
- 'animation_disabled' => $animation_disabled,
36
- ) );
 
 
37
 
38
  do_action( 'timeline-express-scripts' );
39
 
31
  wp_enqueue_script( 'timeline-express-js-base', TIMELINE_EXPRESS_URL . 'lib/public/js/min/timeline-express.min.js', array( 'jquery-masonry' ) );
32
 
33
  /* pass the disabled state to our script */
34
+ wp_localize_script(
35
+ 'timeline-express-js-base', 'timeline_express_data', array(
36
+ 'animation_disabled' => $animation_disabled,
37
+ )
38
+ );
39
 
40
  do_action( 'timeline-express-scripts' );
41
 
lib/classes/class-timeline-express-public.php CHANGED
@@ -40,11 +40,13 @@ class Timeline_Express_Public {
40
  $options = timeline_express_get_options();
41
 
42
  /* Parse the shortcode attributes */
43
- $atts = shortcode_atts( array(
44
- 'limit' => -1,
45
- 'order' => $options['announcement-display-order'],
46
- 'display' => $options['announcement-time-frame'],
47
- ), $atts, 'timeline-express' );
 
 
48
 
49
  $timeline_express_init = new Timeline_Express_Initialize();
50
 
@@ -59,7 +61,7 @@ class Timeline_Express_Public {
59
  * Next it checksf or a page.php template in the theme root
60
  * If all else fails, it will use the default template defined by WordPress.
61
  *
62
- * @param string $page_template The page template name to be used for single announcements.
63
  * @return string The page template to be used for the single announcements.
64
  *
65
  * @since 1.2
40
  $options = timeline_express_get_options();
41
 
42
  /* Parse the shortcode attributes */
43
+ $atts = shortcode_atts(
44
+ array(
45
+ 'limit' => -1,
46
+ 'order' => $options['announcement-display-order'],
47
+ 'display' => $options['announcement-time-frame'],
48
+ ), $atts, 'timeline-express'
49
+ );
50
 
51
  $timeline_express_init = new Timeline_Express_Initialize();
52
 
61
  * Next it checksf or a page.php template in the theme root
62
  * If all else fails, it will use the default template defined by WordPress.
63
  *
64
+ * @param string $page_template The page template name to be used for single announcements.
65
  * @return string The page template to be used for the single announcements.
66
  *
67
  * @since 1.2
lib/helpers.php CHANGED
@@ -50,24 +50,28 @@ add_action( 'timeline_express_sidebar', 'timeline_express_generate_sidebar', 10
50
  */
51
  function timeline_express_get_options() {
52
 
53
- return apply_filters( 'timeline_express_options', get_option( TIMELINE_EXPRESS_OPTION, array(
54
- 'announcement-time-frame' => '1',
55
- 'announcement-display-order' => 'ASC',
56
- 'excerpt-trim-length' => 50,
57
- 'excerpt-random-length' => 0,
58
- 'date-visibility' => '1',
59
- 'read-more-visibility' => '1',
60
- 'default-announcement-icon' => 'exclamation-triangle',
61
- 'default-announcement-color' => '#75CE66',
62
- 'announcement-box-shadow-color' => '#B9C5CD',
63
- 'announcement-background-line-color' => '#D7E4ED',
64
- 'announcement-bg-color' => '#EFEFEF',
65
- 'no-events-message' => esc_html__( 'No announcements found', 'timeline-express' ),
66
- 'announcement-appear-in-searches' => 'true',
67
- 'disable-animation' => 0,
68
- 'delete-announcement-posts-on-uninstallation' => 0,
69
- 'version' => TIMELINE_EXPRESS_VERSION_CURRENT,
70
- ) ) );
 
 
 
 
71
 
72
  }
73
 
@@ -234,8 +238,10 @@ function timeline_express_build_bootstrap_icon_dropdown( $field, $meta ) {
234
 
235
  }
236
 
237
- // Extract the icons from the stylesheet
238
- $pattern = '/\.(fa-(?:\w+(?:-)?)+):before\s+{\s*content:\s*"(.+)";\s+}/';
 
 
239
 
240
  preg_match_all( $pattern, $response['body'], $matches, PREG_SET_ORDER );
241
 
@@ -243,9 +249,15 @@ function timeline_express_build_bootstrap_icon_dropdown( $field, $meta ) {
243
 
244
  foreach ( $matches as $match ) {
245
 
246
- $icons[ str_replace( 'fa-', '', $match[1] ) ] = $match[2];
 
 
247
 
 
 
 
248
  }
 
249
  ?>
250
 
251
  <script>
@@ -590,15 +602,17 @@ function timeline_express_get_announcement_image( $post_id, $image_size = 'timel
590
 
591
  }
592
 
593
- $announcement_image = apply_filters( 'timeline_express_image', wp_get_attachment_image(
594
- get_post_meta( $post_id, 'announcement_image_id', true ),
595
- $image_size,
596
- false,
597
- array(
598
- 'alt' => esc_attr( get_the_title() ),
599
- 'class' => 'announcement-banner-image',
600
- )
601
- ), $post_id );
 
 
602
 
603
  if ( empty( $announcement_image ) ) {
604
 
@@ -632,17 +646,21 @@ function timeline_express_map_html_attributes( $attribute_array ) {
632
 
633
  }
634
 
635
- return join( ' ', array_map( function( $key ) use ( $attribute_array ) {
 
 
636
 
637
- if ( is_bool( $attribute_array[ $key ] ) ) {
638
 
639
- return $attribute_array[ $key ] ? $key:'';
640
 
641
- }
642
 
643
- return $key . '="' . $attribute_array[ $key ] . '"';
644
 
645
- }, array_keys( $attribute_array ) ) );
 
 
646
 
647
  }
648
 
@@ -1015,14 +1033,14 @@ function timeline_express_generate_options_tabs( $active_tab ) {
1015
  function te_dateformat_php_to_jqueryui( $php_format ) {
1016
 
1017
  $acceptable_formats = (array) apply_filters(
1018
- 'timeline_express_jqueryui_acceptable_formats', [
1019
  'm/d/Y',
1020
  'd/m/Y',
1021
  'Y-m-d',
1022
  'Y-d-m',
1023
  'd-m-Y',
1024
  'm-d-Y',
1025
- ]
1026
  );
1027
 
1028
  /**
50
  */
51
  function timeline_express_get_options() {
52
 
53
+ return apply_filters(
54
+ 'timeline_express_options', get_option(
55
+ TIMELINE_EXPRESS_OPTION, array(
56
+ 'announcement-time-frame' => '1',
57
+ 'announcement-display-order' => 'ASC',
58
+ 'excerpt-trim-length' => 50,
59
+ 'excerpt-random-length' => 0,
60
+ 'date-visibility' => '1',
61
+ 'read-more-visibility' => '1',
62
+ 'default-announcement-icon' => 'exclamation-triangle',
63
+ 'default-announcement-color' => '#75CE66',
64
+ 'announcement-box-shadow-color' => '#B9C5CD',
65
+ 'announcement-background-line-color' => '#D7E4ED',
66
+ 'announcement-bg-color' => '#EFEFEF',
67
+ 'no-events-message' => esc_html__( 'No announcements found', 'timeline-express' ),
68
+ 'announcement-appear-in-searches' => 'true',
69
+ 'disable-animation' => 0,
70
+ 'delete-announcement-posts-on-uninstallation' => 0,
71
+ 'version' => TIMELINE_EXPRESS_VERSION_CURRENT,
72
+ )
73
+ )
74
+ );
75
 
76
  }
77
 
238
 
239
  }
240
 
241
+ // Icons
242
+ $pattern = '/(\.(?:fa-(?:\w+(?:-)?)+):before(?:,\s*\.(?:fa-(?:\w+(?:-)?)+):before)*)\s*{\s*content:\s*"(.+)";\s*}/';
243
+
244
+ $sub_pattern = '/(fa-.+?):before/';
245
 
246
  preg_match_all( $pattern, $response['body'], $matches, PREG_SET_ORDER );
247
 
249
 
250
  foreach ( $matches as $match ) {
251
 
252
+ preg_match_all( $sub_pattern, $match[1], $sub_matches, PREG_SET_ORDER );
253
+
254
+ foreach ( $sub_matches as $sub_match ) {
255
 
256
+ $icons[ str_replace( 'fa-', '', $sub_match[1] ) ] = $match[2];
257
+
258
+ }
259
  }
260
+
261
  ?>
262
 
263
  <script>
602
 
603
  }
604
 
605
+ $announcement_image = apply_filters(
606
+ 'timeline_express_image', wp_get_attachment_image(
607
+ get_post_meta( $post_id, 'announcement_image_id', true ),
608
+ $image_size,
609
+ false,
610
+ array(
611
+ 'alt' => esc_attr( get_the_title() ),
612
+ 'class' => 'announcement-banner-image',
613
+ )
614
+ ), $post_id
615
+ );
616
 
617
  if ( empty( $announcement_image ) ) {
618
 
646
 
647
  }
648
 
649
+ return join(
650
+ ' ', array_map(
651
+ function( $key ) use ( $attribute_array ) {
652
 
653
+ if ( is_bool( $attribute_array[ $key ] ) ) {
654
 
655
+ return $attribute_array[ $key ] ? $key : '';
656
 
657
+ }
658
 
659
+ return $key . '="' . $attribute_array[ $key ] . '"';
660
 
661
+ }, array_keys( $attribute_array )
662
+ )
663
+ );
664
 
665
  }
666
 
1033
  function te_dateformat_php_to_jqueryui( $php_format ) {
1034
 
1035
  $acceptable_formats = (array) apply_filters(
1036
+ 'timeline_express_jqueryui_acceptable_formats', array(
1037
  'm/d/Y',
1038
  'd/m/Y',
1039
  'Y-m-d',
1040
  'Y-d-m',
1041
  'd-m-Y',
1042
  'm-d-Y',
1043
+ )
1044
  );
1045
 
1046
  /**
lib/public/css/min/timeline-express-rtl.min.css CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  .cd-container{width:95%;margin:0 auto}.cd-container::after{content:'';display:table;clear:both}#cd-timeline{position:relative;padding:1em 0;margin-top:2em;margin-bottom:3em}.cd-timeline-block:last-child,.cd-timeline-content .the-excerpt p{margin-bottom:0}#cd-timeline::before{content:'';position:absolute;top:0;right:18px;height:100%;width:4px;background:rgba(179,177,179,.75)}.cd-timeline-block:after,.cd-timeline-content:after{content:"";clear:both}.cd-timeline-content h2{margin:0}.cd-timeline-content .cd-date,.cd-timeline-content .the-excerpt,.cd-timeline-content .timeline-express-read-more-link{position:relative;z-index:10}.announcement-banner-image{border-radius:3px}.cd-timeline-block{width:100%;display:inline-block}.cd-timeline-block:after{display:table}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-img{position:absolute;right:-5px;height:50px;width:50px;border-radius:50%;box-shadow:0 0 0 4px #fff,inset 0 2px 0 rgba(0,0,0,.08),0 3px 0 4px rgba(0,0,0,.05)}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;text-align:center;line-height:55px;color:#fff}.cd-timeline-img img{display:block;position:relative;right:50%;top:50%;margin-right:-12px;margin-top:-12px}.cd-timeline-content{position:relative;margin-right:70px;top:0;background:#fff;border-radius:.25em;padding:1em;box-shadow:0 3px 0 #B9C5CD;box-sizing:border-box!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;-ms-box-sizing:border-box!important;margin-bottom:1em}.cd-timeline-content:after{display:table}.cd-timeline-content .cd-date{float:right;padding:.8em 0;opacity:.7;font-size:12px}.cd-timeline-title-container+img{margin:.75em 0;width:100%;max-width:100%}.cd-timeline-title-container+.the-excerpt{margin-top:.5em}.cd-timeline-title-container .timeline-date{font-style:italic;display:block;margin:3px 0 0}@keyframes cd-reveal-image{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.2)}100%{transform:scale(1)}}@keyframes te-slide-in-left{0%{opacity:0;transform:translateX(100px)}60%{opacity:1;transform:translateX(-20px)}100%{transform:translateX(0)}}@keyframes te-slide-in-right{0%{opacity:0;transform:translateX(-100px)}60%{opacity:1;transform:translateX(20px)}100%{transform:translateX(0)}}.cd-timeline-icon-link,.cd-timeline-icon-link:hover{color:transparent;margin:0;box-shadow:none;-webkit-box-shadow:none;text-decoration:none}#cd-timeline span.fa{color:#fff;font-size:23px;display:block;text-align:center;line-height:52px}.cd-timeline-content::before{content:'';position:absolute;top:16px;left:100%;height:0;width:0;border:12px solid transparent}@media only screen and (min-width:822px){#cd-timeline{margin:3.5em 0}#cd-timeline::before{right:50%;margin-right:-2px}#cd-timeline span.fa{font-size:25px;line-height:63px;height:100%}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}.cd-timeline-img{width:60px;height:60px;right:50%;margin-right:-30px;-webkit-transform:translateZ(0);-webkit-backface-visibility:hidden}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;line-height:60px;text-align:center}.cssanimations .cd-timeline-img.is-hidden{visibility:hidden}.cssanimations .cd-timeline-img.bounce-in{visibility:visible;animation:cd-reveal-image .6s}.cd-container{width:100%}.cd-timeline-content{margin-right:0;top:8px;padding:1.6em;width:42.5%;background:#EFEFEF}.cd-timeline-content::before{top:12px;right:100%;border-color:transparent #EFEFEF transparent transparent}.cd-timeline-content .cd-date{position:absolute;width:100%;right:125%;top:15px}.cd-timeline-block:nth-child(even) .cd-timeline-content{float:left}.cd-timeline-block:nth-child(even) .cd-timeline-content::before{top:12px;right:auto;left:100%;border-color:transparent}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date{right:auto;left:125%;text-align:left}.cssanimations .cd-timeline-content.is-hidden{visibility:hidden}.cssanimations .cd-timeline-content.bounce-in{visibility:visible;animation:te-slide-in-right .6s}.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in{animation:te-slide-in-left .6s}}body.single-te_announcements .timeline-express-content-area{width:100%}body.single-te_announcements .timeline-express-main{max-width:960px}body.single-te_announcements .announcement-banner-image{width:auto}body.single-te_announcements .timeline-express-single-page-announcement-date{display:block;margin:.5em 0;font-style:italic}body.single-te_announcements .timeline-express-single-page-content{margin:.5em 0 1em}body.single-te_announcements nav.navigation.post-navigation{display:none}body.single-te_announcements .content-area.twentyfifteen article.te_announcements .entry-header h1{margin-top:0}
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  .cd-container{width:95%;margin:0 auto}.cd-container::after{content:'';display:table;clear:both}#cd-timeline{position:relative;padding:1em 0;margin-top:2em;margin-bottom:3em}.cd-timeline-block:last-child,.cd-timeline-content .the-excerpt p{margin-bottom:0}#cd-timeline::before{content:'';position:absolute;top:0;right:18px;height:100%;width:4px;background:rgba(179,177,179,.75)}.cd-timeline-block:after,.cd-timeline-content:after{content:"";clear:both}.cd-timeline-content h2{margin:0}.cd-timeline-content .cd-date,.cd-timeline-content .the-excerpt,.cd-timeline-content .timeline-express-read-more-link{position:relative;z-index:10}.announcement-banner-image{border-radius:3px}.cd-timeline-block{width:100%;display:inline-block}.cd-timeline-block:after{display:table}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-img{position:absolute;right:-5px;height:50px;width:50px;border-radius:50%;box-shadow:0 0 0 4px #fff,inset 0 2px 0 rgba(0,0,0,.08),0 3px 0 4px rgba(0,0,0,.05)}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;text-align:center;line-height:55px;color:#fff}.cd-timeline-img img{display:block;position:relative;right:50%;top:50%;margin-right:-12px;margin-top:-12px}.cd-timeline-content{position:relative;margin-right:70px;top:0;background:#fff;border-radius:.25em;padding:1em;box-shadow:0 3px 0 #B9C5CD;box-sizing:border-box!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;-ms-box-sizing:border-box!important;margin-bottom:1em}.cd-timeline-content:after{display:table}.cd-timeline-content .cd-date{float:right;padding:.8em 0;opacity:.7;font-size:12px}.cd-timeline-title-container+img{margin:.75em 0;width:100%;max-width:100%}.cd-timeline-title-container+.the-excerpt{margin-top:.5em}.cd-timeline-title-container .timeline-date{font-style:italic;display:block;margin:3px 0 0}@keyframes cd-reveal-image{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.2)}100%{transform:scale(1)}}@keyframes te-slide-in-left{0%{opacity:0;transform:translateX(100px)}60%{opacity:1;transform:translateX(-20px)}100%{transform:translateX(0)}}@keyframes te-slide-in-right{0%{opacity:0;transform:translateX(-100px)}60%{opacity:1;transform:translateX(20px)}100%{transform:translateX(0)}}.cd-timeline-icon-link,.cd-timeline-icon-link:hover{color:transparent;margin:0;box-shadow:none;-webkit-box-shadow:none;text-decoration:none}#cd-timeline span.fa{color:#fff;font-size:23px;display:block;text-align:center;line-height:52px}.cd-timeline-content::before{content:'';position:absolute;top:16px;left:100%;height:0;width:0;border:12px solid transparent}@media only screen and (min-width:822px){#cd-timeline{margin:3.5em 0}#cd-timeline::before{right:50%;margin-right:-2px}#cd-timeline span.fa{font-size:25px;line-height:63px;height:100%}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}.cd-timeline-img{width:60px;height:60px;right:50%;margin-right:-30px;-webkit-transform:translateZ(0);-webkit-backface-visibility:hidden}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;line-height:60px;text-align:center}.cssanimations .cd-timeline-img.is-hidden{visibility:hidden}.cssanimations .cd-timeline-img.bounce-in{visibility:visible;animation:cd-reveal-image .6s}.cd-container{width:100%}.cd-timeline-content{margin-right:0;top:8px;padding:1.6em;width:42.5%;background:#EFEFEF}.cd-timeline-content::before{top:12px;right:100%;border-color:transparent #EFEFEF transparent transparent}.cd-timeline-content .cd-date{position:absolute;width:100%;right:125%;top:15px}.cd-timeline-block:nth-child(even) .cd-timeline-content{float:left}.cd-timeline-block:nth-child(even) .cd-timeline-content::before{top:12px;right:auto;left:100%;border-color:transparent}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date{right:auto;left:125%;text-align:left}.cssanimations .cd-timeline-content.is-hidden{visibility:hidden}.cssanimations .cd-timeline-content.bounce-in{visibility:visible;animation:te-slide-in-right .6s}.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in{animation:te-slide-in-left .6s}}body.single-te_announcements .timeline-express-content-area{width:100%}body.single-te_announcements .timeline-express-main{max-width:960px}body.single-te_announcements .announcement-banner-image{width:auto}body.single-te_announcements .timeline-express-single-page-announcement-date{display:block;margin:.5em 0;font-style:italic}body.single-te_announcements .timeline-express-single-page-content{margin:.5em 0 1em}body.single-te_announcements nav.navigation.post-navigation{display:none}body.single-te_announcements .content-area.twentyfifteen article.te_announcements .entry-header h1{margin-top:0}
lib/public/css/min/timeline-express.min.css CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  .cd-container{width:95%;margin:0 auto}.cd-container::after{content:'';display:table;clear:both}#cd-timeline{position:relative;padding:1em 0;margin-top:2em;margin-bottom:3em}.cd-timeline-block:last-child,.cd-timeline-content .the-excerpt p{margin-bottom:0}#cd-timeline::before{content:'';position:absolute;top:0;left:18px;height:100%;width:4px;background:rgba(179,177,179,.75)}.cd-timeline-block:after,.cd-timeline-content:after{content:"";clear:both}.cd-timeline-content h2{margin:0}.cd-timeline-content .cd-date,.cd-timeline-content .the-excerpt,.cd-timeline-content .timeline-express-read-more-link{position:relative;z-index:10}.announcement-banner-image{border-radius:3px}.cd-timeline-block{width:100%;display:inline-block}.cd-timeline-block:after{display:table}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-img{position:absolute;left:-5px;height:50px;width:50px;border-radius:50%;box-shadow:0 0 0 4px #fff,inset 0 2px 0 rgba(0,0,0,.08),0 3px 0 4px rgba(0,0,0,.05)}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;text-align:center;line-height:55px;color:#fff}.cd-timeline-img img{display:block;position:relative;left:50%;top:50%;margin-left:-12px;margin-top:-12px}.cd-timeline-content{position:relative;margin-left:70px;top:0;background:#fff;border-radius:.25em;padding:1em;box-shadow:0 3px 0 #B9C5CD;box-sizing:border-box!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;-ms-box-sizing:border-box!important;margin-bottom:1em}.cd-timeline-content:after{display:table}.cd-timeline-content .cd-date{float:left;padding:.8em 0;opacity:.7;font-size:12px}.cd-timeline-title-container+img{margin:.75em 0;width:100%;max-width:100%}.cd-timeline-title-container+.the-excerpt{margin-top:.5em}.cd-timeline-title-container .timeline-date{font-style:italic;display:block;margin:3px 0 0}@keyframes cd-reveal-image{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.2)}100%{transform:scale(1)}}@keyframes te-slide-in-left{0%{opacity:0;transform:translateX(-100px)}60%{opacity:1;transform:translateX(20px)}100%{transform:translateX(0)}}@keyframes te-slide-in-right{0%{opacity:0;transform:translateX(100px)}60%{opacity:1;transform:translateX(-20px)}100%{transform:translateX(0)}}.cd-timeline-icon-link,.cd-timeline-icon-link:hover{color:transparent;margin:0;box-shadow:none;-webkit-box-shadow:none;text-decoration:none}#cd-timeline span.fa{color:#fff;font-size:23px;display:block;text-align:center;line-height:52px}.cd-timeline-content::before{content:'';position:absolute;top:16px;right:100%;height:0;width:0;border:12px solid transparent}@media only screen and (min-width:822px){#cd-timeline{margin:3.5em 0}#cd-timeline::before{left:50%;margin-left:-2px}#cd-timeline span.fa{font-size:25px;line-height:63px;height:100%}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}.cd-timeline-img{width:60px;height:60px;left:50%;margin-left:-30px;-webkit-transform:translateZ(0);-webkit-backface-visibility:hidden}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;line-height:60px;text-align:center}.cssanimations .cd-timeline-img.is-hidden{visibility:hidden}.cssanimations .cd-timeline-img.bounce-in{visibility:visible;animation:cd-reveal-image .6s}.cd-container{width:100%}.cd-timeline-content{margin-left:0;top:8px;padding:1.6em;width:42.5%;background:#EFEFEF}.cd-timeline-content::before{top:12px;left:100%;border-color:transparent transparent transparent #EFEFEF}.cd-timeline-content .cd-date{position:absolute;width:100%;left:125%;top:15px}.cd-timeline-block:nth-child(even) .cd-timeline-content{float:right}.cd-timeline-block:nth-child(even) .cd-timeline-content::before{top:12px;left:auto;right:100%;border-color:transparent}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date{left:auto;right:125%;text-align:right}.cssanimations .cd-timeline-content.is-hidden{visibility:hidden}.cssanimations .cd-timeline-content.bounce-in{visibility:visible;animation:te-slide-in-left .6s}.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in{animation:te-slide-in-right .6s}}body.single-te_announcements .timeline-express-content-area{width:100%}body.single-te_announcements .timeline-express-main{max-width:960px}body.single-te_announcements .announcement-banner-image{width:auto}body.single-te_announcements .timeline-express-single-page-announcement-date{display:block;margin:.5em 0;font-style:italic}body.single-te_announcements .timeline-express-single-page-content{margin:.5em 0 1em}body.single-te_announcements nav.navigation.post-navigation{display:none}body.single-te_announcements .content-area.twentyfifteen article.te_announcements .entry-header h1{margin-top:0}
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  .cd-container{width:95%;margin:0 auto}.cd-container::after{content:'';display:table;clear:both}#cd-timeline{position:relative;padding:1em 0;margin-top:2em;margin-bottom:3em}.cd-timeline-block:last-child,.cd-timeline-content .the-excerpt p{margin-bottom:0}#cd-timeline::before{content:'';position:absolute;top:0;left:18px;height:100%;width:4px;background:rgba(179,177,179,.75)}.cd-timeline-block:after,.cd-timeline-content:after{content:"";clear:both}.cd-timeline-content h2{margin:0}.cd-timeline-content .cd-date,.cd-timeline-content .the-excerpt,.cd-timeline-content .timeline-express-read-more-link{position:relative;z-index:10}.announcement-banner-image{border-radius:3px}.cd-timeline-block{width:100%;display:inline-block}.cd-timeline-block:after{display:table}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-img{position:absolute;left:-5px;height:50px;width:50px;border-radius:50%;box-shadow:0 0 0 4px #fff,inset 0 2px 0 rgba(0,0,0,.08),0 3px 0 4px rgba(0,0,0,.05)}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;text-align:center;line-height:55px;color:#fff}.cd-timeline-img img{display:block;position:relative;left:50%;top:50%;margin-left:-12px;margin-top:-12px}.cd-timeline-content{position:relative;margin-left:70px;top:0;background:#fff;border-radius:.25em;padding:1em;box-shadow:0 3px 0 #B9C5CD;box-sizing:border-box!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;-ms-box-sizing:border-box!important;margin-bottom:1em}.cd-timeline-content:after{display:table}.cd-timeline-content .cd-date{float:left;padding:.8em 0;opacity:.7;font-size:12px}.cd-timeline-title-container+img{margin:.75em 0;width:100%;max-width:100%}.cd-timeline-title-container+.the-excerpt{margin-top:.5em}.cd-timeline-title-container .timeline-date{font-style:italic;display:block;margin:3px 0 0}@keyframes cd-reveal-image{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.2)}100%{transform:scale(1)}}@keyframes te-slide-in-left{0%{opacity:0;transform:translateX(-100px)}60%{opacity:1;transform:translateX(20px)}100%{transform:translateX(0)}}@keyframes te-slide-in-right{0%{opacity:0;transform:translateX(100px)}60%{opacity:1;transform:translateX(-20px)}100%{transform:translateX(0)}}.cd-timeline-icon-link,.cd-timeline-icon-link:hover{color:transparent;margin:0;box-shadow:none;-webkit-box-shadow:none;text-decoration:none}#cd-timeline span.fa{color:#fff;font-size:23px;display:block;text-align:center;line-height:52px}.cd-timeline-content::before{content:'';position:absolute;top:16px;right:100%;height:0;width:0;border:12px solid transparent}@media only screen and (min-width:822px){#cd-timeline{margin:3.5em 0}#cd-timeline::before{left:50%;margin-left:-2px}#cd-timeline span.fa{font-size:25px;line-height:63px;height:100%}.cd-timeline-block:first-child{margin-top:0}.cd-timeline-block:last-child{margin-bottom:0}.cd-timeline-img{width:60px;height:60px;left:50%;margin-left:-30px;-webkit-transform:translateZ(0);-webkit-backface-visibility:hidden}.cd-timeline-img span.year{display:inline-block;width:100%;height:100%;line-height:60px;text-align:center}.cssanimations .cd-timeline-img.is-hidden{visibility:hidden}.cssanimations .cd-timeline-img.bounce-in{visibility:visible;animation:cd-reveal-image .6s}.cd-container{width:100%}.cd-timeline-content{margin-left:0;top:8px;padding:1.6em;width:42.5%;background:#EFEFEF}.cd-timeline-content::before{top:12px;left:100%;border-color:transparent transparent transparent #EFEFEF}.cd-timeline-content .cd-date{position:absolute;width:100%;left:125%;top:15px}.cd-timeline-block:nth-child(even) .cd-timeline-content{float:right}.cd-timeline-block:nth-child(even) .cd-timeline-content::before{top:12px;left:auto;right:100%;border-color:transparent}.cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date{left:auto;right:125%;text-align:right}.cssanimations .cd-timeline-content.is-hidden{visibility:hidden}.cssanimations .cd-timeline-content.bounce-in{visibility:visible;animation:te-slide-in-left .6s}.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in{animation:te-slide-in-right .6s}}body.single-te_announcements .timeline-express-content-area{width:100%}body.single-te_announcements .timeline-express-main{max-width:960px}body.single-te_announcements .announcement-banner-image{width:auto}body.single-te_announcements .timeline-express-single-page-announcement-date{display:block;margin:.5em 0;font-style:italic}body.single-te_announcements .timeline-express-single-page-content{margin:.5em 0 1em}body.single-te_announcements nav.navigation.post-navigation{display:none}body.single-te_announcements .content-area.twentyfifteen article.te_announcements .entry-header h1{margin-top:0}
lib/public/js/min/timeline-express.min.js CHANGED
@@ -2,7 +2,7 @@
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
- * @Version 1.5.0
6
- * @Build 07-25-2017
7
  */
8
  jQuery(document).ready(function(){jQuery("html").addClass("cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions");var a=jQuery(".cd-timeline-block");a.each(function(){timeline_express_data.animation_disabled||jQuery(this).offset().top>jQuery(window).scrollTop()+.75*jQuery(window).height()&&jQuery(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")}),timeline_express_data.animation_disabled||jQuery(window).on("scroll",function(){a.each(function(){jQuery(this).offset().top<=jQuery(window).scrollTop()+.75*jQuery(window).height()&&jQuery(this).find(".cd-timeline-img").hasClass("is-hidden")&&jQuery(this).find(".cd-timeline-img, .cd-timeline-content").removeClass("is-hidden").addClass("bounce-in")})})});
2
  * @Plugin Timeline Express
3
  * @Author Code Parrots
4
  * @Site https://www.wp-timelineexpress.com
5
+ * @Version 1.5.1
6
+ * @Build 07-27-2017
7
  */
8
  jQuery(document).ready(function(){jQuery("html").addClass("cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions");var a=jQuery(".cd-timeline-block");a.each(function(){timeline_express_data.animation_disabled||jQuery(this).offset().top>jQuery(window).scrollTop()+.75*jQuery(window).height()&&jQuery(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")}),timeline_express_data.animation_disabled||jQuery(window).on("scroll",function(){a.each(function(){jQuery(this).offset().top<=jQuery(window).scrollTop()+.75*jQuery(window).height()&&jQuery(this).find(".cd-timeline-img").hasClass("is-hidden")&&jQuery(this).find(".cd-timeline-img, .cd-timeline-content").removeClass("is-hidden").addClass("bounce-in")})})});
lib/public/partials/timeline-express-page-wrappers-end.php CHANGED
@@ -24,7 +24,6 @@ $template = get_option( 'template' );
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
27
-
28
  echo '</div>';
29
 
30
  get_sidebar( 'shop' );
@@ -34,19 +33,16 @@ switch ( $template ) {
34
  break;
35
 
36
  case 'twentytwelve' :
37
-
38
  echo '</div></div>';
39
 
40
  break;
41
 
42
  case 'twentythirteen' :
43
-
44
  echo '</div></div>';
45
 
46
  break;
47
 
48
  case 'twentyfourteen' :
49
-
50
  echo '</div></div></div>';
51
 
52
  get_sidebar( 'content' );
@@ -54,25 +50,21 @@ switch ( $template ) {
54
  break;
55
 
56
  case 'twentyfifteen' :
57
-
58
  echo '</div></div>';
59
 
60
  break;
61
 
62
  case 'twentysixteen' :
63
-
64
  echo '</main></div>';
65
 
66
  break;
67
 
68
  case 'twentyseventeen' :
69
-
70
  echo '</main></div></div>';
71
 
72
  break;
73
 
74
- default :
75
-
76
  /**
77
  * @action timeline_express_page_wrapper_end
78
  *
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
 
27
  echo '</div>';
28
 
29
  get_sidebar( 'shop' );
33
  break;
34
 
35
  case 'twentytwelve' :
 
36
  echo '</div></div>';
37
 
38
  break;
39
 
40
  case 'twentythirteen' :
 
41
  echo '</div></div>';
42
 
43
  break;
44
 
45
  case 'twentyfourteen' :
 
46
  echo '</div></div></div>';
47
 
48
  get_sidebar( 'content' );
50
  break;
51
 
52
  case 'twentyfifteen' :
 
53
  echo '</div></div>';
54
 
55
  break;
56
 
57
  case 'twentysixteen' :
 
58
  echo '</main></div>';
59
 
60
  break;
61
 
62
  case 'twentyseventeen' :
 
63
  echo '</main></div></div>';
64
 
65
  break;
66
 
67
+ default:
 
68
  /**
69
  * @action timeline_express_page_wrapper_end
70
  *
lib/public/partials/timeline-express-page-wrappers-start.php CHANGED
@@ -24,31 +24,26 @@ $template = get_option( 'template' );
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
27
-
28
  echo '<div id="primary"><div id="content" role="main" class="twentyeleven">';
29
 
30
  break;
31
 
32
  case 'twentytwelve' :
33
-
34
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="twentytwelve">';
35
 
36
  break;
37
 
38
  case 'twentythirteen' :
39
-
40
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
41
 
42
  break;
43
 
44
  case 'twentyfourteen' :
45
-
46
  echo '<div id="primary" class="content-area"><div id="content" role="main" class="site-content twentyfourteen"><div class="tfwc entry-content">';
47
 
48
  break;
49
 
50
  case 'twentyfifteen' :
51
-
52
  add_action( 'timeline_express_before_announcement_content', 'timeline_express_twenty_fifteen_top_container' );
53
  add_action( 'timeline_express_after_announcement_content', 'timeline_express_twenty_fifteen_bottom_container' );
54
 
@@ -57,19 +52,16 @@ switch ( $template ) {
57
  break;
58
 
59
  case 'twentysixteen' :
60
-
61
  echo '<div id="primary" class="content-area twentysixteen"><main id="main" class="site-main" role="main">';
62
 
63
  break;
64
 
65
  case 'twentyseventeen' :
66
-
67
  echo '<div class="wrap"><div id="primary" class="content-area"><main id="main" class="site-main" role="main">';
68
 
69
  break;
70
 
71
- default :
72
-
73
  /**
74
  * @action timeline_express_page_wrapper_start
75
  *
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
 
27
  echo '<div id="primary"><div id="content" role="main" class="twentyeleven">';
28
 
29
  break;
30
 
31
  case 'twentytwelve' :
 
32
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="twentytwelve">';
33
 
34
  break;
35
 
36
  case 'twentythirteen' :
 
37
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
38
 
39
  break;
40
 
41
  case 'twentyfourteen' :
 
42
  echo '<div id="primary" class="content-area"><div id="content" role="main" class="site-content twentyfourteen"><div class="tfwc entry-content">';
43
 
44
  break;
45
 
46
  case 'twentyfifteen' :
 
47
  add_action( 'timeline_express_before_announcement_content', 'timeline_express_twenty_fifteen_top_container' );
48
  add_action( 'timeline_express_after_announcement_content', 'timeline_express_twenty_fifteen_bottom_container' );
49
 
52
  break;
53
 
54
  case 'twentysixteen' :
 
55
  echo '<div id="primary" class="content-area twentysixteen"><main id="main" class="site-main" role="main">';
56
 
57
  break;
58
 
59
  case 'twentyseventeen' :
 
60
  echo '<div class="wrap"><div id="primary" class="content-area"><main id="main" class="site-main" role="main">';
61
 
62
  break;
63
 
64
+ default:
 
65
  /**
66
  * @action timeline_express_page_wrapper_start
67
  *
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: codeparrots, eherman24
3
  Tags: timeline, responsive, time, line, vertical, animated, company, history, font awesome, events, calendar, scroll, dates, story, timeline express, milestone, stories
4
  Requires at least: 4.0
5
  Tested up to: 4.8
6
- Stable tag: 1.5.0
7
  License: GPLv2 or later
8
 
9
  Timeline Express creates a beautiful vertical animated and responsive timeline of posts, in chronological order.
@@ -371,6 +371,10 @@ The above example will load font awesome version 4.4.0 instead of the current st
371
 
372
  == Changelog ==
373
 
 
 
 
 
374
  = 1.5.0 - July, 2017 =
375
  - New: Introduced the new menu icon, to unify branding between free/pro/website.
376
  - Tweak: Removed old date field.
@@ -784,9 +788,6 @@ The above example will load font awesome version 4.4.0 instead of the current st
784
 
785
  == Upgrade Notice ==
786
 
787
- = 1.5.0 - July, 2017 =
788
- - New: Introduced the new menu icon, to unify branding between free/pro/website.
789
- - Tweak: Removed old date field.
790
- - Tweak: Updated jQuery UI to PHP date format conversions.
791
- - Tweak: Refactored get_announcement_image() REST function, causing issues for some.
792
- - Tweak: Updated the 'Announcement Image' field label to 'Announcement Banner'.
3
  Tags: timeline, responsive, time, line, vertical, animated, company, history, font awesome, events, calendar, scroll, dates, story, timeline express, milestone, stories
4
  Requires at least: 4.0
5
  Tested up to: 4.8
6
+ Stable tag: 1.5.1
7
  License: GPLv2 or later
8
 
9
  Timeline Express creates a beautiful vertical animated and responsive timeline of posts, in chronological order.
371
 
372
  == Changelog ==
373
 
374
+ = 1.5.1 - July, 2017 =
375
+ - Tweak: Remove shorthand array syntax [] to maintain backwards compatibility with PHP < 5.6.
376
+ - Tweak: Updated regex when generating icons. Props @tkchouaki
377
+
378
  = 1.5.0 - July, 2017 =
379
  - New: Introduced the new menu icon, to unify branding between free/pro/website.
380
  - Tweak: Removed old date field.
788
 
789
  == Upgrade Notice ==
790
 
791
+ = 1.5.1 - July, 2017 =
792
+ - Tweak: Remove shorthand array syntax [] to maintain backwards compatibility with PHP < 5.6.
793
+ - Tweak: Updated regex when generating icons. Props @tkchouaki
 
 
 
templates/timeline-express-page-wrappers-end.php CHANGED
@@ -24,7 +24,6 @@ $template = get_option( 'template' );
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
27
-
28
  echo '</div>';
29
 
30
  get_sidebar( 'shop' );
@@ -34,19 +33,16 @@ switch ( $template ) {
34
  break;
35
 
36
  case 'twentytwelve' :
37
-
38
  echo '</div></div>';
39
 
40
  break;
41
 
42
  case 'twentythirteen' :
43
-
44
  echo '</div></div>';
45
 
46
  break;
47
 
48
  case 'twentyfourteen' :
49
-
50
  echo '</div></div></div>';
51
 
52
  get_sidebar( 'content' );
@@ -54,25 +50,21 @@ switch ( $template ) {
54
  break;
55
 
56
  case 'twentyfifteen' :
57
-
58
  echo '</div></div>';
59
 
60
  break;
61
 
62
  case 'twentysixteen' :
63
-
64
  echo '</main></div>';
65
 
66
  break;
67
 
68
  case 'twentyseventeen' :
69
-
70
  echo '</main></div></div>';
71
 
72
  break;
73
 
74
- default :
75
-
76
  /**
77
  * @action timeline_express_page_wrapper_end
78
  *
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
 
27
  echo '</div>';
28
 
29
  get_sidebar( 'shop' );
33
  break;
34
 
35
  case 'twentytwelve' :
 
36
  echo '</div></div>';
37
 
38
  break;
39
 
40
  case 'twentythirteen' :
 
41
  echo '</div></div>';
42
 
43
  break;
44
 
45
  case 'twentyfourteen' :
 
46
  echo '</div></div></div>';
47
 
48
  get_sidebar( 'content' );
50
  break;
51
 
52
  case 'twentyfifteen' :
 
53
  echo '</div></div>';
54
 
55
  break;
56
 
57
  case 'twentysixteen' :
 
58
  echo '</main></div>';
59
 
60
  break;
61
 
62
  case 'twentyseventeen' :
 
63
  echo '</main></div></div>';
64
 
65
  break;
66
 
67
+ default:
 
68
  /**
69
  * @action timeline_express_page_wrapper_end
70
  *
templates/timeline-express-page-wrappers-start.php CHANGED
@@ -24,31 +24,26 @@ $template = get_option( 'template' );
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
27
-
28
  echo '<div id="primary"><div id="content" role="main" class="twentyeleven">';
29
 
30
  break;
31
 
32
  case 'twentytwelve' :
33
-
34
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="twentytwelve">';
35
 
36
  break;
37
 
38
  case 'twentythirteen' :
39
-
40
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
41
 
42
  break;
43
 
44
  case 'twentyfourteen' :
45
-
46
  echo '<div id="primary" class="content-area"><div id="content" role="main" class="site-content twentyfourteen"><div class="tfwc entry-content">';
47
 
48
  break;
49
 
50
  case 'twentyfifteen' :
51
-
52
  add_action( 'timeline_express_before_announcement_content', 'timeline_express_twenty_fifteen_top_container' );
53
  add_action( 'timeline_express_after_announcement_content', 'timeline_express_twenty_fifteen_bottom_container' );
54
 
@@ -57,19 +52,16 @@ switch ( $template ) {
57
  break;
58
 
59
  case 'twentysixteen' :
60
-
61
  echo '<div id="primary" class="content-area twentysixteen"><main id="main" class="site-main" role="main">';
62
 
63
  break;
64
 
65
  case 'twentyseventeen' :
66
-
67
  echo '<div class="wrap"><div id="primary" class="content-area"><main id="main" class="site-main" role="main">';
68
 
69
  break;
70
 
71
- default :
72
-
73
  /**
74
  * @action timeline_express_page_wrapper_start
75
  *
24
  switch ( $template ) {
25
 
26
  case 'twentyeleven' :
 
27
  echo '<div id="primary"><div id="content" role="main" class="twentyeleven">';
28
 
29
  break;
30
 
31
  case 'twentytwelve' :
 
32
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="twentytwelve">';
33
 
34
  break;
35
 
36
  case 'twentythirteen' :
 
37
  echo '<div id="primary" class="site-content"><div id="content" role="main" class="entry-content twentythirteen">';
38
 
39
  break;
40
 
41
  case 'twentyfourteen' :
 
42
  echo '<div id="primary" class="content-area"><div id="content" role="main" class="site-content twentyfourteen"><div class="tfwc entry-content">';
43
 
44
  break;
45
 
46
  case 'twentyfifteen' :
 
47
  add_action( 'timeline_express_before_announcement_content', 'timeline_express_twenty_fifteen_top_container' );
48
  add_action( 'timeline_express_after_announcement_content', 'timeline_express_twenty_fifteen_bottom_container' );
49
 
52
  break;
53
 
54
  case 'twentysixteen' :
 
55
  echo '<div id="primary" class="content-area twentysixteen"><main id="main" class="site-main" role="main">';
56
 
57
  break;
58
 
59
  case 'twentyseventeen' :
 
60
  echo '<div class="wrap"><div id="primary" class="content-area"><main id="main" class="site-main" role="main">';
61
 
62
  break;
63
 
64
+ default:
 
65
  /**
66
  * @action timeline_express_page_wrapper_start
67
  *
timeline-express.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Timeline Express
5
  Plugin URI: https://www.wp-timelineexpress.com
6
  Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
7
- Version: 1.5.0
8
  Author: Code Parrots
9
  Text Domain: timeline-express
10
  Author URI: http://www.codeparrots.com
@@ -53,7 +53,8 @@ require_once plugin_dir_path( __FILE__ ) . 'lib/classes/class-timeline-express.p
53
  $timeline_express_base = new TimelineExpressBase();
54
 
55
  /* Activation Hook */
56
- register_activation_hook( __FILE__,
 
57
  array(
58
  $timeline_express_base,
59
  'timeline_express_activate',
@@ -61,7 +62,8 @@ register_activation_hook( __FILE__,
61
  );
62
 
63
  /* Deactivation Hook */
64
- register_deactivation_hook( __FILE__,
 
65
  array(
66
  $timeline_express_base,
67
  'timeline_express_deactivate',
4
  Plugin Name: Timeline Express
5
  Plugin URI: https://www.wp-timelineexpress.com
6
  Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
7
+ Version: 1.5.1
8
  Author: Code Parrots
9
  Text Domain: timeline-express
10
  Author URI: http://www.codeparrots.com
53
  $timeline_express_base = new TimelineExpressBase();
54
 
55
  /* Activation Hook */
56
+ register_activation_hook(
57
+ __FILE__,
58
  array(
59
  $timeline_express_base,
60
  'timeline_express_activate',
62
  );
63
 
64
  /* Deactivation Hook */
65
+ register_deactivation_hook(
66
+ __FILE__,
67
  array(
68
  $timeline_express_base,
69
  'timeline_express_deactivate',