| Server IP : 141.193.213.11 / Your IP : 216.73.216.101 Web Server : nginx System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64 User : fpm200079 ( 200079) PHP Version : 8.2.36 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nas/content/live/bartislaw/wp-content/themes/spk/js/ |
Upload File : |
(function ($) {
// Theme Logo Add.
wp.customize('theme_logo', function (value) {
value.bind(function (to) {
$('.header1-cl .left img').attr("src", to);
});
});
// Theme Logo Alt Text.
wp.customize('theme_logo_alt', function (value) {
value.bind(function (to) {
$('.header1-cl .left img').attr("alt", to);
});
});
// Theme Logo Margin.
wp.customize('theme_logo_mtop', function (value) {
value.bind(function (to) {
$('#HeaderLogoDiv').css("margin-top", to);
});
});
// Theme Phone Heading.
wp.customize('theme_phone_hd', function (value) {
value.bind(function (to) {
$('#HeaderPhoneHD').html(to);
});
});
// Theme Number Phone1.
wp.customize('theme_phone', function (value) {
value.bind(function (to) {
$('#HeaderPhone1').text(to);
});
});
// Theme Number Phone2.
wp.customize('theme_phone2', function (value) {
value.bind(function (to) {
$('#HeaderPhone2').text(to);
});
});
// Theme Address 1.
wp.customize('theme_address', function (value) {
value.bind(function (to) {
$('#HeaderAddress1').html(to);
});
});
// Theme Address 2.
wp.customize('theme_address2', function (value) {
value.bind(function (to) {
$('#HeaderAddress2').html(to);
});
});
// Theme Header Envelope Link.
wp.customize('theme_envelope_icon_link', function (value) {
value.bind(function (to) {
$('#WPCustomizerHeaderEnvelopeLink').attr('href', to);
});
});
// Theme Header Map Marker Link.
wp.customize('theme_mapmarker_icon_link', function (value) {
value.bind(function (to) {
$('#WPCustomizerHeaderMapMarkerLink').attr('href', to);
});
});
// Theme Banner Background.
wp.customize('theme_banner_bg', function (value) {
value.bind(function (to) {
var BannerType = CheckThemeBannerType();
if (BannerType) {
$('#home-section-banner .home-section-banner3').css("background", "url(" + to + ")");
} else {
$('#home-section-banner').css("background", "url(" + to + ")");
}
});
});
// Theme Banner 2 Background.
wp.customize('theme_banner_bg2', function (value) {
value.bind(function (to) {
$('#BannerBGRespon').attr("src", to);
});
});
// Theme Banner Lawyer Pic.
wp.customize('theme_banner_lwy', function (value) {
value.bind(function (to) {
$('#BannerLayPic').attr("src", to);
});
});
// Theme Banner Lawyer Pic Link.
wp.customize('theme_banner_lwy_link', function (value) {
value.bind(function (to) {
$('#BannerLayPicLink').attr("href", to);
});
});
// Theme Banner Text Pic.
wp.customize('theme_banner_txt', function (value) {
value.bind(function (to) {
$('#BannerTxtPic').attr("src", to);
$('#BannerTxtPic2').attr("src", to);
});
});
// Theme Banner Button Text.
wp.customize('theme_banner_btn_txt', function (value) {
value.bind(function (to) {
$('#BannerButton').text(to);
});
});
// Theme Banner Button Link.
wp.customize('theme_banner_btn_txt', function (value) {
value.bind(function (to) {
$('#BannerButton').attr("href", to);
});
});
// Theme Social Media Heading.
wp.customize('them_social_media_hd', function (value) {
value.bind(function (to) {
$('.SocialMediaHDC').text(to);
});
});
// Theme Address Footer.
wp.customize('them_address_section_heading', function (value) {
value.bind(function (to) {
$('#WPCustomizerAddressHD').html(to);
});
});
wp.customize('them_address_text', function (value) {
value.bind(function (to) {
$('#WPCustomizerAddresstxt').html(to);
});
});
// Theme Phone Footer.
wp.customize('them_phone_section_heading', function (value) {
value.bind(function (to) {
$('#WPCustomizerPhoneHD').html(to);
});
});
wp.customize('them_phone_number_text', function (value) {
value.bind(function (to) {
$('#WPCustomizerPhonetxt').html(to);
});
});
// Theme Fax Footer.
wp.customize('them_fax_section_heading', function (value) {
value.bind(function (to) {
$('#WPCustomizerFaxHD').html(to);
});
});
wp.customize('them_fax_number_text', function (value) {
value.bind(function (to) {
$('#WPCustomizerFaxtxt').html(to);
});
});
wp.customize('theme_footer_address1', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter1Address').html(to);
});
});
wp.customize('theme_footer_phone1', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter1Phone').html(to);
});
});
wp.customize('theme_footer_fax1', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter1Fax').html(to);
});
});
wp.customize('theme_footer_address2', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter2Address').html(to);
});
});
wp.customize('theme_footer_phone2', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter2Phone').html(to);
});
});
wp.customize('theme_footer_fax2', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter2Fax').html(to);
});
});
wp.customize('theme_footer_address3', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter3Address').html(to);
});
});
wp.customize('theme_footer_phone3', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter3Phone').html(to);
});
});
wp.customize('theme_footer_fax3', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter3Fax').html(to);
});
});
wp.customize('theme_footer_address4', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter4Address').html(to);
});
});
wp.customize('theme_footer_phone4', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter4Phone').html(to);
});
});
wp.customize('theme_footer_fax4', function (value) {
value.bind(function (to) {
$('#WPCustomizerFooter4Fax').html(to);
});
});
wp.customize('theme_footer_other_get_direction_txt', function (value) {
value.bind(function (to) {
$('#WPCustomizerGDText').html(to);
});
});
wp.customize('theme_footer_other_get_direction_txt', function (value) {
value.bind(function (to) {
$('#WPCustomizerGDTextDesk').html(to);
});
});
wp.customize('theme_footer_other_get_direction_link', function (value) {
value.bind(function (to) {
$('#WPCustomizerGDText').attr("href", to);
});
});
wp.customize('theme_footer_other_get_direction_link', function (value) {
value.bind(function (to) {
$('#WPCustomizerGDLinkDesk').attr("href", to);
});
});
wp.customize('theme_footer_other_get_help_now_txt', function (value) {
value.bind(function (to) {
$('#WPCustomizerGHNText').html(to);
});
});
wp.customize('theme_footer_other_get_help_now_link', function (value) {
value.bind(function (to) {
$('#WPCustomizerGHNText').attr("href", to);
});
});
wp.customize('theme_footer_other_menu_top_txt', function (value) {
value.bind(function (to) {
$('#WPCustomizerMEnuTopTxt').html(to);
});
});
wp.customize('theme_footer_other_copyright_txt', function (value) {
value.bind(function (to) {
$('#WPCustomizerCopyRightTxt').html(to);
});
});
/*.........Call To Action Box........*/
wp.customize('theme_call_to_action_box_image', function (value) {
value.bind(function (to) {
$('.cal-to-action-box img').attr("src", to);
});
});
wp.customize('theme_call_to_action_box_image_alt', function (value) {
value.bind(function (to) {
$('.cal-to-action-box img').attr("alt", to);
});
});
wp.customize('theme_call_to_action_box_txt', function (value) {
value.bind(function (to) {
$('.cal-to-action-box .media-body p').html(to);
});
});
/*.........Related Articals/Topics/Videos Box Settings...........*/
wp.customize('theme_related_rarticals_page_hd', function (value) {
value.bind(function (to) {
$('#WPCustomizerRAPage').html(to);
});
});
wp.customize('theme_related_topics_page_hd', function (value) {
value.bind(function (to) {
$('#WPCustomizerRTPage').html(to);
});
});
wp.customize('theme_related_videos_hd', function (value) {
value.bind(function (to) {
$('#WPCustomizerRVPage').html(to);
});
});
/*.......................Check Theme Banner....................*/
function CheckThemeBannerType() {
var CheckBannerType = $('#home-section-banner div').hasClass('home-section-banner3');
return CheckBannerType;
}
})(jQuery);