Thanks for the nice feedback.
The problem with having media is that you need to make sure that it’ll fit your layout. Most people don’t think about that and expect the plugin to somehow magically know what they want to do with the images so that the layout isn’t messed up when they are too tall or wide or both to fit. Since it isn’t possible to guess what they are trying to do and it makes people mad when it’s wrong I removed the media button to have an easier life.
This plugin is really designed to handle short text items only. It’s not a good choice for images, video or full articles – better to just link to those instead.
If you’d like to try it and have the media button back you can change line 368 of ‘this-day-in-history.php’ from
<?php wp_editor('', 'event_name_v', array('media_buttons' => false, 'textarea_rows' => 3)); ?>
to
<?php wp_editor('', 'event_name_v', array('textarea_rows' => 3)); ?>
and then make the same change on line 157 of tdih-list-table.class.php
to make it show when editing, changing it from
<?php wp_editor($event->event_name, 'event_name_v', array('media_buttons' => false, 'textarea_rows' => 3)); ?>
to
<?php wp_editor($event->event_name, 'event_name_v', 'textarea_rows' => 3)); ?>
You’ll need to reapply this change for each new version of the plugin.
-
This reply was modified 6 years, 11 months ago by
Anonymous User 393930.
-
This reply was modified 6 years, 11 months ago by
Jan Dembowski.