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:
54
wp-content/themes/kadence/template-parts/content/archive.php
Normal file
54
wp-content/themes/kadence/template-parts/content/archive.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* The main archive template file for inner content.
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
/**
|
||||
* Hook for Hero Section
|
||||
*/
|
||||
do_action( 'kadence_hero_header' );
|
||||
?>
|
||||
<div id="primary" class="content-area">
|
||||
<div class="content-container site-container">
|
||||
<div id="main" class="site-main">
|
||||
<?php
|
||||
/**
|
||||
* Hook for anything before main content
|
||||
*/
|
||||
do_action( 'kadence_before_main_content' );
|
||||
if ( kadence()->show_in_content_title() ) {
|
||||
get_template_part( 'template-parts/content/archive_header' );
|
||||
}
|
||||
if ( have_posts() ) {
|
||||
?>
|
||||
<ul id="archive-container" class="<?php echo esc_attr( implode( ' ', get_archive_container_classes() ) ); ?>"<?php echo get_archive_infinite_attributes() ? " data-infinite-scroll='" . esc_attr( get_archive_infinite_attributes() ) . "'" : ''; ?>>
|
||||
<?php
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
/**
|
||||
* Hook in loop entry template.
|
||||
*/
|
||||
do_action( 'kadence_loop_entry' );
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php
|
||||
get_template_part( 'template-parts/content/pagination' );
|
||||
} else {
|
||||
get_template_part( 'template-parts/content/error' );
|
||||
}
|
||||
/**
|
||||
* Hook for anything after main content
|
||||
*/
|
||||
do_action( 'kadence_after_main_content' );
|
||||
?>
|
||||
</div><!-- #main -->
|
||||
<?php
|
||||
get_sidebar();
|
||||
?>
|
||||
</div>
|
||||
</div><!-- #primary -->
|
||||
Reference in New Issue
Block a user