diff --git a/src/assets/css/tainacan-gutenberg-block-item-gallery.css b/src/assets/css/tainacan-gutenberg-block-item-gallery.css index 131dc0862..daca13344 100644 --- a/src/assets/css/tainacan-gutenberg-block-item-gallery.css +++ b/src/assets/css/tainacan-gutenberg-block-item-gallery.css @@ -609,34 +609,49 @@ a.pswp__share--download:hover { .pswp--minimal--dark .pswp__top-bar { background: none; } +.item-gallery-edit-container .tainacan-media-component .swiper-slide, +.item-gallery-edit-container .tainacan-media-component .swiper-button-prev, +.item-gallery-edit-container .tainacan-media-component .swiper-button-next { + cursor: not-allowed !important; } +.item-gallery-edit-container .preview-warning { + width: 100%; + font-size: 0.875rem; + font-style: italic; + color: inherit; + text-align: center; + margin: 0 auto; + padding: 8px 2px 2px 2px; } + .tainacan-media-component { --swiper-theme-color: var(--tainacan-secondary, #298596); --swiper-navigation-size: 44px; + --tainacan-media-metadata-color: var(--tainacan-label-color, #454647); --tainacan-media-background: var(--tainacan-background-color, transparent); --tainacan-media-main-carousel-height: 60vh; --tainacan-media-main-carousel-width: 100%; --tainacan-media-thumbs-carousel-width: 100%; --tainacan-media-thumbs-carousel-item-size: 136px; - width: 100%; height: auto; display: block; background-color: var(--tainacan-media-background, transparent); box-sizing: border-box; } + .tainacan-media-component:not(.alignfull):not(.alignwide) { + width: 100%; } .tainacan-media-component .swiper-slide, .tainacan-media-component .swiper-slide::after, .tainacan-media-component .swiper-slide::before { box-sizing: border-box; } /* Style valid for both cases of carousel, main and thumbs */ -.tainacan-media-component__swiper-main .swiper-button-prev::after, -.tainacan-media-component__swiper-main .swiper-container-rtl .swiper-button-next::after, -.tainacan-media-component__swiper-thumbs .swiper-button-prev::after, -.tainacan-media-component__swiper-thumbs .swiper-container-rtl .swiper-button-next::after { +.tainacan-media-component__swiper-main .swiper-button-prev:not(.swiper-button-has-svg)::after, +.tainacan-media-component__swiper-main .swiper-container-rtl .swiper-button-next:not(.swiper-button-has-svg)::after, +.tainacan-media-component__swiper-thumbs .swiper-button-prev:not(.swiper-button-has-svg)::after, +.tainacan-media-component__swiper-thumbs .swiper-container-rtl .swiper-button-next:not(.swiper-button-has-svg)::after { content: 'previous'; } -.tainacan-media-component__swiper-main .swiper-button-next::after, -.tainacan-media-component__swiper-main .swiper-button-prev::after, -.tainacan-media-component__swiper-thumbs .swiper-button-next::after, -.tainacan-media-component__swiper-thumbs .swiper-button-prev::after { +.tainacan-media-component__swiper-main .swiper-button-next:not(.swiper-button-has-svg)::after, +.tainacan-media-component__swiper-main .swiper-button-prev:not(.swiper-button-has-svg)::after, +.tainacan-media-component__swiper-thumbs .swiper-button-next:not(.swiper-button-has-svg)::after, +.tainacan-media-component__swiper-thumbs .swiper-button-prev:not(.swiper-button-has-svg)::after { font-family: "TainacanIcons"; opacity: 0.7; transition: opacity ease 0.2s; } @@ -645,6 +660,18 @@ a.pswp__share--download:hover { .tainacan-media-component__swiper-thumbs:hover .swiper-button-next::after, .tainacan-media-component__swiper-thumbs:hover .swiper-button-prev::after { opacity: 1; } +.tainacan-media-component__swiper-main .swiper-button-next.swiper-button-has-svg::after, +.tainacan-media-component__swiper-main .swiper-button-prev.swiper-button-has-svg::after, +.tainacan-media-component__swiper-thumbs .swiper-button-next.swiper-button-has-svg::after, +.tainacan-media-component__swiper-thumbs .swiper-button-prev.swiper-button-has-svg::after { + display: none; } +.tainacan-media-component__swiper-main .swiper-button-next.swiper-button-has-svg svg, +.tainacan-media-component__swiper-main .swiper-button-prev.swiper-button-has-svg svg, +.tainacan-media-component__swiper-thumbs .swiper-button-next.swiper-button-has-svg svg, +.tainacan-media-component__swiper-thumbs .swiper-button-prev.swiper-button-has-svg svg { + min-width: calc(var(--swiper-navigation-size) * 1.35); + min-height: calc(var(--swiper-navigation-size) * 1.35); + fill: currentColor; } .tainacan-media-component__swiper-main ul.swiper-wrapper, .tainacan-media-component__swiper-thumbs ul.swiper-wrapper { list-style: none; @@ -689,16 +716,21 @@ a.pswp__share--download:hover { .tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata.hide-name.hide-description.hide-caption br { display: none; visibility: hidden; } + .tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata.hide-name.hide-description.hide-caption { + display: none; + visibility: hidden; } .tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata__name { font-size: 1em; font-weight: bold; - color: var(--tainacan-label-color, #454647); } + color: var(--tainacan-media-metadata-color, #454647); + opacity: 0.75; } .tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata__caption { font-size: 0.9375em; - color: var(--tainacan-input-color, #1d1d1d); } + color: var(--tainacan-media-metadata-color, #454647); } .tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata__caption { font-size: 0.875em; - color: var(--tainacan-info-color, #555758); } + color: var(--tainacan-media-metadata-color, #454647); + opacity: 0.85; } .tainacan-media-component__swiper-main .swiper-slide-content { width: 100%; height: 100%; @@ -760,7 +792,9 @@ a.pswp__share--download:hover { max-height: var(--tainacan-media-main-carousel-height, 60vh); } .tainacan-media-component__swiper-main .swiper-slide-content img { width: auto; - max-height: var(--tainacan-media-main-carousel-height, 60vh); } + max-height: var(--tainacan-media-main-carousel-height, 60vh); + max-width: 100%; + height: auto; } .tainacan-media-component__swiper-main .swiper-slide-content .twitter-tweet { margin-left: auto; margin-right: auto; } @@ -806,13 +840,15 @@ a.pswp__share--download:hover { border-bottom-color: var(--swiper-theme-color, #298596); } .tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata__name { font-size: 1em; - color: var(--tainacan-label-color, #454647); } + color: var(--tainacan-media-metadata-color, #454647); + opacity: 0.75; } .tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata__caption { font-size: 0.9375em; - color: var(--tainacan-input-color, #1d1d1d); } + color: var(--tainacan-media-metadata-color, #454647); } .tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata__caption { font-size: 0.875em; - color: var(--tainacan-info-color, #555758); } + color: var(---tainacan-media-metadata-color, #454647); + opacity: 0.85; } .tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata { text-align: center; display: block; @@ -829,6 +865,9 @@ a.pswp__share--download:hover { .tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata.hide-name.hide-description.hide-caption br { display: none; visibility: hidden; } + .tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata.hide-name.hide-description.hide-caption { + display: none; + visibility: hidden; } .tainacan-media-component__swiper-thumbs li.swiper-slide a { width: 100%; max-width: var(--tainacan-media-thumbs-carousel-item-size, 136px); diff --git a/src/assets/css/tainacan-gutenberg-block-item-gallery.css.map b/src/assets/css/tainacan-gutenberg-block-item-gallery.css.map index 0d5606fa0..28e5b23e3 100644 --- a/src/assets/css/tainacan-gutenberg-block-item-gallery.css.map +++ b/src/assets/css/tainacan-gutenberg-block-item-gallery.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAA,2EAA2E;AAE3E;;EAEE;AAOF,uBAAuB;AACvB,KAAM;EACL,OAAO,EAAE,IAAI;EACb,QAAQ,EAAC,QAAQ;EACjB,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,IAAI,EAAC,CAAC;EACN,GAAG,EAAC,CAAC;EACL,QAAQ,EAAE,MAAM;EAChB,gBAAgB,EAAE,IAAI;EACtB,YAAY,EAAE,IAAI;EAClB,OAAO,ECjBa,OAAO;EDkB3B,wBAAwB,EAAE,IAAI;EAC9B,8EAA8E;EAC9E,2BAA2B,EAAE,MAAM;EACnC,OAAO,EAAE,IAAI;EAGZ,OAAE;IACD,UAAU,EAAE,UAAU;EAIxB,SAAI;IACH,SAAS,EAAE,IAAI;;AAIjB,kEAAkE;AAClE,sBAAuB;EACtB,oGAAoG;EACpG,OAAO,EAAE,KAAK;EACd,WAAW,EAAC,OAAO;EACnB,+BAA+B;EAC/B,UAAU,EAAE,2CAAqE;;AAGlF,WAAY;EACX,OAAO,EAAE,KAAK;;AAGf,8BAA+B;EAC9B,uBAAuB;EACvB,MAAM,EAAE,e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AE,MAAM;AAEtB,6CAAmB;EACf,SAAS,EAAE,QAAQ;AAEvB,iDAAuB;EACnB,UAAU,EAAE,MAAM;EAClB,SAAS,EAAE,GAAG;EACd,SAAS,EAAE,KAAK", "sources": ["../../../node_modules/photoswipe/src/css/main.scss","../../views/gutenberg-blocks/blocks/item-gallery/style.scss","../../../node_modules/photoswipe/src/css/default-skin/default-skin.scss"], "names": [], "file": "tainacan-gutenberg-block-item-gallery.css" diff --git a/src/classes/theme-helper/class-tainacan-theme-helper.php b/src/classes/theme-helper/class-tainacan-theme-helper.php index 2867d94c6..daac2a508 100644 --- a/src/classes/theme-helper/class-tainacan-theme-helper.php +++ b/src/classes/theme-helper/class-tainacan-theme-helper.php @@ -1104,5 +1104,236 @@ class Theme_Helper { $args = wp_parse_args($args, [ 'items_list_layout' => 'carousel' ]); return $this->get_tainacan_related_items_list($args); } + + /** + * Returns an item gallery, containing document, + * attachments and other information in a slider, carousel and lightbox + * + * @param array $args { + * Optional. Array of arguments. + * @type string $item_id The Item ID + * @type string $blockId A unique identifier for the gallery, will be generated automatically if not provided, + * @type array $layoutElements Array of elements present in the gallery. Possible values are 'main' and 'carousel' + * @type array $mediaSources Array of sources for the gallery. Possible values are 'document' and 'attachments' + * @type bool $hideFileNameMain Hides the Main slider file name + * @type bool $hideFileCaptionMain Hides the Main slider file caption + * @type bool $hideFileDescriptionMain Hides the Main slider file description + * @type bool $hideFileNameThumbnails Hides the Thumbnails carousel file name + * @type bool $hideFileCaptionThumbnails Hides the Thumbnails carousel file caption + * @type bool $hideFileDescriptionThumbnails Hides the Thumbnails carousel file description + * @type bool $openLightboxOnClick Enables the behaviour of opening a lightbox with zoom when clicking on the media item + * @type bool $showDownloadButtonMain Displays a download button bellow the Main slider + * @return string The HTML div to be used for rendering the item galery component + */ + public function get_tainacan_item_gallery($args = []) { + + $defaults = array( + 'blockId' => uniqid(), + 'layoutElements' => array( 'main' => true, 'thumbnails' => true ), + 'mediaSources' => array( 'document' => true, 'attachments' => true, 'metadata' => false), + 'hideFileNameMain' => true, + 'hideFileCaptionMain' => false, + 'hideFileDescriptionMain' => true, + 'hideFileNameThumbnails' => true, + 'hideFileCaptionThumbnails' => true, + 'hideFileDescriptionThumbnails' => true, + 'openLightboxOnClick' => true, + 'showDownloadButtonMain' => true + ); + $args = wp_parse_args($args, $defaults); + + // Gets the current Item. This way, the function can be used in the loop without needing to pass it + $item = isset($args['itemId']) ? $this->tainacan_get_item($args['itemId']) : $this->tainacan_get_item(); + if (!$item) + return; + + // Gets options from block attributes + $item_id = $item->get_id(); + $block_id = $args['blockId']; + $layout_elements = $args['layoutElements']; + $media_sources = $args['mediaSources']; + $hide_file_name_main = $args['hideFileNameMain']; + $hide_file_caption_main = $args['hideFileCaptionMain']; + $hide_file_description_main = $args['hideFileDescriptionMain']; + $hide_file_name_thumbnails = $args['hideFileNameThumbnails']; + $hide_file_caption_thumbnails = $args['hideFileCaptionThumbnails']; + $hide_file_description_thumbnails = $args['hideFileDescriptionThumbnails']; + $open_lightbox_on_click = $args['openLightboxOnClick']; + $show_download_button_main = $args['showDownloadButtonMain']; + + // Prefils arrays with proper values to avoid messsy IFs + $layout_elements = array( + 'main' => (isset($layout_elements['main']) && ($layout_elements['main'] === true || $layout_elements['main'] == 'true')) ? true : false, + 'thumbnails' => (isset($layout_elements['thumbnails']) && ($layout_elements['thumbnails'] === true || $layout_elements['thumbnails'] == 'true')) ? true : false + ); + $media_sources = array( + 'document' => (isset($media_sources['document']) && ($media_sources['document'] === true || $media_sources['document'] == 'true')) ? true : false, + 'attachments' => (isset($media_sources['attachments']) && ($media_sources['attachments'] === true || $media_sources['attachments'] == 'true')) ? true : false, + 'metadata' => (isset($media_sources['metadata']) && ($media_sources['metadata'] === true || $media_sources['metadata'] == 'true')) ? true : false + ); + + $media_items_main = array(); + $media_items_thumbnails = array(); + + if ( $media_sources['attachments'] ) + $attachments = tainacan_get_the_attachments(null, $item_id); + + if ( $layout_elements['main'] ) { + + $class_slide_metadata = ''; + if ($hide_file_name_main) + $class_slide_metadata .= ' hide-name'; + if ($hide_file_description_main) + $class_slide_metadata .= ' hide-description'; + if ($hide_file_caption_main) + $class_slide_metadata .= ' hide-caption'; + + if ( $media_sources['document'] && !empty(tainacan_get_the_document($item_id)) ) { + $is_document_type_attachment = tainacan_get_the_document_type($item_id) === 'attachment'; + + // Document description is a bit more tricky + if ($is_document_type_attachment) { + $attachment = get_post(tainacan_get_the_document_raw($item_id)); + $document_description = ($attachment instanceof WP_Post) ? $attachment->post_content : ''; + } + + $media_items_main[] = + tainacan_get_the_media_component_slide(array( + 'after_slide_metadata' => (( $show_download_button_main && tainacan_the_item_document_download_link($item_id) != '' ) ? + sprintf('%s', tainacan_the_item_document_download_link($item_id)) + : ''), + 'media_content' => tainacan_get_the_document($item_id), + 'media_content_full' => $open_lightbox_on_click ? ( $is_document_type_attachment ? tainacan_get_the_document($item_id, 'full') : sprintf('
', tainacan_get_the_document($item_id, 'full')) ) : '', + 'media_title' => $is_document_type_attachment ? get_the_title(tainacan_get_the_document_raw($item_id)) : '', + 'media_description' => $is_document_type_attachment ? $document_description : '', + 'media_caption' => $is_document_type_attachment ? wp_get_attachment_caption(tainacan_get_the_document_raw($item_id)) : '', + 'media_type' => tainacan_get_the_document_type($item_id), + 'class_slide_metadata' => $class_slide_metadata + )); + } + + if ( $media_sources['attachments'] ) { + foreach ( $attachments as $attachment ) { + $media_items_main[] = + tainacan_get_the_media_component_slide(array( + 'after_slide_metadata' => (( $show_download_button_main && tainacan_the_item_attachment_download_link($attachment->ID) != '' ) ? + sprintf('%s', tainacan_the_item_attachment_download_link($attachment->ID)) + : ''), + 'media_content' => tainacan_get_attachment_as_html($attachment->ID, $item_id), + 'media_content_full' => $open_lightbox_on_click ? ( wp_attachment_is('image', $attachment->ID) ? wp_get_attachment_image( $attachment->ID, 'full', false) : sprintf('', $block_id, tainacan_get_attachment_html_url($attachment->ID)) ) : '', + 'media_title' => $attachment->post_title, + 'media_description' => $attachment->post_content, + 'media_caption' => $attachment->post_excerpt, + 'media_type' => $attachment->post_mime_type, + 'class_slide_metadata' => $class_slide_metadata + )); + } + } + } + + if ( $layout_elements['thumbnails'] ) { + + $class_slide_metadata = ''; + if ($hide_file_name_thumbnails) + $class_slide_metadata .= ' hide-name'; + if ($hide_file_description_thumbnails) + $class_slide_metadata .= ' hide-description'; + if ($hide_file_caption_thumbnails) + $class_slide_metadata .= ' hide-caption'; + + if ( $media_sources['document'] && !empty(tainacan_get_the_document($item_id)) ) { + $is_document_type_attachment = tainacan_get_the_document_type($item_id) === 'attachment'; + $media_items_thumbnails[] = + tainacan_get_the_media_component_slide(array( + 'media_content' => get_the_post_thumbnail(null, 'tainacan-medium'), + 'media_content_full' => $open_lightbox_on_click ? ($is_document_type_attachment ? tainacan_get_the_document($item_id, 'full') : sprintf(' ', tainacan_get_the_document($item_id, 'full')) ) : '', + 'media_title' => $is_document_type_attachment ? get_the_title(tainacan_get_the_document_raw($item_id)) : '', + 'media_description' => $is_document_type_attachment ? get_the_content(null, false, tainacan_get_the_document_raw($item_id)) : '', + 'media_caption' => $is_document_type_attachment ? wp_get_attachment_caption(tainacan_get_the_document_raw($item_id)) : '', + 'media_type' => tainacan_get_the_document_type($item_id), + 'class_slide_metadata' => $class_slide_metadata + )); + } + + if ( $media_sources['attachments'] ) { + foreach ( $attachments as $attachment ) { + $media_items_thumbnails[] = + tainacan_get_the_media_component_slide(array( + 'media_content' => wp_get_attachment_image( $attachment->ID, 'tainacan-medium', false ), + 'media_content_full' => ( $open_lightbox_on_click && !$layout_elements['main'] ) ? ( wp_attachment_is('image', $attachment->ID) ? wp_get_attachment_image( $attachment->ID, 'full', false) : sprintf('', $block_id, tainacan_get_attachment_html_url($attachment->ID)) ) : '', + 'media_title' => $attachment->post_title, + 'media_description' => $attachment->post_content, + 'media_caption' => $attachment->post_excerpt, + 'media_type' => $attachment->post_mime_type, + 'class_slide_metadata' => $class_slide_metadata + )); + } + } + } + + $block_custom_css = ''; + + // Text color. First we check for custom preset colors, then actual values + $block_custom_css .= isset($args['textColor']) ? sprintf('--tainacan-media-metadata-color: var(--wp--preset--color--%s);', $args['textColor']) : ''; + $block_custom_css .= isset($args['style']['color']['text']) ? sprintf('--tainacan-media-metadata-color: %s;', $args['style']['color']['text']) : ''; + + // Background color. First we check for custom preset colors, then actual values + $block_custom_css .= isset($args['backgroundColor']) ? sprintf('--tainacan-media-background: var(--wp--preset--color--%s);', $args['backgroundColor']) : ''; + $block_custom_css .= isset($args['style']['color']['background']) ? sprintf('--tainacan-media-background: %s;', $args['style']['color']['background']) : ''; + + // Link color, if enabled. Firts we check for custom preset colors, then actual values. + $block_custom_css .= isset($args['linkColor']) ? sprintf('--swiper-theme-color: var(--wp--preset--color--%s);', $args['linkColor']) : ''; + if ( isset($args['style']['elements']['link']['color']['text']) ) { + $link_color = $args['style']['elements']['link']['color']['text']; + if ( strpos( $link_color, 'var:' ) !== false ) { + $link_color = str_replace('|', '--', $link_color); + $link_color = str_replace('var:', 'var(--wp--', $link_color) . ')'; + } + $block_custom_css .= sprintf('--swiper-theme-color: %s;', $link_color); + } + + // Other values are obtained directly from the attributes + $block_custom_css .= (isset($args['arrowsSize']) && is_numeric($args['arrowsSize'])) ? sprintf('--swiper-navigation-size: %spx;', $args['arrowsSize']) : ''; + $block_custom_css .= (isset($args['mainSliderHeight']) && is_numeric($args['mainSliderHeight'])) ? sprintf('--tainacan-media-main-carousel-height: %svh;', $args['mainSliderHeight']) : ''; + $block_custom_css .= (isset($args['mainSliderWidth']) && is_numeric($args['mainSliderWidth'])) ? sprintf('--tainacan-media-main-carousel-width: %s%%;', $args['mainSliderWidth']) : ''; + $block_custom_css .= (isset($args['thumbnailsCarouselWidth']) && is_numeric($args['thumbnailsCarouselWidth'])) ? sprintf('--tainacan-media-thumbs-carousel-width: %s%%;', $args['thumbnailsCarouselWidth']) : ''; + $block_custom_css .= (isset($args['thumbnailsCarouselItemSize']) && is_numeric($args['thumbnailsCarouselItemSize'])) ? sprintf('--tainacan-media-thumbs-carousel-item-size: %spx;', $args['thumbnailsCarouselItemSize']) : ''; + + $wrapper_attributes = get_block_wrapper_attributes( + array( + 'style' => $block_custom_css, + 'class' => 'tainacan-media-component' + ) + ); + + return tainacan_get_the_media_component( + 'tainacan-item-gallery-block_id-' . $block_id, + $layout_elements['thumbnails'] ? $media_items_thumbnails : null, + $layout_elements['main'] ? $media_items_main : null, + array( + 'wrapper_attributes' => $wrapper_attributes, + 'class_main_div' => '', + 'class_thumbs_div' => '', + 'swiper_main_options' => $layout_elements['main'] ? array( + 'navigation' => array( + 'nextEl' => sprintf('.swiper-navigation-next_tainacan-item-gallery-block_id-%s-main', $block_id), + 'prevEl' => sprintf('.swiper-navigation-prev_tainacan-item-gallery-block_id-%s-main', $block_id), + 'preloadImages' => false, + 'lazy' => true + ) + ) : '', + 'swiper_thumbs_options' => ( $layout_elements['thumbnails'] && !$layout_elements['main'] ) ? array( + 'navigation' => array( + 'nextEl' => sprintf('.swiper-navigation-next_tainacan-item-gallery-block_id-%s-thumbs', $block_id), + 'prevEl' => sprintf('.swiper-navigation-prev_tainacan-item-gallery-block_id-%s-thumbs', $block_id), + 'preloadImages' => false, + 'lazy' => true + ) + ) : '', + 'swiper_arrows_as_svg' => true, + 'disable_lightbox' => !$open_lightbox_on_click, + ) + ); + } } diff --git a/src/classes/theme-helper/template-tags.php b/src/classes/theme-helper/template-tags.php index 1308d9995..9e977e7e3 100644 --- a/src/classes/theme-helper/template-tags.php +++ b/src/classes/theme-helper/template-tags.php @@ -278,23 +278,28 @@ function tainacan_the_media_component($media_id, $media_items_thumbs, $media_ite * @param array $media_items_main Array of media items to be rendered inside main, bigger the carousel. Default to empty array * @param array|string $args { * Optional. Array of arguments. - * @type string before_main_div String to be added before the main gallery div - * @type string after_main_div String to be added after the main gallery div - * @type string before_thumbs_div String to be added before the thumbs gallery div - * @type string after_thumbs_div String to be added after the thumbs gallery div - * @type string before_main_ul String to be added before the main gallery ul - * @type string after_main_ul String to be added after the main gallery ul - * @type string before_thumbs_ul String to be added before the thumbs gallery ul - * @type string after_thumbs_ul String to be added after the thumbs gallery ul - * @type string class_main_div Class to be added to the main gallery div - * @type string class_main_ul Class to be added to the main gallery ul - * @type string class_main_li Class to be added to the main gallery li - * @type string class_thumbs_div Class to be added to the thumbs gallery div - * @type string class_thumbs_ul Class to be added to the thumbs gallery ul - * @type string class_thumbs_li Class to be added to the thumbs gallery li - * @type array swiper_main_options Object with SwiperJS options for the main gallery - * @type array swiper_thumbs_options Object with SwiperJS options for the thumb gallery - * @type bool show_share_button Shows share button on lightbox + * @type string wrapper_attributes String containing attrs (style, class) for the wrapper div. If used, remember to pass class="tainacan-media-component" + * @type string before_main_div String to be added before the main gallery div + * @type string after_main_div String to be added after the main gallery div + * @type string before_thumbs_div String to be added before the thumbs gallery div + * @type string after_thumbs_div String to be added after the thumbs gallery div + * @type string before_main_ul String to be added before the main gallery ul + * @type string after_main_ul String to be added after the main gallery ul + * @type string before_thumbs_ul String to be added before the thumbs gallery ul + * @type string after_thumbs_ul String to be added after the thumbs gallery ul + * @type string class_main_div Class to be added to the main gallery div + * @type string class_main_ul Class to be added to the main gallery ul + * @type string class_main_li Class to be added to the main gallery li + * @type string class_thumbs_div Class to be added to the thumbs gallery div + * @type string class_thumbs_ul Class to be added to the thumbs gallery ul + * @type string class_thumbs_li Class to be added to the thumbs gallery li + * @type array swiper_main_options Object with SwiperJS options for the main gallery + * @type array swiper_thumbs_options Object with SwiperJS options for the thumb gallery + * @type bool swiper_arrows_as_svg Uses SVG icons insetead of Tainacan Icon font for navigation arrows + * @type string swiper_arrow_next_custom_svg Custom SVG icon to render next navigation arrow + * @type string swiper_arrow_prev_custom_svg Custom SVG icon to render previous navigation arrow + * @type bool disable_lightbox Do not open Photoswiper layer on click + * @type bool show_share_button Shows share button on lightbox * } * @return string */ @@ -308,6 +313,7 @@ function tainacan_get_the_media_component( global $TAINACAN_BASE_URL; $args = array_merge(array( + 'wrapper_attributes' => 'class="tainacan-media-component"', 'before_main_div' => '', 'after_main_div' => '', 'before_thumbs_div' => '', @@ -324,6 +330,10 @@ function tainacan_get_the_media_component( 'class_thumbs_li' => '', 'swiper_main_options' => [], 'swiper_thumbs_options' => [], + 'swiper_arrows_as_svg' => false, + 'swiper_arrow_next_custom_svg' => '', + 'swiper_arrow_prev_custom_svg' => '', + 'disable_lightbox' => false, 'show_share_button' => false ), $args); @@ -333,11 +343,16 @@ function tainacan_get_the_media_component( $args['media_thumbs_id'] = $media_id . '-thumbs'; $args['media_id'] = $media_id; + ob_start(); + if ( $args['has_media_main'] || $args['has_media_thumbs'] ) : + // Modal lightbox layer for rendering photoswipe - add_action('wp_footer', 'tainacan_get_the_media_modal_layer'); + if (!$args['disable_lightbox']) + add_action('wp_footer', 'tainacan_get_the_media_modal_layer'); wp_enqueue_style( 'tainacan-media-component', $TAINACAN_BASE_URL . '/assets/css/tainacan-gutenberg-block-item-gallery.css', array(), TAINACAN_VERSION); + ?> -+ + {__('Select an item to display its media gallery, including Document and Attachments.', 'tainacan')} +
+ + + ) : null + } + + { itemId ? ( +