Widget_Icon_List::_content_template()
Render icon list widget output in the editor.
Description
Written as a Backbone JavaScript template and used to generate the live preview.
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |
Source
includes/widgets/icon-list.php
echo '<a ' . $this->get_render_attribute_string( $link_key ) . '>'; } if ( ! empty( $item['icon'] ) ) : ?> <span class="elementor-icon-list-icon"> <i class="<?php echo esc_attr( $item['icon'] ); ?>" aria-hidden="true"></i> </span> <?php endif; ?> <span <?php echo $this->get_render_attribute_string( $repeater_setting_key ); ?>><?php echo $item['text']; ?></span> <?php if ( ! empty( $item['link']['url'] ) ) : ?> </a> <?php endif; ?> </li> <?php endforeach; ?> </ul> <?php } /** * Render icon list widget output in the editor. * * Written as a Backbone JavaScript template and used to generate the live preview. * * @since 1.0.0 * @access protected */ protected function _content_template() { ?>