✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/kinsley-plugin/elementor/widgets//header-buttons.php
<?php
namespace Elementor;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

/**
 * Kinsley Header Buttons Widget.
 *
 * @since 1.0
 */
class Kinsley_Header_Buttons_Widget extends Widget_Base {

	public function get_name() {
		return 'kinsley-header-buttons';
	}

	public function get_title() {
		return esc_html__( 'Header Buttons', 'kinsley-plugin' );
	}

	public function get_icon() {
		return 'eicon-parallax';
	}

	public function get_categories() {
		return [ 'kinsley-category' ];
	}

	/**
	 * Register widget controls.
	 *
	 * @since 1.0
	 */
	protected function register_controls() {

		$this->start_controls_section(
			'content_tab',
			[
				'label' => esc_html__( 'Content', 'kinsley-plugin' ),
				'tab' => Controls_Manager::TAB_CONTENT,
			]
		);

		$this->add_control(
			'button_show',
			[
				'label' => esc_html__( 'Show Button', 'kinsley-plugin' ),
				'type' => Controls_Manager::SWITCHER,
				'label_on' => __( 'Show', 'kinsley-plugin' ),
				'label_off' => __( 'Hide', 'kinsley-plugin' ),
				'return_value' => 'yes',
				'default' => 'yes',
			]
		);

    $this->add_control(
			'icon',
			[
				'label'       => esc_html__( 'Button (icon)', 'kinsley-plugin' ),
				'type'        => Controls_Manager::ICONS,
				'condition' => [
            'button_show' => 'yes'
        ],
			]
		);

		$this->add_control(
			'button',
			[
				'label'       => esc_html__( 'Button (label)', 'kinsley-plugin' ),
				'label_block' => true,
				'type'        => Controls_Manager::TEXT,
				'placeholder' => esc_html__( 'Button', 'kinsley-plugin' ),
				'default'	=> esc_html__( 'Button', 'kinsley-plugin' ),
				'condition' => [
            'button_show' => 'yes'
        ],
			]
		);

		$this->add_control(
			'link',
			[
				'label'       => esc_html__( 'Button (link)', 'kinsley-plugin' ),
				'type' => Controls_Manager::URL,
				'show_external' => true,
				'condition' => [
            'button_show' => 'yes'
        ],
			]
		);

		$this->add_control(
			'cart_show',
			[
				'label' => esc_html__( 'Show Shopping Cart', 'kinsley-plugin' ),
				'type' => Controls_Manager::SWITCHER,
				'label_on' => __( 'Show', 'kinsley-plugin' ),
				'label_off' => __( 'Hide', 'kinsley-plugin' ),
				'return_value' => 'yes',
				'default' => 'no',
			]
		);

		$this->add_responsive_control(
			'align',
			[
				'label' => __( 'Alignment', 'kinsley-plugin' ),
				'type' => Controls_Manager::CHOOSE,
				'options' => [
					'left' => [
						'title' => __( 'Left', 'kinsley-plugin' ),
						'icon' => 'eicon-text-align-left',
					],
					'center' => [
						'title' => __( 'Center', 'kinsley-plugin' ),
						'icon' => 'eicon-text-align-center',
					],
					'right' => [
						'title' => __( 'Right', 'kinsley-plugin' ),
						'icon' => 'eicon-text-align-right',
					],
				],
				'selectors' => [
					'{{WRAPPER}} .elementor-widget-container' => 'justify-content: {{VALUE}};',
				],
				'default'	=> 'right',
			]
		);

		$this->end_controls_section();

		$this->start_controls_section(
			'content_styling',
			[
				'label' => esc_html__( 'Styles', 'kinsley-plugin' ),
				'tab' => Controls_Manager::TAB_STYLE,
			]
		);

		$this->add_control(
			'button_color',
			[
				'label' => esc_html__( 'Button Color', 'kinsley-plugin' ),
				'type' => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => [
					'{{WRAPPER}} .knsl-btn' => 'color: {{VALUE}} !important;',
				],
			]
		);

		$this->add_control(
			'button_bgcolor',
			[
				'label' => esc_html__( 'Button BG Color', 'kinsley-plugin' ),
				'type' => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => [
					'{{WRAPPER}} .knsl-btn' => 'background-color: {{VALUE}} !important;',
				],
			]
		);

		$this->add_control(
			'button_bdcolor',
			[
				'label' => esc_html__( 'Button Border Color', 'kinsley-plugin' ),
				'type' => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => [
					'{{WRAPPER}} .knsl-btn' => 'box-shadow: 0 0 0 1px {{VALUE}} !important;',
				],
			]
		);

		$this->add_control(
			'button_color_hover',
			[
				'label' => esc_html__( 'Button Color (Hover)', 'kinsley-plugin' ),
				'type' => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => [
					'{{WRAPPER}} .knsl-btn:hover' => 'color: {{VALUE}} !important;',
				],
			]
		);

        $this->add_control(
			'button_bgcolor_hover',
			[
				'label' => esc_html__( 'Button BG Color (Hover)', 'kinsley-plugin' ),
				'type' => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => [
					'{{WRAPPER}} .knsl-btn:hover' => 'background-color: {{VALUE}} !important;',
				],
			]
		);

		$this->add_control(
			'button_bdcolor_hover',
			[
				'label' => esc_html__( 'Button Border Color (Hover)', 'kinsley-plugin' ),
				'type' => Controls_Manager::COLOR,
				'default'   => '',
				'selectors' => [
					'{{WRAPPER}} .knsl-btn:hover' => 'box-shadow: 0 0 0 1px {{VALUE}} !important;',
				],
			]
		);

		$this->add_group_control(
			Group_Control_Typography::get_type(),
			[
				'name' => 'button_typography',
				'label' => esc_html__( 'Button Typography:', 'kinsley-plugin' ),
				'selector' => '{{WRAPPER}} .knsl-btn',
			]
		);

		$this->end_controls_section();

	}


