- WP Super Cache enabled (PHP mode, gzip, Nginx compatible) - Autoptimize: CSS/HTML minification + deferred JS + Google Fonts optimization - Cookie Notice: GDPR/LOPD banner styled with brand colors (navy/burgundy/gold) - Legal pages: Aviso Legal, Política de Privacidad, Política de Cookies (ES) - MU-plugin: custom footer with legal links + Cloud Host credit - Footer: copyright, legal nav, Hosted & Maintained by Cloud Host (cloudhost.es) - Security: X-Frame-Options, X-Content-Type, Referrer-Policy headers - Security: XML-RPC disabled, REST user enumeration blocked - Performance: emoji scripts removed, post revisions limited to 3
11 lines
393 B
JavaScript
11 lines
393 B
JavaScript
// Toggle button control for collapsible elements
|
|
jQuery(".toggle-btn").click(function () {
|
|
$header = jQuery(this);
|
|
$content = $header.next();
|
|
$content.slideToggle(250, "swing", function () {
|
|
jQuery("span.toggle-indicator", $header).toggleClass('dashicons-arrow-down');
|
|
});
|
|
});
|
|
|
|
// Attach an event to export buttons
|
|
jQuery("#exportSettings").click(function(){exportSettings();}); |