WordPress.org

Ready to get started?Download WordPress

Forums

WP SIMILE Timeline
Custom content type for SIMILE timeline (1 post)

  1. clemsos
    Member
    Posted 3 years ago #

    I was working on some custom content types and I wanted to use the SIMILE timeline for WordPress, but I cannot get the metabox in the admin part.

    What you have to change is inside the plugin code timeline.php, line 219.

    It stills pretty much a dirty hack and it could be a good idea to implement content types further in the timeline admin area. I’ll see what I can do

    hope it helps

    LOOK FOR :

    /*
    * Custom box hook for post and page interface adds custom option box
    */

    INSIDE THE

    function addPostPanelEventDates()

    ADD THIS :

    <br />
    add_meta_box( ’stl-timeline-event-data’, __( ‘SIMILE Timeline’, ’stl_timeline’ ), array(‘WPSimileTimelineAdmin’, ‘outputCustomPostDateOptions’), ‘YOUR CUSTOM CONTENT TYPE SLUG NAME‘, ‘advanced’ );<br />

    IT WORKS !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic