HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/inc/widgets/social-link/config.php
<?php
/**
 * Thim_Builder Social Link config class
 *
 * @version     1.0.0
 * @author      ThimPress
 * @package     Thim_Builder/Classes
 * @category    Classes
 * @author      Thimpress, tuanta
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'Thim_Builder_Config_Social_Link' ) ) {
	/**
	 * Class Thim_Builder_Config_Social_Link
	 */
	class Thim_Builder_Config_Social_Link extends Thim_Builder_Abstract_Config {

		/**
		 * Thim_Builder_Config_Social_Link constructor.
		 */
		public function __construct() {
			// info
			self::$base = 'social-link';
			self::$name = esc_html__( 'Thim: Social Link', 'hotel-wp' );
			self::$desc = esc_html__( 'Add Social Link', 'hotel-wp' );
			self::$icon = 'thim-widget-icon thim-widget-icon-timetable';

			parent::__construct();
		}

		/**
		 * @return array
		 */
		public function get_options() {

			// options
			return array(
				// Style
				array(
					"type"        => "dropdown",
					"heading"     => esc_html__( "Style", "hotel-wp" ),
					"param_name"  => "style",
					"admin_label" => true,
					"value"       => array(
						esc_html__( "Style 01", "hotel-wp" ) => "style-01",
						esc_html__( "Style 02", "hotel-wp" ) => "style-02",
						esc_html__( "Style 03", "hotel-wp" ) => "style-03"
					),
				),
				//Alignment
				array(
					'type'        => 'dropdown',
					'admin_label' => true,
					'heading'     => esc_html__( 'Icon Alignment', 'hotel-wp' ),
					'param_name'  => 'alignment',
					'value'       => array(
						'Choose the icons alignment'                => '',
						esc_html__( 'Icons at left', 'hotel-wp' )   => 'left',
						esc_html__( 'Icons at center', 'hotel-wp' ) => 'center',
						esc_html__( 'Icons at right', 'hotel-wp' )  => 'right',
					),
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Facebook", "hotel-wp" ),
					"param_name" => "link_face",
					"value"      => '#',
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Twitter", "hotel-wp" ),
					"param_name" => "link_twitter",
					"value"      => '#',
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Skype", "hotel-wp" ),
					"param_name" => "link_skype",
					"value"      => '#',
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Pinterest", "hotel-wp" ),
					"param_name" => "link_pinterest",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Google", "hotel-wp" ),
					"param_name" => "link_google",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Dribble", "hotel-wp" ),
					"param_name" => "link_dribble",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Linkedin", "hotel-wp" ),
					"param_name" => "link_linkedin",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Digg", "hotel-wp" ),
					"param_name" => "link_digg",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Youtube", "hotel-wp" ),
					"param_name" => "link_youtube",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Instagram", "hotel-wp" ),
					"param_name" => "link_instagram",
				),
				array(
					"type"       => "textfield",
					"heading"    => esc_html__( "Link Tripadvisor", "hotel-wp" ),
					"param_name" => "link_tripadvisor",
				),
				//open
				array(
					'type'        => 'dropdown',
					'admin_label' => true,
					'heading'     => esc_html__( 'Open Tab', 'hotel-wp' ),
					'param_name'  => 'tab',
					'value'       => array(
						esc_html__( 'New Tab', 'hotel-wp' )  => '_blank',
						esc_html__( 'Same Tab', 'hotel-wp' ) => '',
					),
				),
			);
		}

		public function get_template_name(){
			return 'default';
		}
	}
}