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.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks, Elementor
|
||||
* @copyright 2019-2022 WebshopWorks.com & Elementor.com
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0.html
|
||||
*/
|
||||
|
||||
namespace CE;
|
||||
|
||||
defined('_PS_VERSION_') or die;
|
||||
?>
|
||||
<script type="text/template" id="tmpl-elementor-templates-modal__header">
|
||||
<# var modalHeader = 'elementor-templates-modal__header'; #>
|
||||
<div class="{{{ modalHeader }}}__logo-area"></div>
|
||||
<div class="{{{ modalHeader }}}__menu-area"></div>
|
||||
<div class="{{{ modalHeader }}}__items-area">
|
||||
<# if ( closeType ) { #>
|
||||
<div class="{{{ modalHeader }}}__close {{{ modalHeader }}}__close--{{{ closeType }}} {{{ modalHeader }}}__item">
|
||||
<# if ( 'skip' === closeType ) { #>
|
||||
<span><?= __('Skip') ?></span>
|
||||
<# } #>
|
||||
<i class="eicon-close" aria-hidden="true" title="<?= __('Close') ?>"></i>
|
||||
<span class="elementor-screen-only"><?= __('Close') ?></span>
|
||||
</div>
|
||||
<# } #>
|
||||
<div id="elementor-template-library-header-tools"></div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/template" id="tmpl-elementor-templates-modal__header__logo">
|
||||
<img src="<?= esc_attr(_CE_URL_ . 'logo.png') ?>" alt="CE" width="26" height="26" style="margin-right: 10px;">
|
||||
<span class="elementor-templates-modal__header__logo__title">{{{ title }}}</span>
|
||||
</script>
|
||||
Reference in New Issue
Block a user