Version Description
- May 5th, 2015 =
- Fixed incorrect version of font awesome enqueued on front end
Download this release
Release Info
Developer | eherman24 |
Plugin | Timeline Express |
Version | 1.1.6.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.6.7 to 1.1.6.8
- README.md +0 -432
- classes/class.timeline-express.php +1 -1
- readme.txt +15 -4
- timeline-express.php +3 -3
README.md
DELETED
@@ -1,432 +0,0 @@
|
|
1 |
-
Timeline Express v1.1.6.7
|
2 |
-
================
|
3 |
-
|
4 |
-
Timeline express allows you to create a vertical animated and responsive timeline of posts , without writing a single line of code. Sweet!
|
5 |
-
|
6 |
-
**Features**
|
7 |
-
|
8 |
-
* Load a custom template for single announcements
|
9 |
-
* Localized date formatting for international users
|
10 |
-
* Hundreds of Font awesome icons included. Specify a different icon for each announcement
|
11 |
-
* CSS3 animations on scroll
|
12 |
-
* Set the color of the announcement
|
13 |
-
* Specify the length to trim each announcemnt, or randomize it!
|
14 |
-
* Hide the date of the announcement
|
15 |
-
* Hide the 'read more' button for each announcement
|
16 |
-
* Specify an image to display for each announcement
|
17 |
-
* Delete announcements on uninstallation (so no orphan posts are hanging around in your database)
|
18 |
-
* Easy to use shortcode to place the timeline wherever your heart desires ( `[timeline-express]` )
|
19 |
-
* TinyMCE button to generate the shortcode
|
20 |
-
* Specify Ascending vs Descending display order
|
21 |
-
* Highly extensible
|
22 |
-
* Translatable
|
23 |
-
|
24 |
-
**Translated**
|
25 |
-
|
26 |
-
Timeline express comes ready for translation. I would love to get things translated into as many languages as possible. At the moment the following translations are available for Timeline Express :
|
27 |
-
|
28 |
-
* English
|
29 |
-
* Chinese (zh_CN) - thanks goes to <a href="http://www.vahichen.com" target="_blank">Vahi Chen</a>
|
30 |
-
* Portuguese (pt_BR) - thanks goes to <a href="http://toborino.com" target="_blank">Gustavo Magalhães</a>
|
31 |
-
* Polish (pl_PL) - thanks goes to Kanios
|
32 |
-
* Dutch (nl_NL) - thanks goes to <a href="http://www.kasteelschaesberg.info/wpress/" target="_blank">Kees Hessels</a>
|
33 |
-
* German (de_DE) - thanks goes to <a href="http://www.fairsoft.koeln" target="_blank">Martin Gerlach</a>
|
34 |
-
* French (fr_FR) - thanks goes to Julien Lambert
|
35 |
-
|
36 |
-
<em>We're always looking for polyglots to help with the translations. If you enjoy this plugin, speak multiple languages and want to contribute please <a href="http://www.evan-herman.com/contact/" target="_blank">contact me</a> about how you can help translate things so users around the world can benefit from this plugin.</em>
|
37 |
-
|
38 |
-
**Hooks + Filters**
|
39 |
-
|
40 |
-
**Use Custom Images Instead of Font Awesome Icons (New v1.1.6.7)**
|
41 |
-
|
42 |
-
Users can now use the custom announcement image in place of the font awesome icons by using the following filter. Props to Pete Nelson for the pull request in making this possible
|
43 |
-
|
44 |
-
timeline-express-custom-icon-html
|
45 |
-
|
46 |
-
Example: https://gist.github.com/EvanHerman/6bbc8de82f34b4cb3c5c
|
47 |
-
|
48 |
-
**Use Alternate Image Size For Announcements (New v1.1.5.5)**
|
49 |
-
|
50 |
-
By default Timeline Express generates a custom image size to use within the timeline. If you would like to use another image size, you can use the following filter.
|
51 |
-
|
52 |
-
Example:
|
53 |
-
```<php>
|
54 |
-
function change_timeline_express_announcement_image_size( $image_size ) {
|
55 |
-
$image_size = 'full';
|
56 |
-
return $image_size;
|
57 |
-
}
|
58 |
-
add_filter( 'timeline-express-announcement-img-size' , 'change_timeline_express_announcement_image_size' );
|
59 |
-
```
|
60 |
-
|
61 |
-
**Define your own custom fields to use in Announcement posts (New v1.1.5)**
|
62 |
-
|
63 |
-
Users can now add custom fields to Timeline Express announcement posts. This allows for greater control over the announcements and the front end display. Using this hook in conjunction with a custom single announcement template will give you the greatest control.
|
64 |
-
|
65 |
-
Example:
|
66 |
-
```<php>
|
67 |
-
function add_custom_timeline_express_field( $custom_fields ) {
|
68 |
-
$custom_fields = array(
|
69 |
-
array(
|
70 |
-
'name' => __( 'Example Text Field', 'timeline-express' ),
|
71 |
-
'desc' => __( 'this is an example user defined text field.', 'timeline-express' ),
|
72 |
-
'id' => 'announcement_user_defined_text',
|
73 |
-
'type' => 'text_medium',
|
74 |
-
),
|
75 |
-
array(
|
76 |
-
'name' => __( 'Example WYSIWYG', 'timeline-express' ),
|
77 |
-
'desc' => __( 'this is an example wysiwyg field.', 'timeline-express' ),
|
78 |
-
'id' => 'announcement_user_defined_wysiwyg',
|
79 |
-
'type' => 'wysiwyg',
|
80 |
-
),
|
81 |
-
array(
|
82 |
-
'name' => __( 'Example Email Field', 'timeline-express' ),
|
83 |
-
'desc' => __( 'this is an example user defined email field.', 'timeline-express' ),
|
84 |
-
'id' => 'announcement_user_defined_money',
|
85 |
-
'type' => 'text_email',
|
86 |
-
)
|
87 |
-
);
|
88 |
-
return $custom_fields;
|
89 |
-
}
|
90 |
-
add_filter( 'timeline_express_custom_fields' , 'add_custom_timeline_express_field' );
|
91 |
-
```
|
92 |
-
|
93 |
-
This example would add 3 new fields below the 'Announcement Image' field on the announcement post.
|
94 |
-
|
95 |
-
The first field is a simple text field. The second field is an example WYSIWYG, and the third is an email field.
|
96 |
-
|
97 |
-
Note: You can add as many fields as you would like, and display them on the front end using the <a href="http://codex.wordpress.org/Function_Reference/get_post_meta" target="_blank" title="WordPress Codex: get_post_meta()">get_post_meta()</a> function.
|
98 |
-
|
99 |
-
**Customize the 'announcement' slug (New v1.1.4)**
|
100 |
-
|
101 |
-
Users can now define their own slug for announcement posts using the provided filter `'timeline-express-slug'`. This alters the URL structure of the announcement, possibly for SEO purposes. You would enter the following code into your active themes functions.php file.
|
102 |
-
|
103 |
-
After you enter the code into the functions.php file, you'll want to refresh your permalinks. You can do so by going to 'Settings > Permalinks' and simply clicking save. That will prevent the 404 page you may see upon altering the slug.
|
104 |
-
|
105 |
-
Example:
|
106 |
-
```<php>
|
107 |
-
// alter '/announcement/' to be '/event/'
|
108 |
-
function timeline_express_change_announcement_slug( $slug ) {
|
109 |
-
$slug = 'event';
|
110 |
-
return $slug;
|
111 |
-
}
|
112 |
-
add_filter('timeline-express-slug', 'timeline_express_change_announcement_slug' );
|
113 |
-
```
|
114 |
-
|
115 |
-
This example would change the default `/announcement/` slug, to `/event/`.
|
116 |
-
|
117 |
-
*Alter the 'Read More' button text (New v1.1.3.2)**
|
118 |
-
|
119 |
-
Users can now alter the 'Read More' button text using the provided gettext filter and the 'timeline-express' text domain.
|
120 |
-
|
121 |
-
Example:
|
122 |
-
```<php>
|
123 |
-
// alter 'Read more' to say 'View Announcement'
|
124 |
-
function timeline_express_change_readmore_text( $translated_text, $untranslated_text, $domain ) {
|
125 |
-
switch( $untranslated_text ) {
|
126 |
-
case 'Read more':
|
127 |
-
$translated_text = __( 'View Announcement','timeline-express' );
|
128 |
-
break;
|
129 |
-
}
|
130 |
-
return $translated_text;
|
131 |
-
}
|
132 |
-
add_filter('gettext', 'timeline_express_change_readmore_text', 20, 3);
|
133 |
-
```
|
134 |
-
|
135 |
-
This example would alter 'Read more' to say 'View Announcement'.
|
136 |
-
|
137 |
-
**Add custom classes to the 'Read More' button (New v1.1.3.1)**
|
138 |
-
|
139 |
-
Users can now add custom classes to the 'Read More' announcement button. This allows for greater control in fitting the Timeline into your currently active theme.
|
140 |
-
|
141 |
-
Parameters :
|
142 |
-
|
143 |
-
$button_classes = default button classes assigned to the 'Read More' button
|
144 |
-
|
145 |
-
Example:
|
146 |
-
```<php>
|
147 |
-
// add a custom class to the timeline express readmore link
|
148 |
-
function timeline_express_custom_readmore_class( $button_classes ) {
|
149 |
-
return $button_classes . 'custom-class-name';
|
150 |
-
}
|
151 |
-
add_filter( 'timeline-express-read-more-class' , 'timeline_express_custom_readmore_class' );
|
152 |
-
```
|
153 |
-
|
154 |
-
This example would print the following 'Read More' button HTML onto the page :
|
155 |
-
|
156 |
-
`<a href="http://site.com/link-to-announcement" class="cd-read-more btn btn-primary custom-class-name">Read more</a>`
|
157 |
-
|
158 |
-
**Setup a custom date format for front end display (New v1.0.9)**
|
159 |
-
|
160 |
-
New in version 1.0.9 is the localization of dates on the front end. The date format is now controlled by your date settings inside of 'General > Settings'.
|
161 |
-
|
162 |
-
If, for one reason or another, you'd like to specify a different date format than provided by WordPress core you can use the provided filter `timeline_express_custom_date_format`.
|
163 |
-
|
164 |
-
The one parameter you need to pass into your function is $date_format, which is (as it sounds) the format of the date.
|
165 |
-
|
166 |
-
Some formatting examples:
|
167 |
-
|
168 |
-
* `m.d.Y` - 11.19.2014
|
169 |
-
* `d-m-y` - 11-19-14
|
170 |
-
* `d M y` - 19 Nov 2014
|
171 |
-
* `D j/n/Y` - Wed 11/19/2014
|
172 |
-
* `l jS \of\ F` - Wednesday 19th of November
|
173 |
-
|
174 |
-
Example:
|
175 |
-
```<php>
|
176 |
-
function custom_te_date_format( $date_format ) {
|
177 |
-
$date_format = "M d , Y"; // will print the date as Nov 19 , 2014
|
178 |
-
return $date_format;
|
179 |
-
}
|
180 |
-
add_filter( 'timeline_express_custom_date_format' , 'custom_te_date_format' , 10 );
|
181 |
-
```
|
182 |
-
|
183 |
-
* d - Numeric representation of a day, with leading zeros 01 through 31.
|
184 |
-
* m - Numeric representation of a month, with leading zeros 01 through 12.
|
185 |
-
* y - Numeric representation of a year, two digits.
|
186 |
-
|
187 |
-
* D - Textual representation of a day, three letters Mon through Sun.
|
188 |
-
* j - Numeric representation of a day, without leading zeros 1 through 31.
|
189 |
-
* n - Numeric representation of a month, without leading zeros 1 through 12.
|
190 |
-
* Y - Numeric representation of a year, four digits.
|
191 |
-
|
192 |
-
* S - English ordinal suffix for the day of the month. Consist of 2 characters st, nd, rd or th.
|
193 |
-
* F - Textual representation of a month, January through December.
|
194 |
-
|
195 |
-
* M - Textual representation of a month, three letters Jan through Dec.
|
196 |
-
|
197 |
-
|
198 |
-
<em>[view more date formatting parameters](http://php.net/manual/en/function.date.php)</em>
|
199 |
-
|
200 |
-
|
201 |
-
**Load Your Own Single Announcement Template File (New v1.0.8)**
|
202 |
-
|
203 |
-
By default all single announcements will try and load a single.php template file. If that can't be found, we've done our best to implement a template for you. If your unhappy with the template file we've provided you have two options. Your first option is to copy over the single-announcement-template directory contained within the plugin into your active themes root. This will trigger the plugin to load that file instead. You can then customize this file to your hearts content without fear of losing any of your changes in the next update.
|
204 |
-
|
205 |
-
Your next option is to use our new filter for loading your own custom template file. If for whatever reason you've designed or developed your own single.php file which you would rather use, or you just want to use your themes page.php template instead, you can use the provided filter to change the loaded template. Here is an example ( you want to drop this code into your active theme's functions.php file ) :
|
206 |
-
|
207 |
-
Example:
|
208 |
-
```<php>
|
209 |
-
// By default Timeline Express uses single.php for announcements
|
210 |
-
// you can load page.php instead
|
211 |
-
// just change page.php to whatever your template file is named
|
212 |
-
// keep in mind, this is looking in your active themes root for the template
|
213 |
-
function custom_timeline_express_template_file( $template_file ) {
|
214 |
-
$template_file = 'page.php';
|
215 |
-
return $template_file;
|
216 |
-
}
|
217 |
-
add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_template_file' , 10 );
|
218 |
-
```
|
219 |
-
|
220 |
-
<br />
|
221 |
-
<br />
|
222 |
-
<strong>While the plugins I develop are free, maintaining and supporting them is hard work. If you find this plugin useful, or it helps in anyway, please consider making a <a href="http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work">donation</a> for its continued development.</strong>
|
223 |
-
|
224 |
-
|
225 |
-
### Installation
|
226 |
-
|
227 |
-
1. Download the plugin .zip file
|
228 |
-
2. Log in to yourdomain.com/wp-admin
|
229 |
-
3. Click Plugins -> Add New -> Upload
|
230 |
-
4. Activate the plugin
|
231 |
-
6. On the left hand menu, hover over 'Timeline Express' and click 'New Announcement'
|
232 |
-
7. Begin populating the timeline with events. (Note: Events will appear in chronological order according to the <strong>announcement date</strong>)
|
233 |
-
8. Once you have populated the timeline, head over to the settings page (Settings > Timeline Express) to customize your timeline.
|
234 |
-
9. Create a new page, and enter the shortcode [timeline-express] to display the vertical timeline (Note: Timeline Express displays best on full width pages)
|
235 |
-
|
236 |
-
### Frequently Asked Questions
|
237 |
-
|
238 |
-
###### How do I use this plugin?
|
239 |
-
Begin by simply installing the plugin. Once the plugin has been installed, go ahead and begin creating announcement posts. You'll find a new menu item just below 'Posts'.
|
240 |
-
After you have a substantial number of announcements set up, you're ready to display the timeline on the front end of your site.
|
241 |
-
|
242 |
-
Timeline express displays best on full width pages, but is not limited to them. Create a new page, and drop the shortcode into the page - `[timeline-express]`.
|
243 |
-
Publish your page, and view it on the front end the see your new super sweet timeline! (scroll for animation effects!)
|
244 |
-
|
245 |
-
###### What template is the single announcement post using? Can I customize it at all? I want to do x, y or z.
|
246 |
-
The single announcement post is using a custom template file that comes pre-bundled with the plugin. If you want to customize the template for whatever reason
|
247 |
-
you can do so, by creating a directory in your active theme called 'timeline-express'. Once the directory is created, simply copy the file titled 'single-timeline-express-announcement.php' into
|
248 |
-
the newly created 'timeline-express' directory in your theme. Timeline express will then automagically pull in the newly created template in your theme root. You can go ahead and customize
|
249 |
-
it to your hearts desire without fear of losing any changes in future updates!
|
250 |
-
|
251 |
-
###### Can I create more than one timeline?
|
252 |
-
At the moment no, but I will consider adding that into a futre update if people show enough interest.
|
253 |
-
|
254 |
-
###### At what width are the breakpoints set?
|
255 |
-
Breakpoints are set at 822px. The timeline will shift/re-adjust automatically using masonry based on the height of each announcement container.
|
256 |
-
|
257 |
-
###### How can I translate this plugin?
|
258 |
-
The text-domain for all gettext functions is `timeline-express`.
|
259 |
-
|
260 |
-
If you enjoy this plugin and want to contribute, I'm always looking for people to help translate the plugin into any of the following languages, credit will be given where credit is due :
|
261 |
-
|
262 |
-
* Arabic
|
263 |
-
* English
|
264 |
-
* Greek
|
265 |
-
* Hebrew
|
266 |
-
* Hindi
|
267 |
-
* Hong Kong
|
268 |
-
* Italian
|
269 |
-
* Japanese
|
270 |
-
* Korean
|
271 |
-
* Persian
|
272 |
-
* Portuguese (European)
|
273 |
-
* Romanian
|
274 |
-
* Russian
|
275 |
-
* Spanish
|
276 |
-
* Swedish
|
277 |
-
* Taiwanese
|
278 |
-
* Tamil
|
279 |
-
* Urdu
|
280 |
-
* Vietnamese
|
281 |
-
* Welsh
|
282 |
-
|
283 |
-
Read the Codex article "[I18n for WordPress Developers]"(http://codex.wordpress.org/I18n_for_WordPress_Developers) for more information.
|
284 |
-
|
285 |
-
### Future Ideas
|
286 |
-
|
287 |
-
Have an idea for a future release feature? I love hearing about new ideas! You can get in contact with me through the contact form on my website, <a href="http://www.evan-herman.com/contact/" target="_blank">Evan-Herman.com</a>.
|
288 |
-
|
289 |
-
|
290 |
-
### Changelog
|
291 |
-
|
292 |
-
###### 1.1.6.5 - March 31st, 2015
|
293 |
-
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
294 |
-
* Enhancement: Added `is_ssl()` check to determine if font awesome should be loaded over https or not.
|
295 |
-
* Fixed: Fixed WP_Response error when font-awesome icons are unavailable using `wp_remote_get();`
|
296 |
-
|
297 |
-
###### 1.1.6.4 - March 23rd, 2015
|
298 |
-
* Enhancement: Packaged French translation - thanks goes to Julien Lambert
|
299 |
-
* Enhancement: Fixed a few typos in the plugin
|
300 |
-
|
301 |
-
###### 1.1.6.3 - March 22nd, 2015
|
302 |
-
* Enhancement: Added wp_error class to catch errors thrown by `wp_remote_get()` when building the bootstrap dropdown.
|
303 |
-
|
304 |
-
###### 1.1.6.2 - March 18th, 2015
|
305 |
-
* Enhancement: Removed `add_option();` call which was breaking previously stored options on activation
|
306 |
-
|
307 |
-
###### 1.1.6.1 - March 10th, 2015
|
308 |
-
* Enhancement: Altered new option label to be 'Exclude Announcements from Site Searches' (settings were reversed (true excluded while false included) )
|
309 |
-
|
310 |
-
###### 1.1.6 - March 9th, 2015
|
311 |
-
* Enhancement: Fixed 404 issue on announcement posts when 'Include Announcement in Site Searches' was set to 'false'.
|
312 |
-
|
313 |
-
###### 1.1.5.9 - March 6th, 2015
|
314 |
-
* Enhancement: Added a priority to the metabox initialization, which caused conflicts with other plugins using the same class
|
315 |
-
|
316 |
-
###### 1.1.5.8 - March 5th, 2015
|
317 |
-
* Enhancement: Upgraded font-awesome to 4.3.0
|
318 |
-
* Enhancement: Added icon select dropdown on the settings page, to better mirror the post/page edit screens
|
319 |
-
* Enhancement: Added new setting to toggle Timeline posts from appearing in search queries on the front end (defaults to true)
|
320 |
-
* Enhancement: Packaged German translation - thanks to <a href="http://www.fairsoft.koeln" target="_blank">Martin Gerlach</a>
|
321 |
-
|
322 |
-
###### 1.1.5.7 - February 5th, 2015
|
323 |
-
* Message From The Author: Sorry for multiple updates on the same day. I was feeling ambitious and rolled out one patch to fix an issue and another with some new features. Enjoy :)
|
324 |
-
* Enhancement: Added a dropdown to select the font awesome icon
|
325 |
-
* Enhancement: Fadded in the timeline after everything has initialized, to prevent seeing a messed up Timeline layout
|
326 |
-
|
327 |
-
###### 1.1.5.6 - February 5th, 2015
|
328 |
-
* Fixed: Issue with the excerpt being truncated and throwing off entire timeline layout (issue occured when truncate happened mid html tag , which left a tag open)
|
329 |
-
* Fixed: Wrapped missing text in text domain
|
330 |
-
|
331 |
-
###### 1.1.5.5 - February 1st, 2015
|
332 |
-
* Fixed: Wrapped admin column headers in get text filter
|
333 |
-
* Fixed: Sort orders by announcement date
|
334 |
-
* Enhancement: Added filter to define custom image size for announcement image
|
335 |
-
|
336 |
-
###### 1.1.5.4 - January 19th, 2015
|
337 |
-
* Fixed: Remove unnecessary filter in the main class file
|
338 |
-
|
339 |
-
###### 1.1.5.3 - January 16th, 2015
|
340 |
-
* Fixed: Fixed incorrect date save format
|
341 |
-
|
342 |
-
###### 1.1.5.2 - January 10th, 2015
|
343 |
-
Fixed: Errors thrown from new user fields hook, when no custom fields are defined by the user
|
344 |
-
Fixed: Incorrect date format for new announcements
|
345 |
-
|
346 |
-
###### 1.1.5.1 - January 10th, 2015
|
347 |
-
* Fixed: Data saving incorrectly to the database, causing errors to be thrown on front and back end
|
348 |
-
|
349 |
-
###### 1.1.5 - January 10th, 2015
|
350 |
-
* Enhancement: Added new filter ( `timeline_express_custom_fields` ) which allows users to define their own custom fields to use on Timeline Announcement posts (see readme for example).
|
351 |
-
* Fixed: CMB class file causing conflicts with other plugins, and removed the old version
|
352 |
-
* Fixed: Adjusted a few styles on the announcement post page
|
353 |
-
|
354 |
-
###### 1.1.4.1 - January 2nd, 2015
|
355 |
-
* Fixed: Issue with date storing different on backend vs front end
|
356 |
-
* Fixed: Settings link on the Timeline Express welcome page
|
357 |
-
|
358 |
-
###### 1.1.4 - December 24th, 2014
|
359 |
-
* Enhancement: Implemented premium support licensing. Any issues that require immediate response, or custom code should purchase a support license.
|
360 |
-
* Enhancement: Moved settings/support below Timeline Express parent menu item
|
361 |
-
* Fixed: Errors thrown when announcement images aren't set
|
362 |
-
* Fixed: Display error where announcements displayed a different date on the backend vs frontend
|
363 |
-
* Enhancement: Added a new filter to customize the announcement slug (possibly for SEO purposes) (timeline-express-slug , check documentation for examples)
|
364 |
-
|
365 |
-
###### 1.1.3.2 - December 11th, 2014
|
366 |
-
* Enhancement: Added Dutch language translation (nl_NL) - thanks goes to <a href="http://www.kasteelschaesberg.info/wpress/" target="_blank">Kees Hessels</a>
|
367 |
-
* Fixed: A few typos throughout the plugin
|
368 |
-
|
369 |
-
###### 1.1.3.1 - December 10th, 2014
|
370 |
-
* Enhancement: Added new filter `timeline-express-read-more-class` which allows users to add custom classes to the 'Read More' button
|
371 |
-
* Enhancement: Wrapped 'Read More' in gettext filter, to allow for text to be altered
|
372 |
-
|
373 |
-
###### 1.1.3 - December 6th, 2014
|
374 |
-
* Fixed: Weird query issue with timeline announcements not displaying at proper times
|
375 |
-
* Fixed: Styling issue with announcement date picker calendar arrow
|
376 |
-
* Fixed: Removed all line-breaks and hyphens from the timeline titles
|
377 |
-
|
378 |
-
###### 1.1.2 - December 5th, 2014
|
379 |
-
* Fixed: Minor styling issues with announcement images extending outside the announcement container (added new class to the image .announcement-banner-image)
|
380 |
-
|
381 |
-
###### 1.1.1 - December 4th, 2014
|
382 |
-
* Fixed: Minor styling issues with the mobile timeline icon size/margins
|
383 |
-
* Fixed: Minor styling issues with the mobile timeline announcement arrow appearing 1px to soon
|
384 |
-
* Fixed: Typo of 'Timeline Express' in the admin settings menu
|
385 |
-
|
386 |
-
###### 1.1 - December 3rd, 2014
|
387 |
-
* Fixed: Fixed styles when timeline is inside posts (fixed icon size, duplicate images)
|
388 |
-
* Fixed: Fixed a few enqueue functions
|
389 |
-
* Enhancement: Polish language translation now included (pl_PL) - thanks goes to Kanios
|
390 |
-
* Enhancement: Enqueued new styles on single announcement posts to style the announcement pages a bit better
|
391 |
-
* Enhancement: Added new custom image size, to unify announcement images on the timeline ('timeline-express')
|
392 |
-
* Enhancement: Added new function `timeline_express_get_image_id()` to get attachment image IDs by URL
|
393 |
-
* Enhancement: Stripped out a lot of un-needed code
|
394 |
-
|
395 |
-
###### 1.0.9 - November 19th, 2014
|
396 |
-
* Updated: Localized date format displayed on the front end as requested by our international users ( format now takes on what you have in 'General > Settings' )
|
397 |
-
* Updated: Fixed styling issue on date picker arrows
|
398 |
-
* Feature: Added new filter to allow users to specify a custom date format (`timeline_express_custom_date_format`)
|
399 |
-
|
400 |
-
###### 1.0.8 - November 17th, 2014
|
401 |
-
* Feature: Added a new filter to allow users to load custom template files
|
402 |
-
* Feature: Added auto update feature for Timeline Express
|
403 |
-
* Updated: Single announcement template file, which was causing issues for some users on specific themes
|
404 |
-
* Fixed: Issue where links in the excerpt and 'read more' links couldn't be clicked due to overlapping masonry elements
|
405 |
-
* Fixed: Missing image on welcome page
|
406 |
-
* Fixed: Minor issues on welcome page including some links
|
407 |
-
|
408 |
-
###### 1.0.7 - November 13th, 2014
|
409 |
-
* Enhancement: Portuguese language translation now included (pt_BR) - thanks goes to <a href="http://toborino.com" target="_blank">Gustavo Magalhães</a>
|
410 |
-
|
411 |
-
###### 1.0.6
|
412 |
-
* Repaired fatal error thrown on activation for sites running older versions of PHP
|
413 |
-
|
414 |
-
###### 1.0.5
|
415 |
-
* Change priority argument on register post type function, which caused conflicts with other custom post types on certain sites
|
416 |
-
|
417 |
-
###### 1.0.4
|
418 |
-
* Chinese language translation now included (zh_CN) - thanks goes to <a href="http://www.vahichen.com" target="_blank">Vahi Chen</a>
|
419 |
-
* Removed title and content style declarations for font-size and font-family styles
|
420 |
-
|
421 |
-
###### 1.0.3
|
422 |
-
* Included new function to retain formatting in the announcement excerpt in the timeline (te_wp_trim_words_retain_formatting())
|
423 |
-
|
424 |
-
###### 1.0.2
|
425 |
-
* Add display order setting to specify ascending or descending order of announcements in the timeline
|
426 |
-
* Fixed "cannot access settings page" when clicking on the settings tab when on the settings page already
|
427 |
-
|
428 |
-
###### 1.0.1
|
429 |
-
* Update masonry function to include .imagesLoaded(); to prevent overlapping containers in the timeline
|
430 |
-
|
431 |
-
###### 1.0
|
432 |
-
* Initial Release to the WordPress repository
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/class.timeline-express.php
CHANGED
@@ -933,7 +933,7 @@ if(!class_exists("timelineExpressBase"))
|
|
933 |
// Enqueue Styles
|
934 |
wp_enqueue_style( 'timeline-express-base', TIMELINE_EXPRESS_URL . 'css/timeline-express.min.css' , array() , '' , 'all' );
|
935 |
// enqueue font awesome for use in the timeline
|
936 |
-
wp_enqueue_style( 'prefix-font-awesome' , '//netdna.bootstrapcdn.com/font-awesome/4.
|
937 |
}
|
938 |
|
939 |
/***** SHORTCODE
|
933 |
// Enqueue Styles
|
934 |
wp_enqueue_style( 'timeline-express-base', TIMELINE_EXPRESS_URL . 'css/timeline-express.min.css' , array() , '' , 'all' );
|
935 |
// enqueue font awesome for use in the timeline
|
936 |
+
wp_enqueue_style( 'prefix-font-awesome' , '//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' , array() , '4.3.0' );
|
937 |
}
|
938 |
|
939 |
/***** SHORTCODE
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: eherman24
|
|
3 |
Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work
|
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.2
|
7 |
-
Stable tag: 1.1.6.
|
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!
|
@@ -154,7 +154,7 @@ Users can now use the custom announcement image in place of the font awesome ico
|
|
154 |
|
155 |
Filter - timeline-express-custom-icon-html
|
156 |
|
157 |
-
Example: https://gist.github.com/EvanHerman/6bbc8de82f34b4cb3c5c
|
158 |
|
159 |
**Use Alternate Image Size For Announcements (New v1.1.5.5)**
|
160 |
|
@@ -338,9 +338,11 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
|
|
338 |
|
339 |
== Changelog ==
|
340 |
|
|
|
|
|
|
|
341 |
= 1.1.6.7 - May 4th, 2015 =
|
342 |
* Added new filter to allow for custom images to be used in place of font awesome icons (Props Pete Nelson)
|
343 |
-
* Added
|
344 |
|
345 |
= 1.1.6.6 - April 1st, 2015 =
|
346 |
* Enhancement: reverted to older styles (v1.1.6.4 stylesheet)
|
@@ -487,6 +489,15 @@ add_filter( 'timeline_express_custom_template' , 'custom_timeline_express_templa
|
|
487 |
|
488 |
== Upgrade Notice ==
|
489 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
= 1.1.6.5 - March 31st, 2015 =
|
491 |
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
492 |
|
3 |
Donate link: http://www.evan-herman.com/contact/?contact-reason=I%20want%20to%20make%20a%20donation%20for%20all%20your%20hard%20work
|
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.2.2
|
7 |
+
Stable tag: 1.1.6.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!
|
154 |
|
155 |
Filter - timeline-express-custom-icon-html
|
156 |
|
157 |
+
Usage Example: https://gist.github.com/EvanHerman/6bbc8de82f34b4cb3c5c
|
158 |
|
159 |
**Use Alternate Image Size For Announcements (New v1.1.5.5)**
|
160 |
|
338 |
|
339 |
== Changelog ==
|
340 |
|
341 |
+
= 1.1.6.8 - May 5th, 2015 =
|
342 |
+
* Fixed incorrect version of font awesome enqueued on front end
|
343 |
+
|
344 |
= 1.1.6.7 - May 4th, 2015 =
|
345 |
* Added new filter to allow for custom images to be used in place of font awesome icons (Props Pete Nelson)
|
|
|
346 |
|
347 |
= 1.1.6.6 - April 1st, 2015 =
|
348 |
* Enhancement: reverted to older styles (v1.1.6.4 stylesheet)
|
489 |
|
490 |
== Upgrade Notice ==
|
491 |
|
492 |
+
= 1.1.6.8 - May 5th, 2015 =
|
493 |
+
* Fixed incorrect version of font awesome enqueued on front end
|
494 |
+
|
495 |
+
= 1.1.6.7 - May 4th, 2015 =
|
496 |
+
* Added new filter to allow for custom images to be used in place of font awesome icons (Props Pete Nelson)
|
497 |
+
|
498 |
+
= 1.1.6.6 - April 1st, 2015 =
|
499 |
+
* Enhancement: reverted to older styles (v1.1.6.4 stylesheet)
|
500 |
+
|
501 |
= 1.1.6.5 - March 31st, 2015 =
|
502 |
* Enhancement: re-wrote part of the CSS file, to allow for native masonry layouts (uniform spacing between containers)
|
503 |
|
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.6.
|
8 |
Author: Evan Herman
|
9 |
Author URI: http://www.evan-herman.com
|
10 |
License: GPL2
|
@@ -28,14 +28,14 @@ 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.6.
|
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'));
|
35 |
if(!defined('TIMELINE_EXPRESS_URL_WP_ADM')) define('TIMELINE_EXPRESS_URL_WP_ADM', TIMELINE_EXPRESS_URL_WP.'/wp-admin/');
|
36 |
|
37 |
/* Define Support Constants */
|
38 |
-
if(!defined('EH_DEV_SHOP_URL')) define( 'EH_DEV_SHOP_URL', '
|
39 |
if(!defined('EH_DEV_SHOP_SUPPORT_PRODUCT_NAME')) define( 'EH_DEV_SHOP_SUPPORT_PRODUCT_NAME', 'timeline-express' );
|
40 |
|
41 |
/** Database Tables **/
|
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.6.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.6.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'));
|
35 |
if(!defined('TIMELINE_EXPRESS_URL_WP_ADM')) define('TIMELINE_EXPRESS_URL_WP_ADM', TIMELINE_EXPRESS_URL_WP.'/wp-admin/');
|
36 |
|
37 |
/* Define Support Constants */
|
38 |
+
if(!defined('EH_DEV_SHOP_URL')) define( 'EH_DEV_SHOP_URL', 'https://www.evan-herman.com' );
|
39 |
if(!defined('EH_DEV_SHOP_SUPPORT_PRODUCT_NAME')) define( 'EH_DEV_SHOP_SUPPORT_PRODUCT_NAME', 'timeline-express' );
|
40 |
|
41 |
/** Database Tables **/
|