Version Description
- Februrary 10th, 2016 =
- Ensured that the minified version of font awesome is enqueued on the front end (v4.5.0)
- Ensured that the correct version (and fallback) of font awesome was used on both frontend and backend.
- Added RTL support.
Download this release
Release Info
Developer | eherman24 |
Plugin | Timeline Express |
Version | 1.1.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.7.9 to 1.1.8
- classes/class.timeline-express.php +12 -5
- readme.txt +10 -6
- timeline-express.php +2 -2
classes/class.timeline-express.php
CHANGED
@@ -903,11 +903,11 @@ if(!class_exists("timelineExpressBase"))
|
|
903 |
// Register Styles
|
904 |
wp_enqueue_style( 'timeline-express-css-base', TIMELINE_EXPRESS_URL . 'css/timeline-express-settings.min.css' , array(), '1.0.0', 'all');
|
905 |
// check that we can enqueue font awesome from the CDN before we do so
|
906 |
-
if( wp_remote_get( $http . '//netdna.bootstrapcdn.com/font-awesome/' . $font_awesome_version . '/css/font-awesome.css' ) ) {
|
907 |
// enqueue font awesome for use in column display
|
908 |
wp_enqueue_style( 'prefix-font-awesome' , $http . '//netdna.bootstrapcdn.com/font-awesome/' . $font_awesome_version . '/css/font-awesome.min.css' , array() , $font_awesome_version );
|
909 |
} else {
|
910 |
-
wp_enqueue_style( 'prefix-font-awesome', TIMELINE_EXPRESS_URL . 'lib/icons/css/font-awesome.css', array() , $font_awesome_version );
|
911 |
}
|
912 |
// enqueue bootstrap select/styles
|
913 |
wp_enqueue_script( 'bootstrap-select' , TIMELINE_EXPRESS_URL . 'js/bootstrap-select.js' , array( 'jquery' ) , 'all' );
|
@@ -956,10 +956,17 @@ if(!class_exists("timelineExpressBase"))
|
|
956 |
|
957 |
// add styles to the front end
|
958 |
public function addStyles_frontend() {
|
|
|
|
|
959 |
// Enqueue Styles
|
960 |
-
wp_enqueue_style( 'timeline-express-base', TIMELINE_EXPRESS_URL . 'css/timeline-express.min.css' , array() , '
|
961 |
-
//
|
962 |
-
|
|
|
|
|
|
|
|
|
|
|
963 |
}
|
964 |
|
965 |
/***** SHORTCODE
|
903 |
// Register Styles
|
904 |
wp_enqueue_style( 'timeline-express-css-base', TIMELINE_EXPRESS_URL . 'css/timeline-express-settings.min.css' , array(), '1.0.0', 'all');
|
905 |
// check that we can enqueue font awesome from the CDN before we do so
|
906 |
+
if( wp_remote_get( $http . '//netdna.bootstrapcdn.com/font-awesome/' . $font_awesome_version . '/css/font-awesome.min.css' ) ) {
|
907 |
// enqueue font awesome for use in column display
|
908 |
wp_enqueue_style( 'prefix-font-awesome' , $http . '//netdna.bootstrapcdn.com/font-awesome/' . $font_awesome_version . '/css/font-awesome.min.css' , array() , $font_awesome_version );
|
909 |
} else {
|
910 |
+
wp_enqueue_style( 'prefix-font-awesome', TIMELINE_EXPRESS_URL . 'lib/icons/css/font-awesome.min.css', array() , $font_awesome_version );
|
911 |
}
|
912 |
// enqueue bootstrap select/styles
|
913 |
wp_enqueue_script( 'bootstrap-select' , TIMELINE_EXPRESS_URL . 'js/bootstrap-select.js' , array( 'jquery' ) , 'all' );
|
956 |
|
957 |
// add styles to the front end
|
958 |
public function addStyles_frontend() {
|
959 |
+
$font_awesome_version = apply_filters( 'timeline_express_font_awesome_version', '4.5.0' );
|
960 |
+
$http = ( is_ssl() ) ? 'http:' : 'https:';
|
961 |
// Enqueue Styles
|
962 |
+
wp_enqueue_style( 'timeline-express-base', TIMELINE_EXPRESS_URL . 'css/timeline-express.min.css' , array() , 'all' );
|
963 |
+
// check if CDN is reachable, if so - get em'
|
964 |
+
if( wp_remote_get( $http . '//netdna.bootstrapcdn.com/font-awesome/' . $font_awesome_version . '/css/font-awesome.css' ) ) {
|
965 |
+
// enqueue font awesome for use in column display
|
966 |
+
wp_enqueue_style( 'prefix-font-awesome' , $http . '//netdna.bootstrapcdn.com/font-awesome/' . $font_awesome_version . '/css/font-awesome.min.css' , array(), $font_awesome_version );
|
967 |
+
} else {
|
968 |
+
wp_enqueue_style( 'prefix-font-awesome', TIMELINE_EXPRESS_URL . 'lib/icons/css/font-awesome.min.css', array(), $font_awesome_version );
|
969 |
+
}
|
970 |
}
|
971 |
|
972 |
/***** SHORTCODE
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20
|
|
4 |
Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.4.2
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
|
@@ -357,6 +357,11 @@ The above example will load font awesome version 4.4.0 instead of the current st
|
|
357 |
|
358 |
== Changelog ==
|
359 |
|
|
|
|
|
|
|
|
|
|
|
360 |
= 1.1.7.9 - February 7th, 2016 =
|
361 |
* New hooks for add-ons implemented: `timeline_express_sanitize_date_format`, `timeline_express_admin_render_date_format`, `timeline_express_admin_column_date_format`, `timeline_express_frontend_query_args`, `timeline_express_frontend_date_filter`
|
362 |
* Fix background line color options not properly updating.
|
@@ -549,8 +554,7 @@ The above example will load font awesome version 4.4.0 instead of the current st
|
|
549 |
|
550 |
== Upgrade Notice ==
|
551 |
|
552 |
-
= 1.1.
|
553 |
-
*
|
554 |
-
*
|
555 |
-
* Added
|
556 |
-
* Included a new filter allowing users to specify a font awesome version number to load from the CDN (`timeline_express_font_awesome_version` - see other notes.).
|
4 |
Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.4.2
|
7 |
+
Stable tag: 1.1.8
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Timeline express allows you to create a beautiful vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
|
357 |
|
358 |
== Changelog ==
|
359 |
|
360 |
+
= 1.1.8 - Februrary 10th, 2016 =
|
361 |
+
* Ensured that the minified version of font awesome is enqueued on the front end (v4.5.0)
|
362 |
+
* Ensured that the correct version (and fallback) of font awesome was used on both frontend and backend.
|
363 |
+
* Added RTL support.
|
364 |
+
|
365 |
= 1.1.7.9 - February 7th, 2016 =
|
366 |
* New hooks for add-ons implemented: `timeline_express_sanitize_date_format`, `timeline_express_admin_render_date_format`, `timeline_express_admin_column_date_format`, `timeline_express_frontend_query_args`, `timeline_express_frontend_date_filter`
|
367 |
* Fix background line color options not properly updating.
|
554 |
|
555 |
== Upgrade Notice ==
|
556 |
|
557 |
+
= 1.1.8 - Februrary 10th, 2016 =
|
558 |
+
* Ensured that the minified version of font awesome is enqueued on the front end (v4.5.0)
|
559 |
+
* Ensured that the correct version (and fallback) of font awesome was used on both frontend and backend.
|
560 |
+
* Added RTL support.
|
|
timeline-express.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Timeline Express
|
5 |
Plugin URI: http://www.evan-herman.com
|
6 |
Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
|
7 |
-
Version: 1.1.
|
8 |
Author: Evan Herman
|
9 |
Author URI: http://www.evan-herman.com
|
10 |
License: GPL2
|
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
28 |
#_________________________________________________ CONSTANTS
|
29 |
|
30 |
/** Configuration **/
|
31 |
-
if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.
|
32 |
if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
|
33 |
if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
|
34 |
if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
|
4 |
Plugin Name: Timeline Express
|
5 |
Plugin URI: http://www.evan-herman.com
|
6 |
Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
|
7 |
+
Version: 1.1.8
|
8 |
Author: Evan Herman
|
9 |
Author URI: http://www.evan-herman.com
|
10 |
License: GPL2
|
28 |
#_________________________________________________ CONSTANTS
|
29 |
|
30 |
/** Configuration **/
|
31 |
+
if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.1.8');
|
32 |
if(!defined('TIMELINE_EXPRESS_PATH')) define('TIMELINE_EXPRESS_PATH', plugin_dir_path( __FILE__ ));
|
33 |
if(!defined('TIMELINE_EXPRESS_URL')) define('TIMELINE_EXPRESS_URL', plugins_url('timeline-express/'));
|
34 |
if(!defined('TIMELINE_EXPRESS_URL_WP')) define('TIMELINE_EXPRESS_URL_WP', get_bloginfo('url'));
|