Follow

Can I use TimelineJS with WordPress?

It depends. TimelineJS does not work with WordPress.com sites. We are researching ways to address this.

By default, self-hosted WordPress strips `iframe` tags from HTML created by some user roles, but not by others. People should generally install the plugin.

If you are able to install plugins to your Wordpress installation, we have a WordPress plugin for Timeline. It supports embedding Timelines with WordPress "shortcode", and as of version 3.3.14.0, it also has experimental "oembed" support. That means that you can take a direct URL to a timeline (like you get with the "get link to preview" button) and put it in a post on a line by itself, and it should be embedded. (Make sure you've updated the plugin before you try it.)

If you want to see the WordPress plugin in action, it is installed on `knightlab.northwestern.edu`

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

3 Comments

  • 0
    Avatar
    Dragana

    I put <iframe></iframe> from "step4" at WordPress 4.8.1 post (text tab) and everything is ok for now.

  • 0
    Avatar
    Nicki Hambleton

    I would be ever so grateful if you could give me a step by step as I cannot get this to work, please? I do not follow the instructions above re the shortcode. Thank you.

  • 0
    Avatar
    Dragana

    In WP, just create new page and at text tab put code <iframe></iframe> with URL of yours timeline. Look at the picture below.



Please sign in to leave a comment.
Powered by Zendesk