Plugin Directory

Changeset 3483892


Ignore:
Timestamp:
03/16/2026 01:25:53 PM (3 weeks ago)
Author:
wpchill
Message:

Update to version 2.14.21 from GitHub

Location:
modula-best-grid-gallery
Files:
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • modula-best-grid-gallery/tags/2.14.21/Modula.php

    r3481103 r3483892  
    55* Description:              Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
    66* Author:                   WPChill
    7 * Version:                  2.14.20
     7* Version:                  2.14.21
    88* Author URI:               https://www.wpchill.com/
    99* License:                  GPLv3 or later
     
    4848 */
    4949
    50 define( 'MODULA_LITE_VERSION', '2.14.20' );
     50define( 'MODULA_LITE_VERSION', '2.14.21' );
    5151define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
    5252define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
     
    9595    }
    9696
    97     $want_pro_index = ( false !== $key_lite ) ? 1 : 0;
     97    $want_pro_index = ( false !== $key_lite ) ? $key_lite + 1 : 0;
    9898    if ( $key_pro === $want_pro_index ) {
    9999        return;
    100100    }
     101
    101102    unset( $list[ $key_pro ] );
    102103    $list = array_values( $list );
     104
     105    $key_lite_new   = ( false !== $key_lite ) ? array_search( $lite, $list, true ) : false;
     106    $want_pro_index = ( false !== $key_lite_new ) ? $key_lite_new + 1 : 0;
     107
    103108    array_splice( $list, $want_pro_index, 0, array( $pro ) );
    104109
  • modula-best-grid-gallery/tags/2.14.21/assets/css/front.css

    r3465190 r3483892  
    66).modula-gallery-initialized .modula-items .modula-item .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items .modula-item.tg-loaded .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items.justified-gallery .modula-item .modula-item-content{transform:scale(1) translate(0,0) rotate(0)!important;opacity:1}html body .modula .modula-items .modula-item img.pic,html body .modula .modula-items .modula-item picture.pic{font-size:12px;position:absolute;max-width:999em;transition:width .3s,height .3s,transform .3s linear,opacity .2s linear}html body .modula .modula-items.justified-gallery .modula-item picture.pic img{max-width:999em;height:100%}html body .modula.modula-creative-gallery .modula-items .modula-item picture.pic img{width:100%}html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{position:relative;max-width:100%;margin:0 auto}html body .modula .modula-items .modula-item.tg-loaded img.pic,html body .modula .modula-items .modula-item.tg-loaded picture.pic,html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{display:block;opacity:1}html body .modula .modula-items .modula-item img.pic.lazyload,html body .modula .modula-items .modula-item img.pic.lazyloaded,html body .modula .modula-items .modula-item picture.pic.lazyload,html body .modula .modula-items .modula-item picture.pic.lazyloaded{display:block}html body .modula .modula-items .modula-item .caption .icon{font-size:14px;position:absolute;left:50%;top:50%;margin:-12px 0 0 -8px}html body .modula .modula-items .modula-item .figc{color:#fff;text-align:center;position:absolute;left:0;width:100%;padding:0;max-width:100%}html body .modula .modula-items .hidden .figc{display:none}html body .modula .modula-items .hidden:hover .figc{display:block}html body .modula .modula-items .visible .figc{display:block}html body .modula .modula-items .always-visible .figc{display:block}html body .modula .modula-items .visible:hover .figc{display:none}html body .modula .modula-items .caption span.text{display:block;padding:10px}html body .modula .modula-items .caption span.title{font-size:14px;font-weight:700}html body .modula .jtg-social a{box-shadow:none}html body .modula .jtg-social svg{width:20px;height:16px}html body .modula .modula-items .modula-item p{margin:0;padding:0}html body .modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}html body .modula .modula-item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;padding:0;border:0;opacity:0;transition:opacity .3s}html body .modula .modula-item:hover .jtg-social a{opacity:1}html body .modula .modula-items .jtg-social{opacity:0;right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s}html body .et_pb_module_inner .modula .modula-items .jtg-social{transition:all .3s!important}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{margin-right:10px}@media all and (max-width:480px){html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social{right:0;width:100%;text-align:center}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{padding:5px}}html body .modula .modula-items .jtg-social{opacity:1}html body .modula .modula-items .jtg-social a:last-of-type{margin-right:0}html body .modula .modula-item.effect-pufrobo p.description,html body .modula-gallery .modula-item.effect-pufrobo .jtg-description{margin-bottom:2em}html body .et_pb_module_inner .modula .modula-item.effect-pufrobo .jtg-description,html body .et_pb_module_inner .modula .modula-item.effect-pufrobo p.description{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo .figc{text-align:right}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title,html body .modula .modula-item.effect-pufrobo p{position:absolute;right:5%;left:5%;padding:10px 0}html body .modula.modula-gallery-initialized .modula-item:hover img,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover img.pic,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover picture.pic{opacity:.8}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-title{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}html body .et_pb_module_inner .modula .modula-items .modula-item.effect-pufrobo .jtg-title{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo:hover .jtg-title{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-item.effect-pufrobo .jtg-title::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:"";-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title::after,html body .modula .modula-item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}html body .modula .modula-item.effect-pufrobo:hover .jtg-description,html body .modula .modula-item.effect-pufrobo:hover .jtg-title::after,html body .modula .modula-item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-items .modula-item.effect-pufrobo .figc.no-title.no-description .jtg-title:after{display:none}html body .modula .modula-items .modula-item.effect-appear .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-comodo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-crafty .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-curtain .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-fluid-up .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-hide .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-lens .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-pufrobo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-quiet .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-reflex .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-seemo .figc .jtg-title:before{display:none}html body .modula .modula-items .modula-item>a:not(.modula-no-follow){cursor:zoom-in}html body .modula .modula-items .modula-item>a.modula-no-follow{cursor:default}html body .modula-fancybox-container{z-index:99999999!important}html body .modula-fancybox-share__button--li{background:#0e76a8}html body .modula-fancybox-share__button--wa{background:#25d366}html body .modula.modula-columns .modula-item{display:flex;justify-content:center}html body .modula.modula-columns .modula-item .modula-item-content{position:relative}html body .modula.modula-columns .modula-items.grid-gallery .modula-item .modula-item-content{height:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content{width:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content img.pic,html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content picture.pic{position:absolute;top:50%;left:50%;margin:0;padding:0;border:none}html body .modula.modula-columns .modula-item.jg-filtered{display:none}html body .modula-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}html body .modula-row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}@media (min-width:576px){html body .modula-row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:768px){html body .modula-row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:992px){html body .modula-row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:1200px){html body .modula-row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}html body .modula .modula-items.grid-gallery .modula-item .figc{height:100%;top:0}html body div.modula-powered{text-align:right;font-size:14px;margin-right:5px;clear:both}html body div.modula-powered svg.modula-logo{width:14px;position:relative;top:3px}html body div.modula-powered svg.modula-logo path{color:#58ab7e!important}html body div.modula-powered svg.modula-logo{display:inline-block}.modula-gallery:not(.modula-gallery-initialized)>.modula-items{visibility:hidden}.modula-gallery.modula-gallery-initialized .modula-items .modula-item{visibility:visible}.modula-creative-commons-wrap p{margin:0}.modula-creative-commons-wrap img{height:20px;margin-right:10px}.modula-fancybox-container button.f-button.is-close-btn{display:none}.modula-best-grid-gallery .f-button:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}html body .modula-items .modula-item .jtg-social-expandable{display:none}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-desktop-collapsed.jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex;flex:0 0 16px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons:not(
    77.modula-show-socials
    8 ){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}html body .modula .figc .jtg-description,html body .modula .figc .jtg-description:has(a),html body .modula .figc .jtg-title,html body .modula .figc :not(:has(*)){position:relative;z-index:2}
     8){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}
  • modula-best-grid-gallery/tags/2.14.21/assets/css/front/modula.css

    r3465190 r3483892  
    10091009    outline-offset: -2px;
    10101010}
    1011 
    1012 /* Allows text selection for hover effects titles and captions */
    1013 html body .modula .figc *:not(:has(*)),
    1014 html body .modula .figc .jtg-description,
    1015 html body .modula .figc .jtg-title,
    1016 html body .modula .figc .jtg-description:has(a) {
    1017     position: relative;
    1018     z-index: 2;
    1019 }
  • modula-best-grid-gallery/tags/2.14.21/assets/css/front/modula.min.css

    r3465190 r3483892  
    55).modula-gallery-initialized .modula-items .modula-item .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items .modula-item.tg-loaded .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items.justified-gallery .modula-item .modula-item-content{transform:scale(1) translate(0,0) rotate(0)!important;opacity:1}html body .modula .modula-items .modula-item img.pic,html body .modula .modula-items .modula-item picture.pic{font-size:12px;position:absolute;max-width:999em;transition:width .3s,height .3s,transform .3s linear,opacity .2s linear}html body .modula .modula-items.justified-gallery .modula-item picture.pic img{max-width:999em;height:100%}html body .modula.modula-creative-gallery .modula-items .modula-item picture.pic img{width:100%}html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{position:relative;max-width:100%;margin:0 auto}html body .modula .modula-items .modula-item.tg-loaded img.pic,html body .modula .modula-items .modula-item.tg-loaded picture.pic,html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{display:block;opacity:1}html body .modula .modula-items .modula-item img.pic.lazyload,html body .modula .modula-items .modula-item img.pic.lazyloaded,html body .modula .modula-items .modula-item picture.pic.lazyload,html body .modula .modula-items .modula-item picture.pic.lazyloaded{display:block}html body .modula .modula-items .modula-item .caption .icon{font-size:14px;position:absolute;left:50%;top:50%;margin:-12px 0 0 -8px}html body .modula .modula-items .modula-item .figc{color:#fff;text-align:center;position:absolute;left:0;width:100%;padding:0;max-width:100%}html body .modula .modula-items .hidden .figc{display:none}html body .modula .modula-items .hidden:hover .figc{display:block}html body .modula .modula-items .visible .figc{display:block}html body .modula .modula-items .always-visible .figc{display:block}html body .modula .modula-items .visible:hover .figc{display:none}html body .modula .modula-items .caption span.text{display:block;padding:10px}html body .modula .modula-items .caption span.title{font-size:14px;font-weight:700}html body .modula .jtg-social a{box-shadow:none}html body .modula .jtg-social svg{width:20px;height:16px}html body .modula .modula-items .modula-item p{margin:0;padding:0}html body .modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}html body .modula .modula-item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;padding:0;border:0;opacity:0;transition:opacity .3s}html body .modula .modula-item:hover .jtg-social a{opacity:1}html body .modula .modula-items .jtg-social{opacity:0;right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s}html body .et_pb_module_inner .modula .modula-items .jtg-social{transition:all .3s!important}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{margin-right:10px}@media all and (max-width:480px){html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social{right:0;width:100%;text-align:center}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{padding:5px}}html body .modula .modula-items .jtg-social{opacity:1}html body .modula .modula-items .jtg-social a:last-of-type{margin-right:0}html body .modula .modula-item.effect-pufrobo p.description,html body .modula-gallery .modula-item.effect-pufrobo .jtg-description{margin-bottom:2em}html body .et_pb_module_inner .modula .modula-item.effect-pufrobo .jtg-description,html body .et_pb_module_inner .modula .modula-item.effect-pufrobo p.description{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo .figc{text-align:right}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title,html body .modula .modula-item.effect-pufrobo p{position:absolute;right:5%;left:5%;padding:10px 0}html body .modula.modula-gallery-initialized .modula-item:hover img,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover img.pic,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover picture.pic{opacity:.8}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-title{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}html body .et_pb_module_inner .modula .modula-items .modula-item.effect-pufrobo .jtg-title{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo:hover .jtg-title{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-item.effect-pufrobo .jtg-title::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:"";-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title::after,html body .modula .modula-item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}html body .modula .modula-item.effect-pufrobo:hover .jtg-description,html body .modula .modula-item.effect-pufrobo:hover .jtg-title::after,html body .modula .modula-item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-items .modula-item.effect-pufrobo .figc.no-title.no-description .jtg-title:after{display:none}html body .modula .modula-items .modula-item.effect-appear .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-comodo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-crafty .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-curtain .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-fluid-up .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-hide .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-lens .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-pufrobo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-quiet .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-reflex .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-seemo .figc .jtg-title:before{display:none}html body .modula .modula-items .modula-item>a:not(.modula-no-follow){cursor:zoom-in}html body .modula .modula-items .modula-item>a.modula-no-follow{cursor:default}html body .modula-fancybox-container{z-index:99999999!important}html body .modula-fancybox-share__button--li{background:#0e76a8}html body .modula-fancybox-share__button--wa{background:#25d366}html body .modula.modula-columns .modula-item{display:flex;justify-content:center}html body .modula.modula-columns .modula-item .modula-item-content{position:relative}html body .modula.modula-columns .modula-items.grid-gallery .modula-item .modula-item-content{height:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content{width:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content img.pic,html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content picture.pic{position:absolute;top:50%;left:50%;margin:0;padding:0;border:none}html body .modula.modula-columns .modula-item.jg-filtered{display:none}html body .modula-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}html body .modula-row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}@media (min-width:576px){html body .modula-row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:768px){html body .modula-row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:992px){html body .modula-row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:1200px){html body .modula-row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}html body .modula .modula-items.grid-gallery .modula-item .figc{height:100%;top:0}html body div.modula-powered{text-align:right;font-size:14px;margin-right:5px;clear:both}html body div.modula-powered svg.modula-logo{width:14px;position:relative;top:3px}html body div.modula-powered svg.modula-logo path{color:#58ab7e!important}html body div.modula-powered svg.modula-logo{display:inline-block}.modula-gallery:not(.modula-gallery-initialized)>.modula-items{visibility:hidden}.modula-gallery.modula-gallery-initialized .modula-items .modula-item{visibility:visible}.modula-creative-commons-wrap p{margin:0}.modula-creative-commons-wrap img{height:20px;margin-right:10px}.modula-fancybox-container button.f-button.is-close-btn{display:none}.modula-best-grid-gallery .f-button:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}html body .modula-items .modula-item .jtg-social-expandable{display:none}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-desktop-collapsed.jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex;flex:0 0 16px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons:not(
    66.modula-show-socials
    7 ){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}html body .modula .figc .jtg-description,html body .modula .figc .jtg-description:has(a),html body .modula .figc .jtg-title,html body .modula .figc :not(:has(*)){position:relative;z-index:2}
     7){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}
  • modula-best-grid-gallery/tags/2.14.21/assets/js/admin/wp-modula-modal.js

    r3481103 r3483892  
    423423            // Update the caption
    424424            this.item.set('description', result.caption);
    425             this.$el.find('textarea[name="description"]').val(result.caption);
     425            if ( typeof tinymce !== 'undefined' && tinymce.get('modula_gallery_description') ) {
     426                tinymce.get('modula_gallery_description').setContent(result.caption);
     427            } else {
     428                this.$el.find('textarea[name="description"]').val(result.caption);
     429            }
    426430
    427431            // Update the title
     
    472476
    473477        initEditor: function(){
    474            
    475             if ( typeof tinymce !== 'undefined' && tinymce.get('modula_gallery_description') ) {
    476                 tinymce.get('modula_gallery_description').remove();
     478
     479            if ( typeof wp.editor !== 'undefined' ) {
     480                wp.editor.remove( 'modula_gallery_description' );
     481            } else if ( typeof tinymce !== 'undefined' && tinymce.get( 'modula_gallery_description' ) ) {
     482                tinymce.get( 'modula_gallery_description' ).remove();
    477483            }
    478484
     
    491497                        convert_newlines_to_brs: true,
    492498                        remove_linebreaks: false,
    493                         plugins: 'lists link textcolor colorpicker code',
     499                        plugins: 'lists link textcolor colorpicker',
    494500                        toolbar1:
    495501                            'bold italic underline strikethrough | bullist numlist | link unlink | forecolor | code',
  • modula-best-grid-gallery/tags/2.14.21/assets/js/admin/wp-modula-modal.min.js

    r3481103 r3483892  
    1 wp.Modula=void 0===wp.Modula?{}:wp.Modula,function(e,t){var i=Backbone.Model.extend({defaults:{item:!1},initialize:function(e){if(e){var i=new t.modal.view({model:this,childViews:e.childViews}),a=new wp.media.view.Modal({controller:{trigger:function(){}}});this.set("wpMediaView",a),this.set("modulaModal",i),this.isApiConfigured=!1}},open:function(e){var t=this.get("wpMediaView"),i=this.get("modulaModal");this.set("item",e),i.render(),t.content(i),t.open(),i.initEditor()}}),a=Backbone.View.extend({tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router modula-edit-popup",template:wp.template("modula-image-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","blur textarea":"updateItem","change select":"updateItem","click .actions a.modula-gallery-meta-submit":"saveItem","click .actions a.modula-gallery-meta-submit-close":"saveItemAndClose","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click #modula-ai-report-generate-button":"generateReport","click #modula-alt-button-apply":"applyReport","click #modula-caption-button-apply":"applyReport","click #modula-title-button-apply":"applyReport"},initialize:function(e){this.on("loading",this.loading,this),this.on("loaded",this.loaded,this),this.listenTo(this.model,"change:item",this.changeItem),this.childViews=e.childViews,this.is_loading=!1,this.search_timer="",this.item=!1,this.on("ai:report:loading",this.onReportLoading,this),this.on("ai:report:success",this.onReportSuccess,this),this.on("ai:report:error",this.onReportError,this)},changeItem:function(){this.item=this.model.get("item")},render:function(){return this.item||(this.item=this.model.get("item")),this.checkApiStatus(),this.attachment_index=t.Items.indexOf(this.item),this.item&&(this.$el.html(this.template(this.item.toJSON())),this.childViews.length>0&&this.childViews.forEach((function(e){var t=new e({model:this.model});this.$el.find("div.modula-addons").append(t.render().el)}),this)),this.initEditor(),0==this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==t.Items.length-1&&this.$el.find("button.right").addClass("disabled"),"external-url"!=t.Settings.get("lightbox")?this.$el.find(".setting.modula-link").addClass("modula-hide"):this.$el.find(".setting.modula-link").removeClass("modula-hide"),this},renderError:function(e){var t={};return t.error=e,new wp.media.view.ModulaGalleryError({model:t}).render().el},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),void 0!==e&&this.$el.find("div.media-toolbar").after(this.renderError(e))},loadPreviousItem:function(){var e;this.attachment_index--,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},loadNextItem:function(){var e;this.attachment_index++,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?e.target.value:0:value=e.target.value,this.item.set(e.target.name,value))},saveItem:function(e){var t=this;this.model.get("item");e.preventDefault(),this.trigger("loading"),this.item.get("view").render();var i=this.$el.find(".saved");i.fadeIn(),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),wp.Modula.Save.saveImages((function(){t.trigger("loaded loaded:success"),i.fadeOut()}))},saveItemAndClose:function(e){var t=this;e.preventDefault(),this.trigger("loading"),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),clearInterval(wp.Modula.Save.updateInterval),wp.Modula.Save.saveImages((function(){t.model.get("wpMediaView").close()}))},searchLinks:function(e){},insertLink:function(e){},generateReport:async function(e){if(e.preventDefault(),this.isApiConfigured){var t=e.target.dataset.action||"generate";if(void 0!==wp.apiFetch){this.trigger("ai:report:loading");try{var i=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/generate-alt-text/",method:"POST",data:{id:"single",attachment_id:this.item.get("id"),action:t}});this.trigger("ai:report:success",i)}catch(e){this.trigger("ai:report:error",e)}}}else window.location.href=modulaHelper.settings_url},onReportLoading:function(){var e=this.$el.find("#modula-ai-report-generate-button");e.addClass("loading").prop("disabled",!0),e.find(".modula-ai-btn-text").text(modulaHelper.strings.generating_alt_text),this.item.set("report",{})},onReportSuccess:function(e){var t=this.$el.find("#modula-ai-report-generate-button");t.removeClass("loading").prop("disabled",!1),t.find(".modula-ai-btn-text").text(modulaHelper.strings.alt_text_generated),setTimeout((()=>{t.find(".modula-ai-btn-text").text(modulaHelper.strings.refresh_report)}),2500),this.item.set("report",e),this.item.set("alt",e.altText),this.$el.find('input[name="alt"]').val(e.altText),this.item.set("description",e.caption),this.$el.find('textarea[name="description"]').val(e.caption),this.item.set("title",e.title),this.$el.find('input[name="title"]').val(e.title)},onReportError:function(e){this.$el.find("#modula-ai-report-generate-button").removeClass("loading").prop("disabled",!1),console.error("AI Report generation failed:",e),this.item.set("report",{})},checkApiStatus:async function(){const e=this;try{const t=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/ai-settings",method:"GET"}),i=this.$el.find("#modula-ai-report-generate-button");t?.readonly?.valid_key??!1?(e.isApiConfigured=!0,i.removeClass("configure-api")):(i.find(".modula-ai-btn-text").text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1)}catch(t){console.error("API check failed:",t);const i=e.$el.find("#modula-ai-report-generate-button .modula-ai-btn-text");i.text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1}},initEditor:function(){"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&tinymce.get("modula_gallery_description").remove(),void 0!==wp.editor&&wp.editor.initialize("modula_gallery_description",{tinymce:{resize:!1,quicktags:!1,branding:!1,menubar:!1,wpautop:!1,statusbar:!1,forced_root_block:!1,forced_br_newlines:!0,force_p_newlines:!1,convert_newlines_to_brs:!0,remove_linebreaks:!1,plugins:"lists link textcolor colorpicker code",toolbar1:"bold italic underline strikethrough | bullist numlist | link unlink | forecolor | code",content_style:"a[data-mce-selected] { box-shadow: none !important; background-color: transparent !important; }"},quicktags:!0})}});t.modal={model:i,view:a}}(jQuery,wp.Modula);
     1wp.Modula=void 0===wp.Modula?{}:wp.Modula,function(e,t){var i=Backbone.Model.extend({defaults:{item:!1},initialize:function(e){if(e){var i=new t.modal.view({model:this,childViews:e.childViews}),a=new wp.media.view.Modal({controller:{trigger:function(){}}});this.set("wpMediaView",a),this.set("modulaModal",i),this.isApiConfigured=!1}},open:function(e){var t=this.get("wpMediaView"),i=this.get("modulaModal");this.set("item",e),i.render(),t.content(i),t.open(),i.initEditor()}}),a=Backbone.View.extend({tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router modula-edit-popup",template:wp.template("modula-image-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","blur textarea":"updateItem","change select":"updateItem","click .actions a.modula-gallery-meta-submit":"saveItem","click .actions a.modula-gallery-meta-submit-close":"saveItemAndClose","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click #modula-ai-report-generate-button":"generateReport","click #modula-alt-button-apply":"applyReport","click #modula-caption-button-apply":"applyReport","click #modula-title-button-apply":"applyReport"},initialize:function(e){this.on("loading",this.loading,this),this.on("loaded",this.loaded,this),this.listenTo(this.model,"change:item",this.changeItem),this.childViews=e.childViews,this.is_loading=!1,this.search_timer="",this.item=!1,this.on("ai:report:loading",this.onReportLoading,this),this.on("ai:report:success",this.onReportSuccess,this),this.on("ai:report:error",this.onReportError,this)},changeItem:function(){this.item=this.model.get("item")},render:function(){return this.item||(this.item=this.model.get("item")),this.checkApiStatus(),this.attachment_index=t.Items.indexOf(this.item),this.item&&(this.$el.html(this.template(this.item.toJSON())),this.childViews.length>0&&this.childViews.forEach((function(e){var t=new e({model:this.model});this.$el.find("div.modula-addons").append(t.render().el)}),this)),this.initEditor(),0==this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==t.Items.length-1&&this.$el.find("button.right").addClass("disabled"),"external-url"!=t.Settings.get("lightbox")?this.$el.find(".setting.modula-link").addClass("modula-hide"):this.$el.find(".setting.modula-link").removeClass("modula-hide"),this},renderError:function(e){var t={};return t.error=e,new wp.media.view.ModulaGalleryError({model:t}).render().el},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),void 0!==e&&this.$el.find("div.media-toolbar").after(this.renderError(e))},loadPreviousItem:function(){var e;this.attachment_index--,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},loadNextItem:function(){var e;this.attachment_index++,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?e.target.value:0:value=e.target.value,this.item.set(e.target.name,value))},saveItem:function(e){var t=this;this.model.get("item");e.preventDefault(),this.trigger("loading"),this.item.get("view").render();var i=this.$el.find(".saved");i.fadeIn(),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),wp.Modula.Save.saveImages((function(){t.trigger("loaded loaded:success"),i.fadeOut()}))},saveItemAndClose:function(e){var t=this;e.preventDefault(),this.trigger("loading"),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),clearInterval(wp.Modula.Save.updateInterval),wp.Modula.Save.saveImages((function(){t.model.get("wpMediaView").close()}))},searchLinks:function(e){},insertLink:function(e){},generateReport:async function(e){if(e.preventDefault(),this.isApiConfigured){var t=e.target.dataset.action||"generate";if(void 0!==wp.apiFetch){this.trigger("ai:report:loading");try{var i=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/generate-alt-text/",method:"POST",data:{id:"single",attachment_id:this.item.get("id"),action:t}});this.trigger("ai:report:success",i)}catch(e){this.trigger("ai:report:error",e)}}}else window.location.href=modulaHelper.settings_url},onReportLoading:function(){var e=this.$el.find("#modula-ai-report-generate-button");e.addClass("loading").prop("disabled",!0),e.find(".modula-ai-btn-text").text(modulaHelper.strings.generating_alt_text),this.item.set("report",{})},onReportSuccess:function(e){var t=this.$el.find("#modula-ai-report-generate-button");t.removeClass("loading").prop("disabled",!1),t.find(".modula-ai-btn-text").text(modulaHelper.strings.alt_text_generated),setTimeout((()=>{t.find(".modula-ai-btn-text").text(modulaHelper.strings.refresh_report)}),2500),this.item.set("report",e),this.item.set("alt",e.altText),this.$el.find('input[name="alt"]').val(e.altText),this.item.set("description",e.caption),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")?tinymce.get("modula_gallery_description").setContent(e.caption):this.$el.find('textarea[name="description"]').val(e.caption),this.item.set("title",e.title),this.$el.find('input[name="title"]').val(e.title)},onReportError:function(e){this.$el.find("#modula-ai-report-generate-button").removeClass("loading").prop("disabled",!1),console.error("AI Report generation failed:",e),this.item.set("report",{})},checkApiStatus:async function(){const e=this;try{const t=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/ai-settings",method:"GET"}),i=this.$el.find("#modula-ai-report-generate-button");t?.readonly?.valid_key??!1?(e.isApiConfigured=!0,i.removeClass("configure-api")):(i.find(".modula-ai-btn-text").text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1)}catch(t){console.error("API check failed:",t);const i=e.$el.find("#modula-ai-report-generate-button .modula-ai-btn-text");i.text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1}},initEditor:function(){void 0!==wp.editor?wp.editor.remove("modula_gallery_description"):"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&tinymce.get("modula_gallery_description").remove(),void 0!==wp.editor&&wp.editor.initialize("modula_gallery_description",{tinymce:{resize:!1,quicktags:!1,branding:!1,menubar:!1,wpautop:!1,statusbar:!1,forced_root_block:!1,forced_br_newlines:!0,force_p_newlines:!1,convert_newlines_to_brs:!0,remove_linebreaks:!1,plugins:"lists link textcolor colorpicker",toolbar1:"bold italic underline strikethrough | bullist numlist | link unlink | forecolor | code",content_style:"a[data-mce-selected] { box-shadow: none !important; background-color: transparent !important; }"},quicktags:!0})}});t.modal={model:i,view:a}}(jQuery,wp.Modula);
  • modula-best-grid-gallery/tags/2.14.21/changelog.txt

    r3481103 r3483892  
     1= 2.14.21 - 16.03.2026 =
     2Fixed: JavaScript error in image edit screen.
     3Fixed: Sometimes the telemetry notice prompt could not be dissmissed.
     4Fixed: An issue where large captions and hover effects disrupted the lightbox functionality.
     5Added: A filter to enqueue front styles early if a gallery shortcode is detected in a page.
     6
    17= 2.14.20 - 12.03.2026 =
    28Fixed: License key cannot be changed.
  • modula-best-grid-gallery/tags/2.14.21/includes/features/telemetry/class-wpchill-telemetry-core.php

    r3455476 r3483892  
    230230     */
    231231    public function opt_out() {
    232         update_option( self::CONSENT_OPTION, false );
     232        update_option( self::CONSENT_OPTION, '0' );
    233233        delete_option( self::QUEUE_OPTION );
    234234        delete_option( self::LAST_SEND_OPTION );
     
    723723            });
    724724           
    725             $('.wpchill-telemetry-opt-out').on('click', function() {
     725            $('.wpchill-telemetry-opt-out').on('click', function(e) {
     726                e.preventDefault();
    726727                var button = $(this);
    727728                button.prop('disabled', true).text('<?php echo esc_js( __( 'Disabling...', 'modula-best-grid-gallery' ) ); ?>');
     
    732733                }, function(response) {
    733734                    if (response.success) {
    734                         location.reload();
     735                        button.closest('.wpchill-telemetry-consent').slideUp(function() { $(this).remove(); });
    735736                    }
    736737                });
  • modula-best-grid-gallery/tags/2.14.21/includes/public/shortcode/class-modula-shortcode.php

    r3473531 r3483892  
    7676     */
    7777    public function maybe_enqueue_front_styles_early() {
     78        if ( ! apply_filters( 'modula_maybe_enqueue_front_styles_early', false ) ) {
     79            return;
     80        }
     81
    7882        if ( ! is_singular() ) {
    7983            return;
     
    8185
    8286        $post = get_queried_object();
    83         if ( ! $post instanceof \WP_Post || empty( $post->post_content ) ) {
     87        if ( ! $post instanceof \WP_Post ) {
    8488            return;
    8589        }
    8690
    87         if ( ! has_shortcode( $post->post_content, 'modula' ) && ! has_shortcode( $post->post_content, 'Modula' ) ) {
     91        // Collect content to search: post_content + standard WP widget content.
     92        $content_to_search = $post->post_content;
     93        foreach ( array(
     94            'widget_text'        => 'text',
     95            'widget_custom_html' => 'content',
     96        ) as $option => $key ) {
     97            foreach ( get_option( $option, array() ) as $instance ) {
     98                if ( ! empty( $instance[ $key ] ) ) {
     99                    $content_to_search .= ' ' . $instance[ $key ];
     100                }
     101            }
     102        }
     103
     104        if ( ! has_shortcode( $content_to_search, 'modula' ) && ! has_shortcode( $content_to_search, 'Modula' ) ) {
    88105            return;
    89106        }
     
    91108        wp_enqueue_style( 'modula' );
    92109        wp_enqueue_style( 'modula-fancybox' );
     110
     111        $pattern = get_shortcode_regex( array( 'modula', 'Modula' ) );
     112
     113        if ( preg_match_all( '/' . $pattern . '/s', $content_to_search, $matches ) ) {
     114            foreach ( $matches[3] as $atts_string ) {
     115                $atts = shortcode_parse_atts( $atts_string );
     116                if ( empty( $atts['id'] ) ) {
     117                    continue;
     118                }
     119
     120                $settings = get_post_meta( absint( $atts['id'] ), 'modula-settings', true );
     121                if ( empty( $settings ) || ! is_array( $settings ) ) {
     122                    $settings = array();
     123                }
     124
     125                foreach ( apply_filters( 'modula_necessary_styles', array(), $settings ) as $style_slug ) {
     126                    if ( ! wp_style_is( $style_slug, 'enqueued' ) ) {
     127                        wp_enqueue_style( $style_slug );
     128                    }
     129                }
     130            }
     131        }
    93132    }
    94133
     
    431470            $css .= "#{$gallery_id}.modula-gallery .modula-item > a, #{$gallery_id}.modula-gallery .modula-item a.modula-item-link, #{$gallery_id}.modula-gallery .modula-item-content > a:not(.modula-no-follow) { cursor:" . esc_attr( $settings['cursor'] ) . '; } ';
    432471        }
     472
     473        if ( isset( $settings['lightbox'] ) && 'no-link' === $settings['lightbox'] ) {
     474            /* Allows text selection for hover effects titles and captions */
     475            $css .= "#{$gallery_id}.modula-gallery .figc *:not(:has(*)), #{$gallery_id}.modula-gallery .figc .jtg-description, #{$gallery_id}.modula-gallery .figc .jtg-title, #{$gallery_id}.modula-gallery .figc .jtg-description:has(a) { position: relative; z-index: 2; }";
     476        }
     477
    433478        $css .= "#{$gallery_id}.modula-gallery .modula-item-content .modula-no-follow { cursor: default; } ";
    434479        $css  = apply_filters( 'modula_shortcode_css', $css, $gallery_id, $settings );
  • modula-best-grid-gallery/tags/2.14.21/includes/public/templates/items/item.php

    r3454697 r3483892  
    44    <div class="modula-item-content">
    55
    6         <?php do_action( 'modula_item_before_link', $data ); ?>
    7        
    8         <?php if ( 'no-link' != $data->lightbox ) : ?>
    9             <a<?php echo Modula_Helper::generate_attributes( $data->link_attributes ); ?> class="<?php echo esc_attr( implode( ' ', $data->link_classes ) ); ?>"></a>
    10         <?php endif ?>
    11 
    126        <?php
    13         /**
    14          * Hook: modula_item_after_link
    15          */
     7        do_action( 'modula_item_before_link', $data );
     8        if ( 'no-link' != $data->lightbox ) : ?><a<?php echo Modula_Helper::generate_attributes( $data->link_attributes ); ?> class="<?php echo esc_attr( implode( ' ', $data->link_classes ) ); ?>"></a><?php endif;
    169        do_action( 'modula_item_after_link', $data );
    17 
    18         /**
    19          *Hook : modula_item_template_image
    20          *
    21          * @hooked: modula_sources_and_sizes
    22          */
    2310        do_action( 'modula_item_template_image', $data );
    24 
    25         /**
    26          * Hook: modula_item_after_image
    27          */
    2811        do_action( 'modula_item_after_image', $data );
    2912        ?>
  • modula-best-grid-gallery/tags/2.14.21/readme.txt

    r3481103 r3483892  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 2.14.20
     7Stable tag: 2.14.21
    88
    99License: GNU General Public License v3.0 or later 
     
    326326
    327327== Changelog ==
     328= 2.14.21 - 16.03.2026 =
     329Fixed: JavaScript error in image edit screen.
     330Fixed: Sometimes the telemetry notice prompt could not be dissmissed.
     331Fixed: An issue where large captions and hover effects disrupted the lightbox functionality.
     332Added: A filter to enqueue front styles early if a gallery shortcode is detected in a page.
     333
    328334= 2.14.20 - 12.03.2026 =
    329335Fixed: License key cannot be changed.
  • modula-best-grid-gallery/trunk/Modula.php

    r3481103 r3483892  
    55* Description:              Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
    66* Author:                   WPChill
    7 * Version:                  2.14.20
     7* Version:                  2.14.21
    88* Author URI:               https://www.wpchill.com/
    99* License:                  GPLv3 or later
     
    4848 */
    4949
    50 define( 'MODULA_LITE_VERSION', '2.14.20' );
     50define( 'MODULA_LITE_VERSION', '2.14.21' );
    5151define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
    5252define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
     
    9595    }
    9696
    97     $want_pro_index = ( false !== $key_lite ) ? 1 : 0;
     97    $want_pro_index = ( false !== $key_lite ) ? $key_lite + 1 : 0;
    9898    if ( $key_pro === $want_pro_index ) {
    9999        return;
    100100    }
     101
    101102    unset( $list[ $key_pro ] );
    102103    $list = array_values( $list );
     104
     105    $key_lite_new   = ( false !== $key_lite ) ? array_search( $lite, $list, true ) : false;
     106    $want_pro_index = ( false !== $key_lite_new ) ? $key_lite_new + 1 : 0;
     107
    103108    array_splice( $list, $want_pro_index, 0, array( $pro ) );
    104109
  • modula-best-grid-gallery/trunk/assets/css/front.css

    r3465190 r3483892  
    66).modula-gallery-initialized .modula-items .modula-item .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items .modula-item.tg-loaded .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items.justified-gallery .modula-item .modula-item-content{transform:scale(1) translate(0,0) rotate(0)!important;opacity:1}html body .modula .modula-items .modula-item img.pic,html body .modula .modula-items .modula-item picture.pic{font-size:12px;position:absolute;max-width:999em;transition:width .3s,height .3s,transform .3s linear,opacity .2s linear}html body .modula .modula-items.justified-gallery .modula-item picture.pic img{max-width:999em;height:100%}html body .modula.modula-creative-gallery .modula-items .modula-item picture.pic img{width:100%}html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{position:relative;max-width:100%;margin:0 auto}html body .modula .modula-items .modula-item.tg-loaded img.pic,html body .modula .modula-items .modula-item.tg-loaded picture.pic,html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{display:block;opacity:1}html body .modula .modula-items .modula-item img.pic.lazyload,html body .modula .modula-items .modula-item img.pic.lazyloaded,html body .modula .modula-items .modula-item picture.pic.lazyload,html body .modula .modula-items .modula-item picture.pic.lazyloaded{display:block}html body .modula .modula-items .modula-item .caption .icon{font-size:14px;position:absolute;left:50%;top:50%;margin:-12px 0 0 -8px}html body .modula .modula-items .modula-item .figc{color:#fff;text-align:center;position:absolute;left:0;width:100%;padding:0;max-width:100%}html body .modula .modula-items .hidden .figc{display:none}html body .modula .modula-items .hidden:hover .figc{display:block}html body .modula .modula-items .visible .figc{display:block}html body .modula .modula-items .always-visible .figc{display:block}html body .modula .modula-items .visible:hover .figc{display:none}html body .modula .modula-items .caption span.text{display:block;padding:10px}html body .modula .modula-items .caption span.title{font-size:14px;font-weight:700}html body .modula .jtg-social a{box-shadow:none}html body .modula .jtg-social svg{width:20px;height:16px}html body .modula .modula-items .modula-item p{margin:0;padding:0}html body .modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}html body .modula .modula-item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;padding:0;border:0;opacity:0;transition:opacity .3s}html body .modula .modula-item:hover .jtg-social a{opacity:1}html body .modula .modula-items .jtg-social{opacity:0;right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s}html body .et_pb_module_inner .modula .modula-items .jtg-social{transition:all .3s!important}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{margin-right:10px}@media all and (max-width:480px){html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social{right:0;width:100%;text-align:center}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{padding:5px}}html body .modula .modula-items .jtg-social{opacity:1}html body .modula .modula-items .jtg-social a:last-of-type{margin-right:0}html body .modula .modula-item.effect-pufrobo p.description,html body .modula-gallery .modula-item.effect-pufrobo .jtg-description{margin-bottom:2em}html body .et_pb_module_inner .modula .modula-item.effect-pufrobo .jtg-description,html body .et_pb_module_inner .modula .modula-item.effect-pufrobo p.description{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo .figc{text-align:right}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title,html body .modula .modula-item.effect-pufrobo p{position:absolute;right:5%;left:5%;padding:10px 0}html body .modula.modula-gallery-initialized .modula-item:hover img,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover img.pic,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover picture.pic{opacity:.8}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-title{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}html body .et_pb_module_inner .modula .modula-items .modula-item.effect-pufrobo .jtg-title{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo:hover .jtg-title{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-item.effect-pufrobo .jtg-title::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:"";-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title::after,html body .modula .modula-item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}html body .modula .modula-item.effect-pufrobo:hover .jtg-description,html body .modula .modula-item.effect-pufrobo:hover .jtg-title::after,html body .modula .modula-item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-items .modula-item.effect-pufrobo .figc.no-title.no-description .jtg-title:after{display:none}html body .modula .modula-items .modula-item.effect-appear .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-comodo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-crafty .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-curtain .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-fluid-up .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-hide .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-lens .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-pufrobo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-quiet .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-reflex .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-seemo .figc .jtg-title:before{display:none}html body .modula .modula-items .modula-item>a:not(.modula-no-follow){cursor:zoom-in}html body .modula .modula-items .modula-item>a.modula-no-follow{cursor:default}html body .modula-fancybox-container{z-index:99999999!important}html body .modula-fancybox-share__button--li{background:#0e76a8}html body .modula-fancybox-share__button--wa{background:#25d366}html body .modula.modula-columns .modula-item{display:flex;justify-content:center}html body .modula.modula-columns .modula-item .modula-item-content{position:relative}html body .modula.modula-columns .modula-items.grid-gallery .modula-item .modula-item-content{height:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content{width:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content img.pic,html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content picture.pic{position:absolute;top:50%;left:50%;margin:0;padding:0;border:none}html body .modula.modula-columns .modula-item.jg-filtered{display:none}html body .modula-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}html body .modula-row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}@media (min-width:576px){html body .modula-row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:768px){html body .modula-row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:992px){html body .modula-row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:1200px){html body .modula-row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}html body .modula .modula-items.grid-gallery .modula-item .figc{height:100%;top:0}html body div.modula-powered{text-align:right;font-size:14px;margin-right:5px;clear:both}html body div.modula-powered svg.modula-logo{width:14px;position:relative;top:3px}html body div.modula-powered svg.modula-logo path{color:#58ab7e!important}html body div.modula-powered svg.modula-logo{display:inline-block}.modula-gallery:not(.modula-gallery-initialized)>.modula-items{visibility:hidden}.modula-gallery.modula-gallery-initialized .modula-items .modula-item{visibility:visible}.modula-creative-commons-wrap p{margin:0}.modula-creative-commons-wrap img{height:20px;margin-right:10px}.modula-fancybox-container button.f-button.is-close-btn{display:none}.modula-best-grid-gallery .f-button:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}html body .modula-items .modula-item .jtg-social-expandable{display:none}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-desktop-collapsed.jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex;flex:0 0 16px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons:not(
    77.modula-show-socials
    8 ){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}html body .modula .figc .jtg-description,html body .modula .figc .jtg-description:has(a),html body .modula .figc .jtg-title,html body .modula .figc :not(:has(*)){position:relative;z-index:2}
     8){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}
  • modula-best-grid-gallery/trunk/assets/css/front/modula.css

    r3465190 r3483892  
    10091009    outline-offset: -2px;
    10101010}
    1011 
    1012 /* Allows text selection for hover effects titles and captions */
    1013 html body .modula .figc *:not(:has(*)),
    1014 html body .modula .figc .jtg-description,
    1015 html body .modula .figc .jtg-title,
    1016 html body .modula .figc .jtg-description:has(a) {
    1017     position: relative;
    1018     z-index: 2;
    1019 }
  • modula-best-grid-gallery/trunk/assets/css/front/modula.min.css

    r3465190 r3483892  
    55).modula-gallery-initialized .modula-items .modula-item .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items .modula-item.tg-loaded .modula-item-content,html body .modula:not(.modula-loaded-scale).modula-gallery-initialized .modula-items.justified-gallery .modula-item .modula-item-content{transform:scale(1) translate(0,0) rotate(0)!important;opacity:1}html body .modula .modula-items .modula-item img.pic,html body .modula .modula-items .modula-item picture.pic{font-size:12px;position:absolute;max-width:999em;transition:width .3s,height .3s,transform .3s linear,opacity .2s linear}html body .modula .modula-items.justified-gallery .modula-item picture.pic img{max-width:999em;height:100%}html body .modula.modula-creative-gallery .modula-items .modula-item picture.pic img{width:100%}html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{position:relative;max-width:100%;margin:0 auto}html body .modula .modula-items .modula-item.tg-loaded img.pic,html body .modula .modula-items .modula-item.tg-loaded picture.pic,html body .modula.modula-columns .modula-items .modula-item img.pic,html body .modula.modula-columns .modula-items .modula-item picture.pic{display:block;opacity:1}html body .modula .modula-items .modula-item img.pic.lazyload,html body .modula .modula-items .modula-item img.pic.lazyloaded,html body .modula .modula-items .modula-item picture.pic.lazyload,html body .modula .modula-items .modula-item picture.pic.lazyloaded{display:block}html body .modula .modula-items .modula-item .caption .icon{font-size:14px;position:absolute;left:50%;top:50%;margin:-12px 0 0 -8px}html body .modula .modula-items .modula-item .figc{color:#fff;text-align:center;position:absolute;left:0;width:100%;padding:0;max-width:100%}html body .modula .modula-items .hidden .figc{display:none}html body .modula .modula-items .hidden:hover .figc{display:block}html body .modula .modula-items .visible .figc{display:block}html body .modula .modula-items .always-visible .figc{display:block}html body .modula .modula-items .visible:hover .figc{display:none}html body .modula .modula-items .caption span.text{display:block;padding:10px}html body .modula .modula-items .caption span.title{font-size:14px;font-weight:700}html body .modula .jtg-social a{box-shadow:none}html body .modula .jtg-social svg{width:20px;height:16px}html body .modula .modula-items .modula-item p{margin:0;padding:0}html body .modula .figc{color:#000;text-align:center;position:absolute;left:0;width:100%;padding:2em}html body .modula .modula-item .jtg-social a{text-decoration:none;color:#fff;display:inline-block;margin:0 10px 0 0;padding:0;border:0;opacity:0;transition:opacity .3s}html body .modula .modula-item:hover .jtg-social a{opacity:1}html body .modula .modula-items .jtg-social{opacity:0;right:30px;position:absolute;bottom:20px;text-align:right;transition:all .3s}html body .et_pb_module_inner .modula .modula-items .jtg-social{transition:all .3s!important}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{margin-right:10px}@media all and (max-width:480px){html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social{right:0;width:100%;text-align:center}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-social a{padding:5px}}html body .modula .modula-items .jtg-social{opacity:1}html body .modula .modula-items .jtg-social a:last-of-type{margin-right:0}html body .modula .modula-item.effect-pufrobo p.description,html body .modula-gallery .modula-item.effect-pufrobo .jtg-description{margin-bottom:2em}html body .et_pb_module_inner .modula .modula-item.effect-pufrobo .jtg-description,html body .et_pb_module_inner .modula .modula-item.effect-pufrobo p.description{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo .figc{text-align:right}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title,html body .modula .modula-item.effect-pufrobo p{position:absolute;right:5%;left:5%;padding:10px 0}html body .modula.modula-gallery-initialized .modula-item:hover img,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover img.pic,html body .modula.modula-gallery-initialized .modula-items .modula-item.tg-loaded:hover picture.pic{opacity:.8}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo p{bottom:20%;line-height:1.5;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);letter-spacing:1px}html body .modula .modula-items .modula-item.effect-pufrobo .jtg-title{top:10%;-webkit-transition:-webkit-transform .35s;transition:transform .35s;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}html body .et_pb_module_inner .modula .modula-items .modula-item.effect-pufrobo .jtg-title{-webkit-transition:-webkit-transform .35s!important;transition:transform .35s!important}html body .modula .modula-item.effect-pufrobo:hover .jtg-title{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-item.effect-pufrobo .jtg-title::after{position:absolute;top:80%;left:0;width:100%;height:4px;background:#fff;content:"";-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}html body .modula .modula-item.effect-pufrobo .jtg-description,html body .modula .modula-item.effect-pufrobo .jtg-title::after,html body .modula .modula-item.effect-pufrobo p{opacity:0;-webkit-transition:opacity .35s,-webkit-transform .35s;transition:opacity .35s,transform .35s}html body .modula .modula-item.effect-pufrobo:hover .jtg-description,html body .modula .modula-item.effect-pufrobo:hover .jtg-title::after,html body .modula .modula-item.effect-pufrobo:hover p{margin-top:10px;margin-bottom:5px;opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}html body .modula .modula-items .modula-item.effect-pufrobo .figc.no-title.no-description .jtg-title:after{display:none}html body .modula .modula-items .modula-item.effect-appear .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-comodo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-crafty .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-curtain .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-fluid-up .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-hide .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-lens .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-pufrobo .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-quiet .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-reflex .figc .jtg-title:before,html body .modula .modula-items .modula-item.effect-seemo .figc .jtg-title:before{display:none}html body .modula .modula-items .modula-item>a:not(.modula-no-follow){cursor:zoom-in}html body .modula .modula-items .modula-item>a.modula-no-follow{cursor:default}html body .modula-fancybox-container{z-index:99999999!important}html body .modula-fancybox-share__button--li{background:#0e76a8}html body .modula-fancybox-share__button--wa{background:#25d366}html body .modula.modula-columns .modula-item{display:flex;justify-content:center}html body .modula.modula-columns .modula-item .modula-item-content{position:relative}html body .modula.modula-columns .modula-items.grid-gallery .modula-item .modula-item-content{height:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content{width:100%}html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content img.pic,html body .modula.modula-columns .modula-items.grid-gallery.justified-gallery .modula-item .modula-item-content picture.pic{position:absolute;top:50%;left:50%;margin:0;padding:0;border:none}html body .modula.modula-columns .modula-item.jg-filtered{display:none}html body .modula-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}html body .modula-row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}@media (min-width:576px){html body .modula-row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:768px){html body .modula-row-cols-md-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-md-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-md-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-md-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-md-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-md-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:992px){html body .modula-row-cols-lg-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-lg-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-lg-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-lg-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-lg-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-lg-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}@media (min-width:1200px){html body .modula-row-cols-xl-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}html body .modula-row-cols-xl-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}html body .modula-row-cols-xl-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}html body .modula-row-cols-xl-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}html body .modula-row-cols-xl-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}html body .modula-row-cols-xl-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}}html body .modula .modula-items.grid-gallery .modula-item .figc{height:100%;top:0}html body div.modula-powered{text-align:right;font-size:14px;margin-right:5px;clear:both}html body div.modula-powered svg.modula-logo{width:14px;position:relative;top:3px}html body div.modula-powered svg.modula-logo path{color:#58ab7e!important}html body div.modula-powered svg.modula-logo{display:inline-block}.modula-gallery:not(.modula-gallery-initialized)>.modula-items{visibility:hidden}.modula-gallery.modula-gallery-initialized .modula-items .modula-item{visibility:visible}.modula-creative-commons-wrap p{margin:0}.modula-creative-commons-wrap img{height:20px;margin-right:10px}.modula-fancybox-container button.f-button.is-close-btn{display:none}.modula-best-grid-gallery .f-button:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}html body .modula-items .modula-item .jtg-social-expandable{display:none}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-desktop-collapsed.jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex;flex:0 0 16px}html body .modula-items .modula-item .jtg-social-desktop-collapsed.jtg-social-expandable-icons:not(
    66.modula-show-socials
    7 ){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}html body .modula .figc .jtg-description,html body .modula .figc .jtg-description:has(a),html body .modula .figc .jtg-title,html body .modula .figc :not(:has(*)){position:relative;z-index:2}
     7){display:none}@media (max-width:992px){html body .modula-items .modula-item .jtg-social-expandable-icons{padding:10px 15px;background-color:#000;border-radius:20px;position:absolute;bottom:58px;display:inline-flex;z-index:99;right:0;flex-wrap:wrap;box-sizing:border-box;max-width:calc(100% - 20px);justify-content:space-evenly;margin-right:8px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons{left:0;right:unset}html body .modula-items .modula-item .jtg-social-expandable-icons::before{content:"";position:absolute;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #000;bottom:-8px;right:10px}html body .modula-items .modula-item .modula-socials-right .jtg-social-expandable-icons::before{right:unset;left:10px}html body .modula-items .modula-item .jtg-social-expandable{padding:10px;background-color:#000;border-radius:50%;cursor:pointer;position:absolute;right:10px;bottom:10px;z-index:999;display:block}html body .modula .modula-items .jtg-social-expandable a.modula-icon-share{pointer-events:none;display:flex;justify-content:center;align-items:center;border-radius:50%;text-decoration:none}html body .modula-item .jtg-social-expandable-icons a{justify-content:center;align-items:center;display:flex}html body .modula-items .modula-item .jtg-social-expandable-icons:not(.modula-show-socials){display:none}html body .modula-items .modula-item .jtg-social{display:none}}.modula-fancybox-container .fancybox-image{width:auto;height:auto;max-width:100%;max-height:100%}html body .modula-fancybox-container button.f-button{padding:0}html body .modula.modula-gallery .modula-item-link:focus-visible{outline:2px solid #005fcc;outline-offset:-2px}
  • modula-best-grid-gallery/trunk/assets/js/admin/wp-modula-modal.js

    r3481103 r3483892  
    423423            // Update the caption
    424424            this.item.set('description', result.caption);
    425             this.$el.find('textarea[name="description"]').val(result.caption);
     425            if ( typeof tinymce !== 'undefined' && tinymce.get('modula_gallery_description') ) {
     426                tinymce.get('modula_gallery_description').setContent(result.caption);
     427            } else {
     428                this.$el.find('textarea[name="description"]').val(result.caption);
     429            }
    426430
    427431            // Update the title
     
    472476
    473477        initEditor: function(){
    474            
    475             if ( typeof tinymce !== 'undefined' && tinymce.get('modula_gallery_description') ) {
    476                 tinymce.get('modula_gallery_description').remove();
     478
     479            if ( typeof wp.editor !== 'undefined' ) {
     480                wp.editor.remove( 'modula_gallery_description' );
     481            } else if ( typeof tinymce !== 'undefined' && tinymce.get( 'modula_gallery_description' ) ) {
     482                tinymce.get( 'modula_gallery_description' ).remove();
    477483            }
    478484
     
    491497                        convert_newlines_to_brs: true,
    492498                        remove_linebreaks: false,
    493                         plugins: 'lists link textcolor colorpicker code',
     499                        plugins: 'lists link textcolor colorpicker',
    494500                        toolbar1:
    495501                            'bold italic underline strikethrough | bullist numlist | link unlink | forecolor | code',
  • modula-best-grid-gallery/trunk/assets/js/admin/wp-modula-modal.min.js

    r3481103 r3483892  
    1 wp.Modula=void 0===wp.Modula?{}:wp.Modula,function(e,t){var i=Backbone.Model.extend({defaults:{item:!1},initialize:function(e){if(e){var i=new t.modal.view({model:this,childViews:e.childViews}),a=new wp.media.view.Modal({controller:{trigger:function(){}}});this.set("wpMediaView",a),this.set("modulaModal",i),this.isApiConfigured=!1}},open:function(e){var t=this.get("wpMediaView"),i=this.get("modulaModal");this.set("item",e),i.render(),t.content(i),t.open(),i.initEditor()}}),a=Backbone.View.extend({tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router modula-edit-popup",template:wp.template("modula-image-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","blur textarea":"updateItem","change select":"updateItem","click .actions a.modula-gallery-meta-submit":"saveItem","click .actions a.modula-gallery-meta-submit-close":"saveItemAndClose","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click #modula-ai-report-generate-button":"generateReport","click #modula-alt-button-apply":"applyReport","click #modula-caption-button-apply":"applyReport","click #modula-title-button-apply":"applyReport"},initialize:function(e){this.on("loading",this.loading,this),this.on("loaded",this.loaded,this),this.listenTo(this.model,"change:item",this.changeItem),this.childViews=e.childViews,this.is_loading=!1,this.search_timer="",this.item=!1,this.on("ai:report:loading",this.onReportLoading,this),this.on("ai:report:success",this.onReportSuccess,this),this.on("ai:report:error",this.onReportError,this)},changeItem:function(){this.item=this.model.get("item")},render:function(){return this.item||(this.item=this.model.get("item")),this.checkApiStatus(),this.attachment_index=t.Items.indexOf(this.item),this.item&&(this.$el.html(this.template(this.item.toJSON())),this.childViews.length>0&&this.childViews.forEach((function(e){var t=new e({model:this.model});this.$el.find("div.modula-addons").append(t.render().el)}),this)),this.initEditor(),0==this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==t.Items.length-1&&this.$el.find("button.right").addClass("disabled"),"external-url"!=t.Settings.get("lightbox")?this.$el.find(".setting.modula-link").addClass("modula-hide"):this.$el.find(".setting.modula-link").removeClass("modula-hide"),this},renderError:function(e){var t={};return t.error=e,new wp.media.view.ModulaGalleryError({model:t}).render().el},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),void 0!==e&&this.$el.find("div.media-toolbar").after(this.renderError(e))},loadPreviousItem:function(){var e;this.attachment_index--,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},loadNextItem:function(){var e;this.attachment_index++,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?e.target.value:0:value=e.target.value,this.item.set(e.target.name,value))},saveItem:function(e){var t=this;this.model.get("item");e.preventDefault(),this.trigger("loading"),this.item.get("view").render();var i=this.$el.find(".saved");i.fadeIn(),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),wp.Modula.Save.saveImages((function(){t.trigger("loaded loaded:success"),i.fadeOut()}))},saveItemAndClose:function(e){var t=this;e.preventDefault(),this.trigger("loading"),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),clearInterval(wp.Modula.Save.updateInterval),wp.Modula.Save.saveImages((function(){t.model.get("wpMediaView").close()}))},searchLinks:function(e){},insertLink:function(e){},generateReport:async function(e){if(e.preventDefault(),this.isApiConfigured){var t=e.target.dataset.action||"generate";if(void 0!==wp.apiFetch){this.trigger("ai:report:loading");try{var i=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/generate-alt-text/",method:"POST",data:{id:"single",attachment_id:this.item.get("id"),action:t}});this.trigger("ai:report:success",i)}catch(e){this.trigger("ai:report:error",e)}}}else window.location.href=modulaHelper.settings_url},onReportLoading:function(){var e=this.$el.find("#modula-ai-report-generate-button");e.addClass("loading").prop("disabled",!0),e.find(".modula-ai-btn-text").text(modulaHelper.strings.generating_alt_text),this.item.set("report",{})},onReportSuccess:function(e){var t=this.$el.find("#modula-ai-report-generate-button");t.removeClass("loading").prop("disabled",!1),t.find(".modula-ai-btn-text").text(modulaHelper.strings.alt_text_generated),setTimeout((()=>{t.find(".modula-ai-btn-text").text(modulaHelper.strings.refresh_report)}),2500),this.item.set("report",e),this.item.set("alt",e.altText),this.$el.find('input[name="alt"]').val(e.altText),this.item.set("description",e.caption),this.$el.find('textarea[name="description"]').val(e.caption),this.item.set("title",e.title),this.$el.find('input[name="title"]').val(e.title)},onReportError:function(e){this.$el.find("#modula-ai-report-generate-button").removeClass("loading").prop("disabled",!1),console.error("AI Report generation failed:",e),this.item.set("report",{})},checkApiStatus:async function(){const e=this;try{const t=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/ai-settings",method:"GET"}),i=this.$el.find("#modula-ai-report-generate-button");t?.readonly?.valid_key??!1?(e.isApiConfigured=!0,i.removeClass("configure-api")):(i.find(".modula-ai-btn-text").text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1)}catch(t){console.error("API check failed:",t);const i=e.$el.find("#modula-ai-report-generate-button .modula-ai-btn-text");i.text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1}},initEditor:function(){"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&tinymce.get("modula_gallery_description").remove(),void 0!==wp.editor&&wp.editor.initialize("modula_gallery_description",{tinymce:{resize:!1,quicktags:!1,branding:!1,menubar:!1,wpautop:!1,statusbar:!1,forced_root_block:!1,forced_br_newlines:!0,force_p_newlines:!1,convert_newlines_to_brs:!0,remove_linebreaks:!1,plugins:"lists link textcolor colorpicker code",toolbar1:"bold italic underline strikethrough | bullist numlist | link unlink | forecolor | code",content_style:"a[data-mce-selected] { box-shadow: none !important; background-color: transparent !important; }"},quicktags:!0})}});t.modal={model:i,view:a}}(jQuery,wp.Modula);
     1wp.Modula=void 0===wp.Modula?{}:wp.Modula,function(e,t){var i=Backbone.Model.extend({defaults:{item:!1},initialize:function(e){if(e){var i=new t.modal.view({model:this,childViews:e.childViews}),a=new wp.media.view.Modal({controller:{trigger:function(){}}});this.set("wpMediaView",a),this.set("modulaModal",i),this.isApiConfigured=!1}},open:function(e){var t=this.get("wpMediaView"),i=this.get("modulaModal");this.set("item",e),i.render(),t.content(i),t.open(),i.initEditor()}}),a=Backbone.View.extend({tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router modula-edit-popup",template:wp.template("modula-image-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","blur textarea":"updateItem","change select":"updateItem","click .actions a.modula-gallery-meta-submit":"saveItem","click .actions a.modula-gallery-meta-submit-close":"saveItemAndClose","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click #modula-ai-report-generate-button":"generateReport","click #modula-alt-button-apply":"applyReport","click #modula-caption-button-apply":"applyReport","click #modula-title-button-apply":"applyReport"},initialize:function(e){this.on("loading",this.loading,this),this.on("loaded",this.loaded,this),this.listenTo(this.model,"change:item",this.changeItem),this.childViews=e.childViews,this.is_loading=!1,this.search_timer="",this.item=!1,this.on("ai:report:loading",this.onReportLoading,this),this.on("ai:report:success",this.onReportSuccess,this),this.on("ai:report:error",this.onReportError,this)},changeItem:function(){this.item=this.model.get("item")},render:function(){return this.item||(this.item=this.model.get("item")),this.checkApiStatus(),this.attachment_index=t.Items.indexOf(this.item),this.item&&(this.$el.html(this.template(this.item.toJSON())),this.childViews.length>0&&this.childViews.forEach((function(e){var t=new e({model:this.model});this.$el.find("div.modula-addons").append(t.render().el)}),this)),this.initEditor(),0==this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==t.Items.length-1&&this.$el.find("button.right").addClass("disabled"),"external-url"!=t.Settings.get("lightbox")?this.$el.find(".setting.modula-link").addClass("modula-hide"):this.$el.find(".setting.modula-link").removeClass("modula-hide"),this},renderError:function(e){var t={};return t.error=e,new wp.media.view.ModulaGalleryError({model:t}).render().el},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),void 0!==e&&this.$el.find("div.media-toolbar").after(this.renderError(e))},loadPreviousItem:function(){var e;this.attachment_index--,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},loadNextItem:function(){var e;this.attachment_index++,e=t.Items.at(this.attachment_index),this.model.set("item",e),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?e.target.value:0:value=e.target.value,this.item.set(e.target.name,value))},saveItem:function(e){var t=this;this.model.get("item");e.preventDefault(),this.trigger("loading"),this.item.get("view").render();var i=this.$el.find(".saved");i.fadeIn(),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),wp.Modula.Save.saveImages((function(){t.trigger("loaded loaded:success"),i.fadeOut()}))},saveItemAndClose:function(e){var t=this;e.preventDefault(),this.trigger("loading"),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&this.item.set("description",wp.editor.getContent("modula_gallery_description")),clearInterval(wp.Modula.Save.updateInterval),wp.Modula.Save.saveImages((function(){t.model.get("wpMediaView").close()}))},searchLinks:function(e){},insertLink:function(e){},generateReport:async function(e){if(e.preventDefault(),this.isApiConfigured){var t=e.target.dataset.action||"generate";if(void 0!==wp.apiFetch){this.trigger("ai:report:loading");try{var i=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/generate-alt-text/",method:"POST",data:{id:"single",attachment_id:this.item.get("id"),action:t}});this.trigger("ai:report:success",i)}catch(e){this.trigger("ai:report:error",e)}}}else window.location.href=modulaHelper.settings_url},onReportLoading:function(){var e=this.$el.find("#modula-ai-report-generate-button");e.addClass("loading").prop("disabled",!0),e.find(".modula-ai-btn-text").text(modulaHelper.strings.generating_alt_text),this.item.set("report",{})},onReportSuccess:function(e){var t=this.$el.find("#modula-ai-report-generate-button");t.removeClass("loading").prop("disabled",!1),t.find(".modula-ai-btn-text").text(modulaHelper.strings.alt_text_generated),setTimeout((()=>{t.find(".modula-ai-btn-text").text(modulaHelper.strings.refresh_report)}),2500),this.item.set("report",e),this.item.set("alt",e.altText),this.$el.find('input[name="alt"]').val(e.altText),this.item.set("description",e.caption),"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")?tinymce.get("modula_gallery_description").setContent(e.caption):this.$el.find('textarea[name="description"]').val(e.caption),this.item.set("title",e.title),this.$el.find('input[name="title"]').val(e.title)},onReportError:function(e){this.$el.find("#modula-ai-report-generate-button").removeClass("loading").prop("disabled",!1),console.error("AI Report generation failed:",e),this.item.set("report",{})},checkApiStatus:async function(){const e=this;try{const t=await wp.apiFetch({path:"/modula-ai-image-descriptor/v1/ai-settings",method:"GET"}),i=this.$el.find("#modula-ai-report-generate-button");t?.readonly?.valid_key??!1?(e.isApiConfigured=!0,i.removeClass("configure-api")):(i.find(".modula-ai-btn-text").text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1)}catch(t){console.error("API check failed:",t);const i=e.$el.find("#modula-ai-report-generate-button .modula-ai-btn-text");i.text(modulaHelper.strings.configure_api_key||"Configure API Key"),i.addClass("configure-api"),e.isApiConfigured=!1}},initEditor:function(){void 0!==wp.editor?wp.editor.remove("modula_gallery_description"):"undefined"!=typeof tinymce&&tinymce.get("modula_gallery_description")&&tinymce.get("modula_gallery_description").remove(),void 0!==wp.editor&&wp.editor.initialize("modula_gallery_description",{tinymce:{resize:!1,quicktags:!1,branding:!1,menubar:!1,wpautop:!1,statusbar:!1,forced_root_block:!1,forced_br_newlines:!0,force_p_newlines:!1,convert_newlines_to_brs:!0,remove_linebreaks:!1,plugins:"lists link textcolor colorpicker",toolbar1:"bold italic underline strikethrough | bullist numlist | link unlink | forecolor | code",content_style:"a[data-mce-selected] { box-shadow: none !important; background-color: transparent !important; }"},quicktags:!0})}});t.modal={model:i,view:a}}(jQuery,wp.Modula);
  • modula-best-grid-gallery/trunk/changelog.txt

    r3481103 r3483892  
     1= 2.14.21 - 16.03.2026 =
     2Fixed: JavaScript error in image edit screen.
     3Fixed: Sometimes the telemetry notice prompt could not be dissmissed.
     4Fixed: An issue where large captions and hover effects disrupted the lightbox functionality.
     5Added: A filter to enqueue front styles early if a gallery shortcode is detected in a page.
     6
    17= 2.14.20 - 12.03.2026 =
    28Fixed: License key cannot be changed.
  • modula-best-grid-gallery/trunk/includes/features/telemetry/class-wpchill-telemetry-core.php

    r3455476 r3483892  
    230230     */
    231231    public function opt_out() {
    232         update_option( self::CONSENT_OPTION, false );
     232        update_option( self::CONSENT_OPTION, '0' );
    233233        delete_option( self::QUEUE_OPTION );
    234234        delete_option( self::LAST_SEND_OPTION );
     
    723723            });
    724724           
    725             $('.wpchill-telemetry-opt-out').on('click', function() {
     725            $('.wpchill-telemetry-opt-out').on('click', function(e) {
     726                e.preventDefault();
    726727                var button = $(this);
    727728                button.prop('disabled', true).text('<?php echo esc_js( __( 'Disabling...', 'modula-best-grid-gallery' ) ); ?>');
     
    732733                }, function(response) {
    733734                    if (response.success) {
    734                         location.reload();
     735                        button.closest('.wpchill-telemetry-consent').slideUp(function() { $(this).remove(); });
    735736                    }
    736737                });
  • modula-best-grid-gallery/trunk/includes/public/shortcode/class-modula-shortcode.php

    r3473531 r3483892  
    7676     */
    7777    public function maybe_enqueue_front_styles_early() {
     78        if ( ! apply_filters( 'modula_maybe_enqueue_front_styles_early', false ) ) {
     79            return;
     80        }
     81
    7882        if ( ! is_singular() ) {
    7983            return;
     
    8185
    8286        $post = get_queried_object();
    83         if ( ! $post instanceof \WP_Post || empty( $post->post_content ) ) {
     87        if ( ! $post instanceof \WP_Post ) {
    8488            return;
    8589        }
    8690
    87         if ( ! has_shortcode( $post->post_content, 'modula' ) && ! has_shortcode( $post->post_content, 'Modula' ) ) {
     91        // Collect content to search: post_content + standard WP widget content.
     92        $content_to_search = $post->post_content;
     93        foreach ( array(
     94            'widget_text'        => 'text',
     95            'widget_custom_html' => 'content',
     96        ) as $option => $key ) {
     97            foreach ( get_option( $option, array() ) as $instance ) {
     98                if ( ! empty( $instance[ $key ] ) ) {
     99                    $content_to_search .= ' ' . $instance[ $key ];
     100                }
     101            }
     102        }
     103
     104        if ( ! has_shortcode( $content_to_search, 'modula' ) && ! has_shortcode( $content_to_search, 'Modula' ) ) {
    88105            return;
    89106        }
     
    91108        wp_enqueue_style( 'modula' );
    92109        wp_enqueue_style( 'modula-fancybox' );
     110
     111        $pattern = get_shortcode_regex( array( 'modula', 'Modula' ) );
     112
     113        if ( preg_match_all( '/' . $pattern . '/s', $content_to_search, $matches ) ) {
     114            foreach ( $matches[3] as $atts_string ) {
     115                $atts = shortcode_parse_atts( $atts_string );
     116                if ( empty( $atts['id'] ) ) {
     117                    continue;
     118                }
     119
     120                $settings = get_post_meta( absint( $atts['id'] ), 'modula-settings', true );
     121                if ( empty( $settings ) || ! is_array( $settings ) ) {
     122                    $settings = array();
     123                }
     124
     125                foreach ( apply_filters( 'modula_necessary_styles', array(), $settings ) as $style_slug ) {
     126                    if ( ! wp_style_is( $style_slug, 'enqueued' ) ) {
     127                        wp_enqueue_style( $style_slug );
     128                    }
     129                }
     130            }
     131        }
    93132    }
    94133
     
    431470            $css .= "#{$gallery_id}.modula-gallery .modula-item > a, #{$gallery_id}.modula-gallery .modula-item a.modula-item-link, #{$gallery_id}.modula-gallery .modula-item-content > a:not(.modula-no-follow) { cursor:" . esc_attr( $settings['cursor'] ) . '; } ';
    432471        }
     472
     473        if ( isset( $settings['lightbox'] ) && 'no-link' === $settings['lightbox'] ) {
     474            /* Allows text selection for hover effects titles and captions */
     475            $css .= "#{$gallery_id}.modula-gallery .figc *:not(:has(*)), #{$gallery_id}.modula-gallery .figc .jtg-description, #{$gallery_id}.modula-gallery .figc .jtg-title, #{$gallery_id}.modula-gallery .figc .jtg-description:has(a) { position: relative; z-index: 2; }";
     476        }
     477
    433478        $css .= "#{$gallery_id}.modula-gallery .modula-item-content .modula-no-follow { cursor: default; } ";
    434479        $css  = apply_filters( 'modula_shortcode_css', $css, $gallery_id, $settings );
  • modula-best-grid-gallery/trunk/includes/public/templates/items/item.php

    r3454697 r3483892  
    44    <div class="modula-item-content">
    55
    6         <?php do_action( 'modula_item_before_link', $data ); ?>
    7        
    8         <?php if ( 'no-link' != $data->lightbox ) : ?>
    9             <a<?php echo Modula_Helper::generate_attributes( $data->link_attributes ); ?> class="<?php echo esc_attr( implode( ' ', $data->link_classes ) ); ?>"></a>
    10         <?php endif ?>
    11 
    126        <?php
    13         /**
    14          * Hook: modula_item_after_link
    15          */
     7        do_action( 'modula_item_before_link', $data );
     8        if ( 'no-link' != $data->lightbox ) : ?><a<?php echo Modula_Helper::generate_attributes( $data->link_attributes ); ?> class="<?php echo esc_attr( implode( ' ', $data->link_classes ) ); ?>"></a><?php endif;
    169        do_action( 'modula_item_after_link', $data );
    17 
    18         /**
    19          *Hook : modula_item_template_image
    20          *
    21          * @hooked: modula_sources_and_sizes
    22          */
    2310        do_action( 'modula_item_template_image', $data );
    24 
    25         /**
    26          * Hook: modula_item_after_image
    27          */
    2811        do_action( 'modula_item_after_image', $data );
    2912        ?>
  • modula-best-grid-gallery/trunk/readme.txt

    r3481103 r3483892  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 2.14.20
     7Stable tag: 2.14.21
    88
    99License: GNU General Public License v3.0 or later 
     
    326326
    327327== Changelog ==
     328= 2.14.21 - 16.03.2026 =
     329Fixed: JavaScript error in image edit screen.
     330Fixed: Sometimes the telemetry notice prompt could not be dissmissed.
     331Fixed: An issue where large captions and hover effects disrupted the lightbox functionality.
     332Added: A filter to enqueue front styles early if a gallery shortcode is detected in a page.
     333
    328334= 2.14.20 - 12.03.2026 =
    329335Fixed: License key cannot be changed.
Note: See TracChangeset for help on using the changeset viewer.