Uname:Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64

403WebShell
403Webshell
Server IP : 119.59.104.26  /  Your IP : 216.73.217.74
Web Server : Apache/2
System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64
User : com12370 ( 1517)
PHP Version : 7.2.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/com12370/public_html/wp-content/themes/MIXThemes/framework/admin/theme-options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/com12370/public_html/wp-content/themes/MIXThemes/framework/admin/theme-options/share.php
<?php

tie_build_theme_option(
	array(
		'title' =>	esc_html__( 'Share Settings', TIELABS_TEXTDOMAIN ),
		'id'    => 'share-settings-tab',
		'type'  => 'tab-title',
	));


# General share buttons settings
tie_build_theme_option(
	array(
		'title' => esc_html__( 'General Settings', TIELABS_TEXTDOMAIN ),
		'id'    => 'share-general-settings',
		'type'  => 'header',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Share Buttons for Pages', TIELABS_TEXTDOMAIN ),
		'id'   => 'share_buttons_pages',
		'type' => 'checkbox',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( "Use the post's Short Link", TIELABS_TEXTDOMAIN ),
		'id'   => 'share_shortlink',
		'type' => 'checkbox',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Twitter Username', TIELABS_TEXTDOMAIN ) . ' <small>'. esc_html__( '(optional)', TIELABS_TEXTDOMAIN ). '</small>',
		'id'   => 'share_twitter_username',
		'type' => 'text',
	));


# Above Posts share buttons
tie_build_theme_option(
	array(
		'title' => esc_html__( 'Above Post share Buttons', TIELABS_TEXTDOMAIN ),
		'id'    => 'above-post-share',
		'type'  => 'header',
	));

tie_build_theme_option(
	array(
		'name'   => esc_html__( 'Above Post share Buttons', TIELABS_TEXTDOMAIN ),
		'id'     => 'share_post_top',
		'type'   => 'checkbox',
		'toggle' => '#share-top-options',
	));

echo '<div id="share-top-options">';
	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Center the buttons', TIELABS_TEXTDOMAIN ),
			'id'   => 'share_center_top',
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Show the share title', TIELABS_TEXTDOMAIN ),
			'id'   => 'share_title_top',
			'hint' => sprintf( esc_html__( 'You can change the "%s" text from the Translation tab.', TIELABS_TEXTDOMAIN ), esc_html__( 'Share', TIELABS_TEXTDOMAIN ) ),
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name'	  => esc_html__( 'Share Buttons Style', TIELABS_TEXTDOMAIN ),
			'id'      => 'share_style_top',
			'type'    => 'visual',
			'options' => array(
				''        => 'share/share-1.png',
				'style_2' => 'share/share-2.png',
				'style_3' => 'share/share-3.png',
				'style_4' => 'share/share-4.png',
		)));

	tie_get_share_buttons_options( 'top' );
echo '</div>';


# Below Posts share buttons
tie_build_theme_option(
	array(
		'title' => esc_html__( 'Below Post Share Buttons', TIELABS_TEXTDOMAIN ),
		'type'  => 'header',
	));

tie_build_theme_option(
	array(
		'name'   => esc_html__( 'Below Post Share Buttons', TIELABS_TEXTDOMAIN ),
		'id'     => 'share_post_bottom',
		'type'   => 'checkbox',
		'toggle' => '#share-bottom-options',
	));

echo '<div id="share-bottom-options">';
	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Center the buttons', TIELABS_TEXTDOMAIN ),
			'id'   => 'share_center_bottom',
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Show the share title', TIELABS_TEXTDOMAIN ),
			'id'   => 'share_title_bottom',
			'hint' => sprintf( esc_html__( 'You can change the "%s" text from the Translation tab.', TIELABS_TEXTDOMAIN ), esc_html__( 'Share', TIELABS_TEXTDOMAIN ) ),
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name'	  => esc_html__( 'Share Buttons Style', TIELABS_TEXTDOMAIN ),
			'id'      => 'share_style_bottom',
			'type'    => 'visual',
			'options' => array(
				''        => 'share/share-1.png',
				'style_2' => 'share/share-2.png',
				'style_3' => 'share/share-3.png',
				'style_4' => 'share/share-4.png',
		)));

	tie_get_share_buttons_options();
echo '</div>';


# General share buttons settings
tie_build_theme_option(
	array(
		'title' => esc_html__( 'Select and Share', TIELABS_TEXTDOMAIN ),
		'id'    => 'select-and-share',
		'type'  => 'header',
	));

tie_build_theme_option(
	array(
		'text' => esc_html__( 'When you double-click a word or highlight a few words, a small share icons are displayed. When you click an icon, a share modal will automatically launch, containing the text you selected along with a link to the post.', TIELABS_TEXTDOMAIN ),
		'type' => 'message',
	));

tie_build_theme_option(
	array(
		'name'   => esc_html__( 'Select and Share', TIELABS_TEXTDOMAIN ),
		'id'     => 'select_share',
		'toggle' => '#select_share_twitter-item, #select_share_linkedin-item, #select_share_facebook-item, #facebook_app_id-item, #select_share_email-item',
		'type'   => 'checkbox',
	));

	tie_build_theme_option(
		array(
			'name'   => esc_html__( 'Twitter', TIELABS_TEXTDOMAIN ),
			'id'     => 'select_share_twitter',
			'type'   => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'LinkedIn', TIELABS_TEXTDOMAIN ),
			'id'   => 'select_share_linkedin',
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Email', TIELABS_TEXTDOMAIN ),
			'id'   => 'select_share_email',
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Facebook', TIELABS_TEXTDOMAIN ),
			'id'   => 'select_share_facebook',
			'type' => 'checkbox',
		));

	tie_build_theme_option(
		array(
			'name' => esc_html__( 'Facebook APP ID', TIELABS_TEXTDOMAIN ),
			'id'   => 'facebook_app_id',
			'hint' => esc_html__( '(Required)', TIELABS_TEXTDOMAIN ),
			'type' => 'text',
		));

Youez - 2016 - github.com/yon3zu
LinuXploit