Files
Jacek Pyziak 6cc26c0ed2 Add Creative Elements templates and update index files
- Introduced new templates for catalog, checkout, contact, and error pages.
- Implemented caching headers and redirection in index.php files across various directories.
- Enhanced product and layout templates for better integration with Creative Elements.
- Added backoffice header styles and scripts for improved UI/UX in the admin panel.
2025-07-01 00:56:07 +02:00

21 lines
589 B
JavaScript

/*!
* Creative Elements - live Theme & Page Builder
* Copyright 2019-2022 WebshopWorks.com
*/
document.addEventListener('DOMContentLoaded', function() {
var prev;
$('.elementor').each(function() {
var uid = (this.className.match(/elementor-(\d+)/) || '')[1];
if (uid && uid !== prev) {
prev = uid;
$(this).addClass('ce-edit-wrapper');
$('<a class="ce-edit-btn"><i class="ce-icon">').attr({
href: ceFrontendEdit.editor_url + '&uid=' + uid,
title: ceFrontendEdit.edit_title,
}).appendTo(this);
$('<div class="ce-edit-outline">').appendTo(this);
}
});
});