Compatibility with Enhanced Media Library
-
Hello,
A user of my plugin Enhanced Media Library asked about compatibility with your plugin. To make it happen it needs a minor change described here.
The line 518 in this case should looks like this:
extract(shortcode_atts(array( 'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' => $post->ID, 'itemtag' => $html5 ? 'figure' : 'dl', 'icontag' => $html5 ? 'div' : 'dt', 'captiontag' => $html5 ? 'figcaption' : 'dd', 'columns' => $columns, 'size' => $size, 'include' => '', 'exclude' => '', 'lightboxsize' => $lightboxsize, 'meta' => 'false', 'class' => 'gallery1', 'nofollow' => false, 'from' => '', 'num' => '', 'page' => $page, 'before' => '<div class="gallery_pagenavi">' . __('Pages:'), 'after' => '</div>', 'link_before' => '', 'link_after' => '', 'next_or_number' => 'number', 'nextpagelink' => __('Next page'), 'previouspagelink' => __('Previous page'), 'pagelink' => '%', 'pagenavi' => 1 ), $attr, 'gallery' ));
Thanks!
-Nadia
- The topic ‘Compatibility with Enhanced Media Library’ is closed to new replies.