Replace [gallery] by [slide]
-
Hello,
When you add a gallery, it automatically writes in the text field the message [gallery].
I would like to either replace [gallery] by [slide] or add a new button next to “insert gallery” that would be “insert slide”.
I’ve found the file wp-admin/includes/media.php the following code that inserts the button :
<input type=”button” class=”button” style=”display:none;” onMouseDown=”wpgallery.update();” name=”insert-gallery” id=”insert-gallery” value=”<?php esc_attr_e( ‘Insert gallery’ ); ?>” />I can add a button there, but no way to write [slide] after pressing the button.
Any help would be great!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Replace [gallery] by [slide]’ is closed to new replies.