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,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying a post's title
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
$item_type = get_post_type();
|
||||
$elements = kadence()->option( $item_type . '_archive_title_element_breadcrumb' );
|
||||
$args = array( 'show_title' => true );
|
||||
if ( isset( $elements ) && is_array( $elements ) ) {
|
||||
if ( isset( $elements['show_title'] ) && ! $elements['show_title'] ) {
|
||||
$args['show_title'] = false;
|
||||
}
|
||||
}
|
||||
kadence()->print_breadcrumb( $args );
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the archive description
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
if ( apply_filters( 'kadence_show_archive_description', ( is_tax() || is_category() || is_tag() || ( is_archive() && ! is_search() && ! is_post_type_archive( 'product' ) ) ) ) ) {
|
||||
the_archive_description( '<div class="archive-description">', '</div>' );
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Heroic Knowledgebase Search
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
use function hkb_show_knowledgebase_search;
|
||||
use function hkb_get_knowledgebase_searchbox_placeholder_text;
|
||||
use function ht_knowledge_base_activate_live_search;
|
||||
use function get_search_query;
|
||||
|
||||
/* important - load live search scripts */ ht_knowledge_base_activate_live_search(); ?>
|
||||
<form class="hkb-site-search search-form" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<label class="hkb-screen-reader-text screen-reader-text" for="s"><?php esc_html_e( 'Search For', 'kadence' ); ?></label>
|
||||
<input class="hkb-site-search__field search-field" type="text" value="<?php echo get_search_query(); ?>" placeholder="<?php echo esc_attr( hkb_get_knowledgebase_searchbox_placeholder_text() ); ?>" name="s" autocomplete="off">
|
||||
<input type="hidden" name="ht-kb-search" value="1" />
|
||||
<?php if ( defined( 'ICL_LANGUAGE_CODE' ) ) { ?>
|
||||
<input type="hidden" name="lang" value="<?php echo esc_attr( ICL_LANGUAGE_CODE ); ?>"/>
|
||||
<?php } ?>
|
||||
<button class="hkb-site-search__button search-submit" type="submit"><span><?php esc_html_e( 'Search', 'kadence' ); ?></span></button>
|
||||
<div class="kadence-search-icon-wrap"><?php kadence()->print_icon( 'search', '', false ); ?></div>
|
||||
</form>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying a search.
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
if ( function_exists( 'is_bbpress' ) && is_bbpress() ) {
|
||||
bbp_get_template_part( 'form', 'search' );
|
||||
} else {
|
||||
get_search_form();
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying a post's title
|
||||
*
|
||||
* @package kadence
|
||||
*/
|
||||
|
||||
namespace Kadence;
|
||||
|
||||
if ( is_404() ) {
|
||||
?>
|
||||
<h1 class="page-title 404-page-title">
|
||||
<?php esc_html_e( 'Oops! That page can’t be found.', 'kadence' ); ?>
|
||||
</h1>
|
||||
<?php
|
||||
} elseif ( is_home() && ! have_posts() ) {
|
||||
?>
|
||||
<h1 class="page-title post-home-title archive-title">
|
||||
<?php esc_html_e( 'Nothing Found', 'kadence' ); ?>
|
||||
</h1>
|
||||
<?php
|
||||
} elseif ( is_home() && ! is_front_page() ) {
|
||||
?>
|
||||
<h1 class="page-title post-home-title archive-title">
|
||||
<?php single_post_title(); ?>
|
||||
</h1>
|
||||
<?php
|
||||
} elseif ( is_search() ) {
|
||||
?>
|
||||
<h1 class="page-title search-title">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: search query */
|
||||
esc_html__( 'Search Results for: %s', 'kadence' ),
|
||||
'<span>' . get_search_query() . '</span>'
|
||||
);
|
||||
?>
|
||||
</h1>
|
||||
<?php
|
||||
} elseif ( is_archive() || is_home() ) {
|
||||
the_archive_title( '<h1 class="page-title archive-title">', '</h1>' );
|
||||
}
|
||||
Reference in New Issue
Block a user