WP init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<ul class="ekit-team-social-list">
|
||||
<?php foreach ($ekit_team_social_icons as $icon) { ?>
|
||||
<li <?php echo $this->get_render_attribute_string('social_item_' . $icon['_id']); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Already escaped by elementor ?>>
|
||||
<a <?php echo $this->get_render_attribute_string('social_link_' . $icon['_id']); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Already escaped by elementor ?>>
|
||||
<?php \Elementor\Icons_Manager::render_icon( $icon['ekit_team_icons'], [ 'aria-hidden' => 'true' ] ); ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
namespace Elementor;
|
||||
|
||||
|
||||
class ElementsKit_Widget_Team_Handler extends \ElementsKit_Lite\Core\Handler_Widget{
|
||||
|
||||
static function get_name() {
|
||||
return 'elementskit-team';
|
||||
}
|
||||
|
||||
static function get_title() {
|
||||
return esc_html__( 'Team', 'elementskit-lite' );
|
||||
}
|
||||
|
||||
static function get_icon() {
|
||||
return 'eicon-image-box ekit-widget-icon ';
|
||||
}
|
||||
|
||||
static function get_categories() {
|
||||
return [ 'elementskit' ];
|
||||
}
|
||||
|
||||
static function get_keywords() {
|
||||
return ['ekit', 'team', 'member', 'crew', 'staff', 'person'];
|
||||
}
|
||||
|
||||
static function get_dir() {
|
||||
return \ElementsKit_Lite::widget_dir() . 'team/';
|
||||
}
|
||||
|
||||
static function get_url() {
|
||||
return \ElementsKit_Lite::widget_url() . 'team/';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user