Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-elements   php

Repository URL to install this package:

/ jet-brands / global / brands-loop-item.php

<?php
/**
 * Features list item template
 */
?>
<div class="brands-list__item <?php echo jet_elements_tools()->col_classes( array(
	'desk' => $this->_get_html( 'columns' ),
	'tab'  => $this->_get_html( 'columns_tablet' ),
	'mob'  => $this->_get_html( 'columns_mobile' ),
) ); ?>"><?php
	echo $this->_open_brand_link( 'item_url' );
	echo $this->_get_brand_image( 'item_image' );
	echo $this->_loop_item( array( 'item_name' ), '<h5 class="brands-list__item-name">%s</h5>' );
	echo $this->_loop_item( array( 'item_desc' ), '<div class="brands-list__item-desc">%s</div>' );
	echo $this->_close_brand_link( 'item_url' );
?></div>