Share button
-
First of all thanks for the great plugin.
Unfortunate we’re missing the share button at the right top corner. Could you please add it to your plugin? It is easy to add by adding the following code to photo-swipe.php
Add this in <div class=”pswp__top-bar”> after <button class=”pswp__button pswp__button–close” title=”Close (Esc)”></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
Add this in <div class=”pswp__ui pswp__ui–hidden”> after <div class=”pswp__top-bar”>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> <div class="pswp__share-tooltip"></div> </div>
It would look like:
<div class="pswp__ui pswp__ui--hidden"> <div class="pswp__top-bar"> <div class="pswp__counter"></div> <button class="pswp__button pswp__button--close" title="Close (Esc)"></button> <button class="pswp__button pswp__button--share" title="Share"></button> <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button> <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button> <div class="pswp__preloader"> <div class="pswp__preloader__icn"> <div class="pswp__preloader__cut"> <div class="pswp__preloader__donut"></div> </div> </div> </div> </div> <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> <div class="pswp__share-tooltip"></div> </div> <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"> </button> <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"> </button> <div class="pswp__caption"> <div class="pswp__caption__center"></div> </div> </div>
We hope you can fix this so we keep updating the plugin in the future.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Share button’ is closed to new replies.