History Timeline WordPress Plugin


I’m not able to maintain and develop further this plugin that still has great potential. If some one is interested in proceeding with the development I offer all my support on the old and shitty code I developed so long time ago. Just contact me if interested.


Last stable version: 7.0.2
WordPress plugin page: http://wordpress.org/extend/plugins/history-timeline/


History timeline is a WordPress plugin for displaying a history timeline based on tags.

0.7 new features

Support for before christ dates.
Build the timeline only with posts from one or more categories.
Exclude single posts or pages from the timeline.


How to install and use History Timeline

If you have never used this plugin or a previous version, extract the archive file (.zip) and upload the folder history-timeline to the wp-content/plugins of your web space. Then activate the plugin in plugin menu of admin control panel.

Copy and paste this code in your post, page or widget content.

You can also specify 3 additional parameter limit,category and exclude.
[history_timeline limit=10 category=12,45 exclude=12345,6432]
This code will limit the result to ten, fetch the posts only from the categories with id 12 and 45 and also exclude the posts with id 12345 and 6432

How to customize History Timeline

Customize options:

Go to Settings > History Timeline from within your admin panel.
Select an input date format. You must use this format when tagging your posts, otherwise, the post will not show up in the history timeline.
If there are multiple posts with the same tag, a random post will be shown. Only one post will be shown at a time.
Select an output date format. This is what will be displayed on the history timeline across the title of your post.
Select the order you want your history timeline to appear in. “Lowest to highest” will display the oldest post first.
Set a custom before and after christ suffix string.

You can edit the CSS of History Timeline here.

(Note: If the history timeline isn’t displaying properly, your theme’s CSS may be the problem. You can add inline CSS to the plugin’s history_timeline.php file to correct the issues.)


  • Pingback: Interaktive Zeitleisten selbst erstellen | benutzerfreun.de()

  • Ron Smith

    Hi, Mauro. Something is wrong with the plugin (I have version 0.7.2 showing). There is all this orphaned php code at the top of the History Timeline settings and the shortcode does bad things to the page it is on.


    ‘Y-m-d’,’regex’=>’^([0-9]{2,4})-([0-1][0-9])-([0-3][0-9])([ BC])*$’); $date_formats_list[]=$date_formats; $date_formats=array(‘date’=>’d-m-Y’,’regex’=>’^([0-3][0-9])-([0-1][0-9])-([0-9]{2,4})([ BC])*$’); $date_formats_list[]=$date_formats; $date_formats=array(‘date’=>’m-Y’,’regex’=>’^([0-1][0-9])-([0-9]{2,4})([ BC])*$’); $date_formats_list[]=$date_formats; $date_formats=array(‘date’=>’Y’,’regex’=>’^([0-9]{2,4})([ BC])*$’); $date_formats_list[]=$date_formats; $date_print_formats=array(‘Y-m-d (1985-08-06)’=> ‘Y-m-d’, ‘d-m-Y (06-08-1985)’=>’d-m-Y’, ‘m-Y (08-1985)’=>’m-Y’, ‘D d M Y (Fri 6 Aug 2010)’=>’D d M Y’, ‘d M Y (6 Aug 2010)’=>’d M Y’, ‘M Y (Aug 2010)’=>’M Y’, ‘Y/m/d (1985/08/06)’=> ‘Y/m/d’, ‘d/m/Y (06/08/1985)’=>’d/m/Y’, ‘m/Y (08/1985)’=>’m/Y’, ‘Y (1985)’=>’Y’, ‘y (85)’=>’y’,); $default_css=” #history_timeline{ width: 600px; margin: 0 auto; } #history_timeline .timeline_row{ clear: both; display:block; } #history_timeline .timeline_left{ width: 40%; float: left; text-align: right; margin-right: 10px; padding-bottom: 10px; padding-top: 10px; height: 40px; } #history_timeline .timeline_right{ width: 40%; float: left; padding-left: 10px; padding-bottom: 10px; padding-top: 10px; border-left: 1px solid #000; height: 40px; } #history_timeline .timeline_tag{ font-weight: bold; } #history_timeline .timeline_tag a{ text-decoration: none; color: #000; } #history_timeline .timeline_clear{ clear: both; display:block; } #history_timeline_widget{ width: 100%; display:block; clear: both; } #history_timeline_widget .timeline_widget_tag{ font-weight: bold; } #history_timeline_widget .timeline_widget_title a{ font-weight: normal; } “; ?>

  • fireantology

    Strange, this doesn’t seems related to the plugin. Looks more like the full code outputted out. It’s probably related to your Webserver configuration.

  • Adam Edington

    Same for me, on a localhost install. Could that be why?

  • fireantology

    Yes, can be. But for be sure, I would like to make a check.
    Can you tell me which version of WP you have in local ?

  • Chris

    Hi there, I would love to use this plugin but unfortunately I can’t get it to work. I tried this plugin with multiple themes, deactivated all other plugins, tried different codes with category and without but nothing seems to work. There is nothing showing. Like its not there at all! Can you help me? Thanks in advance!

  • Can you tell me which version of WordPress are you using ?

  • Which WordPress version are you using ?

  • Chris

    3.7.1… sorry i did not look properly at the use of this plugin. I never used tags but now I do! Are you planning on developing this plugin further in the upcoming years? Thanks for your quick response!

  • Amit

    I’m also get error on my local with latest version.

  • How you installed the plugin ? From wp repos or downloading manually ?

  • Zac Colgan

    i have the same problem

  • Can you please give me details about your WordPress version ?

  • Yes, probably 2014 will be the good year for give a boost to the plugin with some fancy js and a nice look and feel. I will do my best

  • Chris

    Great! Looking forward to the process. Do you have a list with ideas and can I share some myself?

  • Nothing really special, add post thumbnail, configure the possibilities to get all posts and not only a random one. A better look and feel with some nice js library in addition to standard html (maybe this https://github.com/NUKnightLab/TimelineJS). I will be happy to hear your ideas too.

  • Nancy Glick

    It’s working great. Is there a way to add an excerpt from the post below the title?

  • Sadly not out of the box, if you want to dig deeper in the code I can give you some hints.

  • Nancy Glick

    I’m a digger. go for it!

  • In the plugin file history_timeline.php at line 117 and 120 you have the html print with the post title, what you can do add just after this:


    Something like


    Be aware that I’m not sure if $post_t variable in the plugin has this method, if not it surely contains the post id so it’s trivial than recover the excerpt. and just add it there.

  • Nancy Glick

    ok, I added it in and my response is the addition of a ; at the end of each title. so, I think I’m close. here is a look. http://wolves2.pairsite.com/about-wolves/general-infomration/

  • 2014 is now more than half done. Any boost in site? excerpt and featured image showing would be awesome.

  • You are right, I must really work on it. But now is holiday times. You will get some news in September (not big ones) some minor features like caching, thumbnail and post list.
    For fancy js timeline, I will need more time.

  • MZH

    Users can create unlimited timeline using Post Timeline Plugin, here is the free plugin URL

    https:// https://uploads.disquscdn.com/images/bd055864f743ee68ee844ce7c84ef893ec8809cfee47f937f08064f16517c6ad.jpg wordpress.org/plugins/post-timeline