	/**
	 * Render widget output on the frontend.
	 *
	 * @since 1.0
	 */
	protected function render() {
		$settings = $this->get_settings_for_display();

		$this->add_inline_editing_attributes( 'button', 'none' );

		?>

    <?php if ( $settings['button_show'] == 'yes' ) : ?>
    <!-- action button -->
    <a <?php if ( $settings['link'] ) : if ( $settings['link']['is_external'] ) : ?> target="_blank"<?php endif; ?><?php if ( $settings['link']['nofollow'] ) : ?> rel="nofollow"<?php endif; ?> href="<?php echo esc_url( $settings['link']['url'] ); ?>"<?php endif; ?> class="knsl-btn">
      <?php \Elementor\Icons_Manager::render_icon( $settings['icon'], [ 'aria-hidden' => 'true' ] ); ?>
      <span <?php echo $this->get_render_attribute_string( 'button' ); ?>>
        <?php echo wp_kses_post( $settings['button'] ); ?>
      </span>
    </a>
    <!-- action button end -->
    <?php endif; ?>

		<?php if ( $settings['cart_show'] == 'yes' ) : ?>
		<?php if ( class_exists( 'WooCommerce' ) ) : ?>
		<?php if ( true == get_theme_mod( 'cart_shop', true ) ) : if ( is_object( WC()->cart ) ) : ?>
		<!-- cart button -->
		<div class="knsl-minicart">
			<!-- minicart button -->
			<div class="knsl-cart">
				<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="26px" viewBox="0 0 24 26" version="1.1">
				   <path d="M12,0 C9.253906,0 7,2.253906 7,5 L7,6 L2.0625,6 L2,6.9375 L1,24.9375 L0.9375,26 L23.0625,26 L23,24.9375 L22,6.9375 L21.9375,6 L17,6 L17,5 C17,2.253906 14.746094,0 12,0 Z M12,2 C13.65625,2 15,3.34375 15,5 L15,6 L9,6 L9,5 C9,3.34375 10.34375,2 12,2 Z M3.9375,8 L7,8 L7,11 L9,11 L9,8 L15,8 L15,11 L17,11 L17,8 L20.0625,8 L20.9375,24 L3.0625,24 L3.9375,8 Z" />
				</svg>
				<div class="knsl-cart-number">
					<span class="cart-count"><?php echo sprintf (_n( '%d', '%d', WC()->cart->get_cart_contents_count(), 'kinsley-plugin' ), WC()->cart->get_cart_contents_count() ); ?></span>
				</div>
			</div>
			<!-- minicart button end -->
			<!-- minicart -->
			<div class="knsl-minicart-window">
				<div class="cart-widget">
					<?php if ( is_object( WC()->cart ) ) : woocommerce_mini_cart(); endif; ?>
				</div>
			</div>
			<!-- minicart end -->
		</div>
		<!-- cart button end -->
		<?php endif; endif; ?>
		<?php endif; ?>
		<?php endif; ?>

    <!-- menu button -->
    <div class="knsl-menu-btn"><span></span></div>
    <!-- menu button end -->

		<?php
	}
}

Plugin::instance()->widgets_manager->register( new Kinsley_Header_Buttons_Widget() );


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
28 Apr 2026 8.56 AM
builxejc / builxejc
0755
mphb
--
28 Apr 2026 8.56 AM
builxejc / builxejc
0755
.htaccess
0.41 KB
28 Apr 2026 8.56 AM
builxejc / builxejc
0644
about-gallery.php
17.428 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
about-quote.php
10.007 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
about-video.php
9.904 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
about.php
11.499 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
blog-carousel.php
21.767 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
blog-grid.php
27.798 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
buttons.php
5.732 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
cart.php
3.774 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
contact-form.php
10.558 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
contact-info.php
6.965 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
faq-list.php
19.125 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
faq.php
6.405 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
features-inner.php
10.119 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
features.php
5.8 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
footer-gallery.php
7.317 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
footer-menu.php
4.538 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
footer-social-links.php
3.519 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
gallery.php
17.963 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
header-buttons.php
7.553 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
header-logo.php
2.935 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
header-menu.php
6.327 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
hero-banner-2.php
18.282 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
hero-banner.php
34.374 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
hero-slider-creative.php
37.615 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
hero-slider.php
36.898 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
instagram.php
4.758 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
intro.php
11.509 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
map.php
6.364 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
menu-hamburger.php
8.029 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
numbers.php
7.626 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
photo-gallery.php
13.977 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
restaurant-menu-carousel.php
20.838 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
restaurant-menu-grid.php
26.705 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
restaurant-menu-list.php
17.503 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
section-heading-2.php
5.807 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
section-heading.php
8.16 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
services-custom.php
23.354 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
services.php
23.862 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
team.php
20.825 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
testimonials-2.php
11.434 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
testimonials.php
20.005 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644
video-section.php
3.256 KB
18 Nov 2024 1.15 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF