Files
acrib.es/wp-content/themes/kadence/template-parts/content/archive_header.php
Malin f3ff7b7186 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
2026-05-19 19:25:59 +02:00

35 lines
1002 B
PHP

<?php
/**
* Template part for displaying the page header of the currently displayed page
*
* @package kadence
*/
namespace Kadence;
$slug = ( is_search() && ! is_post_type_archive( 'product' ) ? 'search' : get_post_type() );
if ( empty( $slug ) ) {
$queried_object = get_queried_object();
if ( is_object( $queried_object ) && property_exists( $queried_object, 'taxonomy' ) ) {
$current_tax = get_taxonomy( $queried_object->taxonomy );
if ( is_object( $current_tax ) && property_exists( $current_tax, 'object_type' ) ) {
$post_types = $current_tax->object_type;
$slug = $post_types[0];
}
}
}
?>
<header class="<?php echo esc_attr( implode( ' ', get_archive_title_classes() ) ); ?>">
<?php
do_action( 'kadence_archive_before_entry_header' );
/**
* Kadence Entry Header
*
* Hooked kadence_entry_header 10
*/
do_action( 'kadence_entry_archive_header', $slug . '_archive', 'normal' );
do_action( 'kadence_archive_after_entry_header' );
?>
</header><!-- .entry-header -->