[Plugin: WP SIMILE Timeline] Custom content type for SIMILE timeline
-
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 !
- The topic ‘[Plugin: WP SIMILE Timeline] Custom content type for SIMILE timeline’ is closed to new replies.