Container schema and timeline container schema not working
-
Hi! In the admin section, I had troubles with the container schema, item schema, timeline container schema and timeline item schema fields. When I fill the four fields and I save the changes, the content of the container schema field repeats into the timeline container schema field, and the content of the item schema field repeats into the timeline item schema field.
Apparently, it is needed to create in the event-post/inc/settings.php file the following lines (after line 97):
if (!isset($ep_settings['timeline_container_shema']) ) { $ep_settings['timeline_container_shema'] = ''; $reg_settings=true; } if (!isset($ep_settings['timeline_item_shema']) ) { $ep_settings['timeline_item_shema'] = ''; $reg_settings=true; }
Also, in line 328 it is needed to correct the add_settings_field(‘timeline_container_shema’,…) and add_settings_field(‘timeline_item_shema’,…) calls, replacing “array( ‘name’ => ‘container_shema'” to ‘timeline_container_shema’ and “array( ‘name’ => ‘time_shema'” to ‘timeline_item_shema’.
- The topic ‘Container schema and timeline container schema not working’ is closed to new replies.