• File: fusion-tb-related.php
  • Full Path: /home/docteuh/www/twitter/components/fusion-tb-related.php
  • Date Modified: 11/20/2023 6:12 PM
  • File size: 715 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Underscore.js template
 *
 * @package fusion-builder
 * @since 2.0
 */

?>
<script type="text/html" id="tmpl-fusion_tb_related-shortcode">
<section {{{ _.fusionGetAttributes( attr ) }}}>
	{{{ titleElement }}}

	<#
	// If Query Data is set, use it and continue. If not, echo HTML.
	if ( 'undefined' !== typeof query_data && 'undefined' !== typeof query_data.related_items ) {
	#>
	<div {{{ _.fusionGetAttributes( carouselAttrs ) }}}>
		<div class="swiper-wrapper">
			{{{ relatedCarousel }}}
		</div>

		{{{ carouselNav }}}
	</div>
	<#
	} else if ( 'undefined' !== typeof query_data && 'undefined' !== typeof query_data.placeholder ) {
	#>
	{{{ query_data.placeholder }}}
	<# } #>

</section>
</script>