Version Description
- Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
Download this release
Release Info
| Developer | eherman24 |
| Plugin | |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0 to 1.0.1
- README.md +5 -2
- classes/class.timeline-express.php +5 -5
- js/script.timeline-express.js +4 -1
- js/script.timeline-express.min.js +1 -1
- readme.txt +6 -3
- timeline-express.php +2 -2
README.md
CHANGED
|
@@ -89,10 +89,13 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
|
|
| 89 |
|
| 90 |
|
| 91 |
### Changelog
|
| 92 |
-
###### 1.0.
|
|
|
|
|
|
|
|
|
|
| 93 |
* Initial Release to the wordpress respository
|
| 94 |
|
| 95 |
### Upgrade Notice
|
| 96 |
|
| 97 |
-
###### 1.0
|
| 98 |
* Initial Release to the wordpress respository
|
| 89 |
|
| 90 |
|
| 91 |
### Changelog
|
| 92 |
+
###### 1.0.1
|
| 93 |
+
* Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
|
| 94 |
+
|
| 95 |
+
###### 1.0
|
| 96 |
* Initial Release to the wordpress respository
|
| 97 |
|
| 98 |
### Upgrade Notice
|
| 99 |
|
| 100 |
+
###### 1.0
|
| 101 |
* Initial Release to the wordpress respository
|
classes/class.timeline-express.php
CHANGED
|
@@ -144,8 +144,8 @@ if(!class_exists("timelineExpressBase"))
|
|
| 144 |
// Register Announcement Custom Post Type
|
| 145 |
public function timeline_express_generate_announcement_post_type() {
|
| 146 |
|
| 147 |
-
// Register our
|
| 148 |
-
// used to easily manage the
|
| 149 |
$timeline_express_labels = array(
|
| 150 |
'name' => 'Timeline Express',
|
| 151 |
'singular_name' => 'Announcement', // menu item at the top New > Announcement
|
|
@@ -157,9 +157,9 @@ if(!class_exists("timelineExpressBase"))
|
|
| 157 |
'add_new' => 'New Announcement',
|
| 158 |
'edit_item' => 'Edit Announcement',
|
| 159 |
'update_item' => 'Update Announcement',
|
| 160 |
-
'search_items' => 'Search
|
| 161 |
'not_found' => 'No Timeline Express Announcements Found',
|
| 162 |
-
'not_found_in_trash' => 'No
|
| 163 |
);
|
| 164 |
$timeline_express_rewrite = array(
|
| 165 |
'slug' => 'announcement',
|
|
@@ -169,7 +169,7 @@ if(!class_exists("timelineExpressBase"))
|
|
| 169 |
);
|
| 170 |
$timeline_express_args = array(
|
| 171 |
'label' => 'timeline-express-announcement',
|
| 172 |
-
'description' => 'Post type for adding
|
| 173 |
'labels' => $timeline_express_labels,
|
| 174 |
'supports' => array( 'title', 'editor' ),
|
| 175 |
'taxonomies' => array(),
|
| 144 |
// Register Announcement Custom Post Type
|
| 145 |
public function timeline_express_generate_announcement_post_type() {
|
| 146 |
|
| 147 |
+
// Register our Announcement Custom Post Type
|
| 148 |
+
// used to easily manage the announcements on the site
|
| 149 |
$timeline_express_labels = array(
|
| 150 |
'name' => 'Timeline Express',
|
| 151 |
'singular_name' => 'Announcement', // menu item at the top New > Announcement
|
| 157 |
'add_new' => 'New Announcement',
|
| 158 |
'edit_item' => 'Edit Announcement',
|
| 159 |
'update_item' => 'Update Announcement',
|
| 160 |
+
'search_items' => 'Search Announcements',
|
| 161 |
'not_found' => 'No Timeline Express Announcements Found',
|
| 162 |
+
'not_found_in_trash' => 'No Timeline Express Announcements in Trash',
|
| 163 |
);
|
| 164 |
$timeline_express_rewrite = array(
|
| 165 |
'slug' => 'announcement',
|
| 169 |
);
|
| 170 |
$timeline_express_args = array(
|
| 171 |
'label' => 'timeline-express-announcement',
|
| 172 |
+
'description' => 'Post type for adding timeline express announcements to the site',
|
| 173 |
'labels' => $timeline_express_labels,
|
| 174 |
'supports' => array( 'title', 'editor' ),
|
| 175 |
'taxonomies' => array(),
|
js/script.timeline-express.js
CHANGED
|
@@ -27,7 +27,10 @@ jQuery(document).ready(function(){
|
|
| 27 |
});
|
| 28 |
});
|
| 29 |
|
| 30 |
-
jQuery( '#cd-timeline' )
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
var entry_content_width = jQuery( '#cd-timeline' ).parents('div').css('width');
|
| 33 |
var width = jQuery(window).width() + parseInt(17);
|
| 27 |
});
|
| 28 |
});
|
| 29 |
|
| 30 |
+
var $masonryContainer = jQuery( '#cd-timeline' );
|
| 31 |
+
$masonryContainer.imagesLoaded( function() {
|
| 32 |
+
$masonryContainer.masonry({itemSelector : '.cd-timeline-block',});
|
| 33 |
+
});
|
| 34 |
|
| 35 |
var entry_content_width = jQuery( '#cd-timeline' ).parents('div').css('width');
|
| 36 |
var width = jQuery(window).width() + parseInt(17);
|
js/script.timeline-express.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
/* Timeline Express by Evan Herman - http://www.Evan-Herman.com */
|
| 2 |
-
jQuery(document).ready(function(){jQuery("html").addClass("cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions");var e=jQuery(".cd-timeline-block");e.each(function(){if(jQuery(this).offset().top>jQuery(window).scrollTop()+jQuery(window).height()*.75){jQuery(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")}});jQuery(window).on("scroll",function(){e.each(function(){if(jQuery(this).offset().top<=jQuery(window).scrollTop()+jQuery(window).height()*.75&&jQuery(this).find(".cd-timeline-img").hasClass("is-hidden")){jQuery(this).find(".cd-timeline-img, .cd-timeline-content").removeClass("is-hidden").addClass("bounce-in")}})});jQuery("#cd-timeline").masonry({itemSelector:".cd-timeline-block"});var
|
| 1 |
/* Timeline Express by Evan Herman - http://www.Evan-Herman.com */
|
| 2 |
+
jQuery(document).ready(function(){jQuery("html").addClass("cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions");var e=jQuery(".cd-timeline-block");e.each(function(){if(jQuery(this).offset().top>jQuery(window).scrollTop()+jQuery(window).height()*.75){jQuery(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")}});jQuery(window).on("scroll",function(){e.each(function(){if(jQuery(this).offset().top<=jQuery(window).scrollTop()+jQuery(window).height()*.75&&jQuery(this).find(".cd-timeline-img").hasClass("is-hidden")){jQuery(this).find(".cd-timeline-img, .cd-timeline-content").removeClass("is-hidden").addClass("bounce-in")}})});var t=jQuery("#cd-timeline");t.imagesLoaded(function(){t.masonry({itemSelector:".cd-timeline-block"})});var n=jQuery("#cd-timeline").parents("div").css("width");var r=jQuery(window).width()+parseInt(17);var i=jQuery(".cd-timeline-content").css("width");if(r<=822&&n.replace("px","")<="475"&&n.replace("px","")<="800"){jQuery(".cd-timeline-content").removeClass("timeline-width34")}else if(r>=822&&n.replace("px","")>="475"&&n.replace("px","")<="800"){jQuery(".cd-timeline-content").addClass("timeline-width34")}if(r<=822&&n.replace("px","")<="475"){jQuery(".cd-timeline-content").removeClass("timeline-width30")}else if(r>=822&&n.replace("px","")<="475"){jQuery(".cd-timeline-content").addClass("timeline-width30")}if(i.replace("px","")<262){jQuery(".cd-timeline-content").find(".timeline-date").addClass("timeline-date-left")}jQuery(window).resize(function(){var e=jQuery(window).width()+parseInt(17);var t=jQuery("#cd-timeline").parents("div").css("width");var n=jQuery(".cd-timeline-content").css("width");if(e>="822"&&t.replace("px","")<="475"){jQuery(".cd-timeline-content").addClass("timeline-width30")}if(e>="822"&&n.replace("px","")<262){jQuery(".cd-timeline-content").find(".timeline-date").addClass("timeline-date-left")}else{jQuery(".cd-timeline-content").find(".timeline-date").removeClass("timeline-date-left")}if(e<"822"){jQuery("#cd-timeline").masonry("reload");jQuery(".cd-timeline-content").removeClass("timeline-width30").removeClass("timeline-width34")}})})
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20
|
|
| 4 |
Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.0
|
| 7 |
-
Stable tag: 1.0
|
| 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!
|
|
@@ -105,10 +105,13 @@ Have an idea for a future release feature? I love hearing about new ideas! You c
|
|
| 105 |
5. Timeline Express full settings page
|
| 106 |
|
| 107 |
== Changelog ==
|
| 108 |
-
= 1.0.
|
|
|
|
|
|
|
|
|
|
| 109 |
* Initial Release to the wordpress respository
|
| 110 |
|
| 111 |
== Upgrade Notice ==
|
| 112 |
|
| 113 |
-
= 1.0
|
| 114 |
* Initial Release to the wordpress respository
|
| 4 |
Tags: vertical, timeline, animated, css3, animations, evan, herman, evan herman, easy, time, line, font awesome, font, awesome, announcements, notifications, simple, events, calendar, scroll, triggered, scrolling, animated, fade, in, fade in
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.0
|
| 7 |
+
Stable tag: 1.0.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!
|
| 105 |
5. Timeline Express full settings page
|
| 106 |
|
| 107 |
== Changelog ==
|
| 108 |
+
= 1.0.1 =
|
| 109 |
+
* Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
|
| 110 |
+
|
| 111 |
+
= 1.0 =
|
| 112 |
* Initial Release to the wordpress respository
|
| 113 |
|
| 114 |
== Upgrade Notice ==
|
| 115 |
|
| 116 |
+
= 1.0 =
|
| 117 |
* Initial Release to the wordpress respository
|
timeline-express.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Plugin Name: Timeline Express
|
| 5 |
Plugin URI: http://www.evan-herman.com
|
| 6 |
Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
|
| 7 |
-
Version: 1.0
|
| 8 |
Author: Evan Herman
|
| 9 |
Author URI: http://www.evan-herman.com
|
| 10 |
License: GPL2
|
|
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
| 29 |
|
| 30 |
/** Configuration **/
|
| 31 |
if(!defined('TIMELINE_EXPRESS_DEBUG')) define('TIMELINE_EXPRESS_DEBUG', false);
|
| 32 |
-
if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.0');
|
| 33 |
if(!defined('TIMELINE_EXPRESS_REQ_PHP')) define('TIMELINE_EXPRESS_REQ_PHP', '5.0');
|
| 34 |
if(!defined('TIMELINE_EXPRESS_AUTHOR')) define('TIMELINE_EXPRESS_AUTHOR', 'Evan Herman');
|
| 35 |
if(!defined('TIMELINE_EXPRESS_SITE')) define('TIMELINE_EXPRESS_SITE', site_url().'/');
|
| 4 |
Plugin Name: Timeline Express
|
| 5 |
Plugin URI: http://www.evan-herman.com
|
| 6 |
Description: Create a beautiful vertical, CSS3 animated and responsive timeline in minutes flat without writing code.
|
| 7 |
+
Version: 1.0.1
|
| 8 |
Author: Evan Herman
|
| 9 |
Author URI: http://www.evan-herman.com
|
| 10 |
License: GPL2
|
| 29 |
|
| 30 |
/** Configuration **/
|
| 31 |
if(!defined('TIMELINE_EXPRESS_DEBUG')) define('TIMELINE_EXPRESS_DEBUG', false);
|
| 32 |
+
if(!defined('TIMELINE_EXPRESS_VERSION_CURRENT')) define('TIMELINE_EXPRESS_VERSION_CURRENT', '1.0.1');
|
| 33 |
if(!defined('TIMELINE_EXPRESS_REQ_PHP')) define('TIMELINE_EXPRESS_REQ_PHP', '5.0');
|
| 34 |
if(!defined('TIMELINE_EXPRESS_AUTHOR')) define('TIMELINE_EXPRESS_AUTHOR', 'Evan Herman');
|
| 35 |
if(!defined('TIMELINE_EXPRESS_SITE')) define('TIMELINE_EXPRESS_SITE', site_url().'/');
|
