Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="my_meta_control">
- <p><a style="float:right; margin:0 10px;" href="#" class="dodelete-images button">Remove All Additional Images</a></p>
- <p>Add additional images by clicking the Upload Image button.</p>
- <?php $options = array( 'length' => 3, 'limit' => 99 ); ?>
- <?php while( $mb->have_fields_and_multi( 'images', $options ) ): ?>
- <?php $mb->the_group_open(); ?>
- <?php $mb->the_field('imageurl'); ?>
- <label>Image URL</label>
- <?php $wpalchemy_media_access->setInsertButtonLabel( 'Insert Image' )->setTab( 'type' ); ?>
- <p>
- <?php echo $wpalchemy_media_access->getField( array( 'name' => $mb->get_the_name(), 'value' => $mb->get_the_value() ) ); ?>
- <?php echo $wpalchemy_media_access->getButton( array( 'label' => 'Insert Image' ) ); ?>
- <a href="#" class="dodelete button">Remove Image</a>
- </p>
- <?php $mb->the_group_close(); ?>
- <?php endwhile; ?>
- <p style="margin-bottom:15px; padding-top:5px;"><a href="#" class="docopy-images button">Add Another Image</a></p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement