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:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying a post's summary
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
use function get_post_type;
|
||||
use function the_content;
|
||||
use function the_excerpt;
|
||||
$slug = ( is_search() ? 'search' : get_post_type() );
|
||||
$excerpt_element = kadence()->option( $slug . '_archive_element_excerpt' );
|
||||
if ( isset( $excerpt_element ) && is_array( $excerpt_element ) && true === $excerpt_element['enabled'] ) {
|
||||
?>
|
||||
<div class="entry-summary">
|
||||
<?php
|
||||
if ( true === kadence()->sub_option( $slug . '_archive_element_excerpt', 'fullContent' ) ) {
|
||||
global $more; $more = 0;
|
||||
the_content(
|
||||
sprintf(
|
||||
wp_kses(
|
||||
/* translators: %s: Name of current post. Only visible to screen readers */
|
||||
__( 'Read More<span class="screen-reader-text"> "%s"</span>', 'kadence' ),
|
||||
array(
|
||||
'span' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
get_the_title()
|
||||
)
|
||||
);
|
||||
} else {
|
||||
the_excerpt();
|
||||
}
|
||||
?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php
|
||||
}
|
||||
Reference in New Issue
Block a user