feat: initial ACRIB WordPress deployment

- WordPress 6.9.4 (es_ES) with Kadence theme
- Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto
- Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold
- Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI)
- Plugins: Kadence Blocks, Polylang, Contact Form 7
- Custom CSS with full brand styling and responsive layout
- HTTPS enforced via wp-config.php proxy detection
This commit is contained in:
Malin
2026-05-19 19:25:59 +02:00
commit f3ff7b7186
6119 changed files with 1984255 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php declare( strict_types=1 );
namespace KadenceWP\KadenceBlocks\Optimizer\Image\Traits;
trait Image_Key_Generator_Trait {
/**
* Generate a unique key for indexing image data.
*
* @param string|null|bool $src The image source URL.
* @param string|null|bool $sizes The image sizes attribute.
*
* @return string|null A unique key or null if inputs are missing or non-string.
*/
private function generate_image_key( $src, $sizes ): ?string {
// Only allow actual strings.
if ( ! is_string( $src ) || ! is_string( $sizes ) ) {
return null;
}
// Bypass empty attributes.
if ( $src === '' || $sizes === '' ) {
return null;
}
return md5( $src . '|' . $sizes );
}
}