Redsuns Timeline
, (*1)
Welcome, this is a plugin that provides management for Timeline items. It uses the TimelineJS from KnightLab but all maintence of events on timeline are easilly configurable in WordPress admin panel., (*2)
Requeriments
- PHP >5.3
- Wordpress >3.8
- Mysql >5
-
Advanced Custom Fields (installed and enabled)
Download and Install
Composer (Most recommended)
Just type "redsuns/redsuns-timeline" : "dev-master"
in your composer.json file., (*3)
Cloning
Just clone this repo at wp-content/plugins directory:
git clone git@github.com:redsuns/redsuns-timeline.git
, (*4)
Unzipping
You can donwload this repos as a zip file, unzip it at wp-content/plugins/ directory and rename it as redsuns-timeline., (*5)
Install
Just enter in plugins section in Wordpress Admin, find Redsuns Timeline and activate it. You are now ready to enjoy!, (*6)
Adding events on timeline
The events are simple WordPress posts. This way add some new events is just like to add a new post. Note that some fields are required., (*7)
Required Fields
- Initial Date
- Final Date
- Media Credit
- Media Alt
Note that is need to fill media info (Media Credit / Media Alt) this way stays clear that you must to provide an image or video link., (*8)
Categories
You can link your timeline posts to one or more category and group timeline preview or show all timeline posts in a single timeline., (*9)
In Timeline menu item you can find a submenu Categories where you can add which category you want. Fill up the name, the slug and description. Now you can link which timeline post you want to one or more category., (*10)
Displaying Timeline
Showing all timeline events
In a page content editor just put the shortcode [timeline]
. Thats all!, (*11)
Another way to use is calling the shortcode in a custom page template:, (*12)
echo do_shortcode('[timeline]');
, (*13)
Showing timeline events by category
In a page content editor just put the shortcode [timeline category-slug]
. Thats all!, (*14)
Another way to use is calling the shortcode in a custom page template:, (*15)
echo do_shortcode('[timeline category-slug]');
Example: [timeline career]
, (*16)
Author
Redsuns Tecnologia e Desing, (*17)
[Contributors][4]