Indicaciones del cliente: adopción solo Perros/Gatos, fichas nuevas y todo configurable
- Adopción sin filtros ni etiquetas: acceso a Perros y Gatos, tarjetas de foto y nombre. - Ficha nueva: galería, vídeo, fecha de nacimiento o edad aproximada, carácter, necesidades, convivencia y hogar que buscamos (textos por idioma, datos compartidos). - Estados disponible / en proceso / adoptado y animales destacados. - Botón «Quiero conocerlo/la» con formulario breve (animal incluido) y confirmación. - Botones para compartir cada ficha (WhatsApp, Facebook, copiar enlace). - Portada corta según la propuesta del cliente; donaciones, cifras, etc. ocultas. - Páginas Acoge y Preguntas frecuentes, menú con submenús, sin hotel. - Aviso de cita previa y lista de ayuda material editables desde el panel. - Plugin núcleo dividido en módulos (i18n, animales, formularios, APIs). - Migración 5 idempotente: respeta las páginas editadas por el cliente. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,12 +3,12 @@ get_header();
|
||||
?>
|
||||
<section class="ga-404">
|
||||
<div class="ga-narrow">
|
||||
<?php echo ga_icon( 'paw' ); ?>
|
||||
<?php echo ga_placeholder_svg(); ?>
|
||||
<h1><?php ga_e( 'Vaya, esta página se ha escapado', 'Ai ama, orri hau ihes egin du' ); ?></h1>
|
||||
<p><?php ga_e( 'No encontramos lo que buscas, pero hay muchos animales que sí te están buscando a ti.', 'Ez dugu bilatzen duzuna aurkitu, baina animalia asko zure bila dabiltza.' ); ?></p>
|
||||
<p>
|
||||
<a class="ga-btn" href="<?php echo esc_url( get_post_type_archive_link( 'animal' ) ); ?>"><?php ga_e( 'Ver animales en adopción', 'Ikusi adopzioko animaliak' ); ?></a>
|
||||
<a class="ga-btn ga-btn--ghost" href="<?php echo esc_url( ga_home_url() ); ?>"><?php ga_e( 'Ir al inicio', 'Hasierara joan' ); ?></a>
|
||||
<a class="ga-btn ga-btn--outline" href="<?php echo esc_url( ga_home_url() ); ?>"><?php ga_e( 'Ir al inicio', 'Hasierara joan' ); ?></a>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -1,98 +1,60 @@
|
||||
<?php
|
||||
global $wp_query;
|
||||
/**
|
||||
* Adopta (/adopta/) y listados de cada especie (/especie/perro/, /especie/gato/).
|
||||
* Sin filtros: la única separación es Perros / Gatos.
|
||||
*/
|
||||
get_header();
|
||||
|
||||
$base = get_post_type_archive_link( 'animal' );
|
||||
$current = is_tax( 'especie' ) ? get_queried_object() : null;
|
||||
$here = $current ? get_term_link( $current ) : $base;
|
||||
$fields = ga_fields();
|
||||
$especies = get_terms( array( 'taxonomy' => 'especie', 'hide_empty' => false ) );
|
||||
$params = array_filter( array(
|
||||
'tamano' => sanitize_key( (string) get_query_var( 'tamano' ) ),
|
||||
'sexo' => sanitize_key( (string) get_query_var( 'sexo' ) ),
|
||||
'edad' => sanitize_key( (string) get_query_var( 'edad' ) ),
|
||||
'con' => sanitize_key( (string) get_query_var( 'con' ) ),
|
||||
) );
|
||||
|
||||
/** Chip que activa o desactiva un filtro manteniendo el resto. */
|
||||
$chip = function ( $key, $value, $label ) use ( $params, $here ) {
|
||||
$active = ( $params[ $key ] ?? '' ) === $value;
|
||||
$args = $params;
|
||||
if ( $active ) {
|
||||
unset( $args[ $key ] );
|
||||
} else {
|
||||
$args[ $key ] = $value;
|
||||
}
|
||||
printf(
|
||||
'<a class="ga-chip%s" href="%s"%s>%s</a>',
|
||||
$active ? ' is-active' : '',
|
||||
esc_url( add_query_arg( $args, $here ) ),
|
||||
$active ? ' aria-current="true"' : '',
|
||||
esc_html( $label )
|
||||
);
|
||||
};
|
||||
|
||||
$groups = array(
|
||||
'tamano' => array( $fields['tamano']['label'], $fields['tamano']['options'] ),
|
||||
'edad' => array( ga__( 'Edad', 'Adina' ), ga_age_groups() ),
|
||||
'sexo' => array( $fields['sexo']['label'], $fields['sexo']['options'] ),
|
||||
'con' => array( $fields['compatible']['label'], $fields['compatible']['options'] ),
|
||||
$current = is_tax( 'especie' ) ? get_queried_object() : null;
|
||||
$tiles = ! $current && 'tiles' === ga_opt( 'adopcion', 'archive_mode' );
|
||||
$groups = array(
|
||||
'perro' => array( ga_opt( 'adopcion', 'dog_label' ), (int) ga_opt( 'adopcion', 'dog_image' ), 'dog' ),
|
||||
'gato' => array( ga_opt( 'adopcion', 'cat_label' ), (int) ga_opt( 'adopcion', 'cat_image' ), 'cat' ),
|
||||
);
|
||||
|
||||
$title = $current
|
||||
? ga__( ga_plural( $current->name ) . ' en adopción', ga_plural( $current->name ) . ' adopzioan' )
|
||||
: ga__( 'Animales en adopción', 'Animaliak adopzioan' );
|
||||
$title = $current ? $current->name : ga__( 'Adopta', 'Adoptatu' );
|
||||
if ( $current ) {
|
||||
$title = ga_plural( $current->name );
|
||||
}
|
||||
?>
|
||||
|
||||
<header class="ga-page-head">
|
||||
<div class="ga-wrap">
|
||||
<span class="ga-eyebrow"><?php ga_e( 'Puerta uno · Adopta', 'Lehen atea · Adoptatu' ); ?></span>
|
||||
<span class="ga-eyebrow"><?php ga_e( 'Adopta', 'Adoptatu' ); ?></span>
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
<p><?php ga_e( 'Todos se entregan con microchip, vacunas al día y esterilizados. Si alguno te roba el corazón, escríbenos y te contamos todo sobre él.', 'Guztiak mikrotxiparekin, txertoak egunean eta antzututa ematen dira. Norbaitek bihotza lapurtzen badizu, idatzi iezaguzu eta dena kontatuko dizugu.' ); ?></p>
|
||||
<?php if ( ga_opt( 'adopcion', 'intro' ) ) : ?>
|
||||
<p><?php ga_opt_e( 'adopcion', 'intro' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="ga-section ga-section--tight">
|
||||
<div class="ga-wrap">
|
||||
<div class="ga-filters">
|
||||
<div class="ga-filters__grid">
|
||||
<div class="ga-filters__group">
|
||||
<span class="ga-filters__label"><?php ga_e( 'Especie', 'Espeziea' ); ?></span>
|
||||
<div class="ga-filters__chips">
|
||||
<?php foreach ( (array) $especies as $term ) : ?>
|
||||
<?php $active = $current && $current->term_id === $term->term_id; ?>
|
||||
<a class="ga-chip<?php echo $active ? ' is-active' : ''; ?>" href="<?php echo esc_url( add_query_arg( $params, $active ? $base : get_term_link( $term ) ) ); ?>"><?php echo esc_html( ga_plural( $term->name ) ); ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php foreach ( $groups as $key => [ $label, $options ] ) : ?>
|
||||
<div class="ga-filters__group">
|
||||
<span class="ga-filters__label"><?php echo esc_html( $label ); ?></span>
|
||||
<div class="ga-filters__chips">
|
||||
<?php foreach ( $options as $value => $option ) : ?>
|
||||
<?php $chip( $key, $value, $option ); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ( ! $tiles ) : ?>
|
||||
<nav class="ga-tabs" aria-label="<?php echo esc_attr( ga__( 'Especies', 'Espezieak' ) ); ?>">
|
||||
<?php foreach ( $groups as $slug => [ $label ] ) : ?>
|
||||
<?php
|
||||
$url = ga_species_url( $slug );
|
||||
$active = $current && untrailingslashit( get_term_link( $current ) ) === untrailingslashit( $url );
|
||||
?>
|
||||
<a class="ga-tab<?php echo $active ? ' is-active' : ''; ?>" href="<?php echo esc_url( $url ); ?>"<?php echo $active ? ' aria-current="page"' : ''; ?>><?php echo esc_html( $label ); ?></a>
|
||||
<?php endforeach; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $tiles ) : ?>
|
||||
<div class="ga-species">
|
||||
<?php foreach ( $groups as $slug => [ $label, $image, $class ] ) : ?>
|
||||
<a class="ga-species__tile ga-species__tile--<?php echo esc_attr( $class ); ?>" href="<?php echo esc_url( ga_species_url( $slug ) ); ?>">
|
||||
<?php if ( $image ) : ?>
|
||||
<?php echo wp_get_attachment_image( $image, 'large', false, array( 'alt' => '' ) ); ?>
|
||||
<?php else : ?>
|
||||
<span class="ga-species__paw"><?php echo ga_placeholder_svg(); ?></span>
|
||||
<?php endif; ?>
|
||||
<span class="ga-species__label"><?php echo esc_html( $label ); ?> <span aria-hidden="true">→</span></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="ga-filters__footer">
|
||||
<span class="ga-filters__count">
|
||||
<?php
|
||||
$n = (int) $wp_query->found_posts;
|
||||
echo wp_kses( ga__(
|
||||
sprintf( 'Mostrando <strong>%d</strong> %s', $n, 1 === $n ? 'animal' : 'animales' ),
|
||||
sprintf( '<strong>%d</strong> animalia erakusten', $n )
|
||||
), array( 'strong' => array() ) );
|
||||
?>
|
||||
</span>
|
||||
<?php if ( $params || $current ) : ?>
|
||||
<a class="ga-btn ga-btn--small ga-btn--outline" href="<?php echo esc_url( $base ); ?>"><?php ga_e( 'Quitar filtros', 'Kendu iragazkiak' ); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php elseif ( have_posts() ) : ?>
|
||||
<div class="ga-grid">
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
@@ -105,16 +67,10 @@ $title = $current
|
||||
<?php echo paginate_links( array( 'prev_text' => '←', 'next_text' => '→' ) ); ?>
|
||||
</nav>
|
||||
<?php else : ?>
|
||||
<p class="ga-empty"><?php ga_e( 'No hay animales que coincidan con estos filtros ahora mismo. ¡Prueba con otros o vuelve pronto!', 'Une honetan ez dago iragazki hauekin bat datorren animaliarik. Probatu beste batzuekin edo itzuli laster!' ); ?></p>
|
||||
<p class="ga-empty"><?php ga_e( 'Ahora mismo no hay animales en esta sección. ¡Vuelve pronto!', 'Une honetan ez dago animaliarik atal honetan. Itzuli laster!' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="ga-panel ga-panel--soft ga-archive-help">
|
||||
<div>
|
||||
<h3><?php ga_e( '¿No puedes adoptar?', 'Ezin duzu adoptatu?' ); ?></h3>
|
||||
<p><?php ga_e( 'Puedes ser casa de acogida, voluntario/a o ayudarnos con donaciones.', 'Harrera-etxe, boluntario izan zaitezke edo dohaintzekin lagundu.' ); ?></p>
|
||||
</div>
|
||||
<a class="ga-btn ga-btn--primary" href="<?php echo esc_url( ga_page_url( 'colabora' ) ); ?>"><?php ga_e( 'Descubre cómo colaborar', 'Ikusi nola lagundu' ); ?> <?php echo ga_icon( 'arrow' ); ?></a>
|
||||
</div>
|
||||
<?php get_template_part( 'template-parts/adoption-process' ); ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -62,3 +62,24 @@
|
||||
update();
|
||||
} );
|
||||
} )();
|
||||
|
||||
// Ficha: miniaturas de la galería y copiar enlace.
|
||||
( function () {
|
||||
var main = document.querySelector( '[data-ga-gallery-main] img' );
|
||||
document.querySelectorAll( '.ga-thumbs button' ).forEach( function ( btn ) {
|
||||
btn.addEventListener( 'click', function () {
|
||||
if ( ! main ) { return; }
|
||||
main.src = btn.dataset.full;
|
||||
main.removeAttribute( 'srcset' );
|
||||
document.querySelectorAll( '.ga-thumbs button' ).forEach( function ( b ) { b.removeAttribute( 'aria-current' ); } );
|
||||
btn.setAttribute( 'aria-current', 'true' );
|
||||
} );
|
||||
} );
|
||||
document.querySelectorAll( '[data-copy]' ).forEach( function ( btn ) {
|
||||
btn.addEventListener( 'click', function () {
|
||||
if ( navigator.clipboard ) {
|
||||
navigator.clipboard.writeText( btn.dataset.copy ).then( function () { btn.textContent = btn.dataset.done; } );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
} )();
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
<?php
|
||||
$colabora = ga_page_url( 'colabora' );
|
||||
$columns = array(
|
||||
ga__( 'Adopta', 'Adoptatu' ) => array(
|
||||
ga__( 'Animales disponibles', 'Animalia eskuragarriak' ) => get_post_type_archive_link( 'animal' ),
|
||||
ga__( 'Cómo adoptar', 'Nola adoptatu' ) => $colabora . '#adopcion',
|
||||
ga__( 'Quiénes somos', 'Nor gara' ) => ga_page_url( 'quienes-somos' ),
|
||||
ga__( 'Hotel para perros y gatos', 'Txakur eta katuentzako hotela' ) => ga_page_url( 'hotel' ),
|
||||
ga__( 'Adopta', 'Adoptatu' ) => array(
|
||||
ga__( 'Perros', 'Txakurrak' ) => ga_species_url( 'perro' ),
|
||||
ga__( 'Gatos', 'Katuak' ) => ga_species_url( 'gato' ),
|
||||
ga__( 'Acoge', 'Harrera' ) => ga_page_url( 'acoge' ),
|
||||
),
|
||||
ga__( 'Colabora', 'Lagundu' ) => array(
|
||||
ga__( 'Casa de acogida', 'Harrera-etxea' ) => $colabora . '#acogida',
|
||||
ga__( 'Voluntariado', 'Boluntariotza' ) => $colabora . '#voluntariado',
|
||||
ga__( 'Donaciones', 'Dohaintzak' ) => $colabora . '#donaciones',
|
||||
ga__( 'Contacto', 'Harremanetarako' ) => ga_page_url( 'contacto' ),
|
||||
ga__( 'Colabora', 'Lagundu' ) => array(
|
||||
ga__( 'Voluntariado', 'Boluntariotza' ) => $colabora . '#voluntariado',
|
||||
ga__( 'Ayuda material', 'Laguntza materiala' ) => $colabora . '#material',
|
||||
),
|
||||
'Bilagun' => array(
|
||||
ga__( 'Quiénes somos', 'Nor gara' ) => ga_page_url( 'quienes-somos' ),
|
||||
ga__( 'Preguntas frecuentes', 'Ohiko galderak' ) => ga_page_url( 'preguntas-frecuentes' ),
|
||||
ga__( 'Contacto', 'Harremanetarako' ) => ga_page_url( 'contacto' ),
|
||||
),
|
||||
);
|
||||
?>
|
||||
@@ -40,6 +42,9 @@ $columns = array(
|
||||
<div>
|
||||
<h2><?php ga_e( 'Visítanos', 'Etorri gu ikustera' ); ?></h2>
|
||||
<ul>
|
||||
<?php if ( ga_info( 'cita' ) ) : ?>
|
||||
<li class="ga-footer__cita"><?php echo esc_html( ga_info( 'cita' ) ); ?></li>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_info( 'direccion' ) ) : ?>
|
||||
<li><a href="<?php echo esc_url( ga_info( 'maps' ) ); ?>" target="_blank" rel="noopener"><?php echo esc_html( ga_info( 'direccion' ) ); ?></a></li>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
define( 'GA_THEME_VERSION', '2.1.0' );
|
||||
define( 'GA_THEME_VERSION', '2.2.0' );
|
||||
|
||||
require_once __DIR__ . '/inc/customizer.php';
|
||||
require_once __DIR__ . '/inc/dynamic-css.php';
|
||||
@@ -171,22 +171,65 @@ function ga_brand( $context = 'header' ) {
|
||||
}
|
||||
|
||||
/* ---------- Ayudantes de animales ---------- */
|
||||
/** Distintivo de estado: solo se muestra «En proceso» o «Adoptado» (los disponibles no llevan etiqueta). */
|
||||
function ga_status_badge( $post_id = null ) {
|
||||
$post_id = $post_id ?: get_the_ID();
|
||||
$estado = ga_get( $post_id, 'estado' ) ?: 'disponible';
|
||||
$label = ga_label( $post_id, 'estado' ) ?: ga__( 'En adopción', 'Adopzioan' );
|
||||
printf( '<span class="ga-status ga-status--%s">%s</span>', esc_attr( $estado ), esc_html( $label ) );
|
||||
$estado = ga_status( $post_id );
|
||||
if ( 'disponible' === $estado ) {
|
||||
return;
|
||||
}
|
||||
printf( '<span class="ga-status ga-status--%s">%s</span>', esc_attr( $estado ), esc_html( ga_label( $post_id, 'estado' ) ) );
|
||||
}
|
||||
|
||||
/** Foto principal o, si no hay, la silueta del logo. */
|
||||
function ga_animal_photo( $size = 'ga-card', $post_id = null ) {
|
||||
$post_id = $post_id ?: get_the_ID();
|
||||
if ( has_post_thumbnail( $post_id ) ) {
|
||||
echo get_the_post_thumbnail( $post_id, $size, array( 'loading' => 'lazy' ) );
|
||||
} else {
|
||||
echo '<div class="ga-card__placeholder">' . ga_icon( 'paw' ) . '</div>';
|
||||
echo '<div class="ga-card__placeholder">' . ga_placeholder_svg() . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
/** Silueta del logo para huecos sin foto. */
|
||||
function ga_placeholder_svg() {
|
||||
return ga_logo_svg( 'mark' ) ?: ga_icon( 'paw' );
|
||||
}
|
||||
|
||||
/** Texto del botón «Quiero conocerlo / conocerla» según el sexo. */
|
||||
function ga_meet_label( $post_id = null ) {
|
||||
$post_id = $post_id ?: get_the_ID();
|
||||
return 'hembra' === ga_get( $post_id, 'sexo' ) ? ga_opt( 'adopcion', 'btn_f' ) : ga_opt( 'adopcion', 'btn_m' );
|
||||
}
|
||||
|
||||
/** Enlaces para compartir una ficha. */
|
||||
function ga_share_links( $post_id = null ) {
|
||||
$post_id = $post_id ?: get_the_ID();
|
||||
$url = get_permalink( $post_id );
|
||||
$text = get_the_title( $post_id ) . ' — ' . ga__( 'busca familia en Bilagun', 'familia bila Bilagunen' );
|
||||
printf(
|
||||
'<div class="ga-share"><span>%s</span><a class="ga-share__btn" href="%s" target="_blank" rel="noopener">WhatsApp</a><a class="ga-share__btn" href="%s" target="_blank" rel="noopener">Facebook</a><button type="button" class="ga-share__btn" data-copy="%s" data-done="%s">%s</button></div>',
|
||||
esc_html( ga__( 'Comparte su historia:', 'Partekatu haren istorioa:' ) ),
|
||||
esc_url( 'https://wa.me/?text=' . rawurlencode( $text . ' ' . $url ) ),
|
||||
esc_url( 'https://www.facebook.com/sharer/sharer.php?u=' . rawurlencode( $url ) ),
|
||||
esc_attr( $url ),
|
||||
esc_attr( ga__( '¡Copiado!', 'Kopiatuta!' ) ),
|
||||
esc_html( ga__( 'Copiar enlace', 'Kopiatu esteka' ) )
|
||||
);
|
||||
}
|
||||
|
||||
/** Vídeo de la ficha: oEmbed (YouTube, Vimeo…) o archivo de vídeo. */
|
||||
function ga_video_html( $url ) {
|
||||
if ( ! $url ) {
|
||||
return '';
|
||||
}
|
||||
if ( preg_match( '/\.(mp4|webm|mov)(\?.*)?$/i', $url ) ) {
|
||||
return '<video controls preload="metadata" playsinline src="' . esc_url( $url ) . '"></video>';
|
||||
}
|
||||
$embed = wp_oembed_get( $url, array( 'width' => 900 ) );
|
||||
return $embed ?: '<a href="' . esc_url( $url ) . '" target="_blank" rel="noopener">' . esc_html( ga__( 'Ver vídeo', 'Ikusi bideoa' ) ) . '</a>';
|
||||
}
|
||||
|
||||
function ga_species( $post_id = null ) {
|
||||
$terms = get_the_terms( $post_id ?: get_the_ID(), 'especie' );
|
||||
return $terms && ! is_wp_error( $terms ) ? $terms[0]->name : '';
|
||||
@@ -199,15 +242,6 @@ function ga_plural( $name ) {
|
||||
return preg_match( '/s$/i', $name ) ? $name : $name . 's';
|
||||
}
|
||||
|
||||
/** «Bien con niños» / «Haurrekin ondo» a partir de la etiqueta «Niños» / «Haurrak». */
|
||||
function ga_compat_label( $label ) {
|
||||
$label = mb_strtolower( $label );
|
||||
if ( 'eu' === ga_lang() ) {
|
||||
return mb_strtoupper( mb_substr( $label, 0, 1 ) ) . mb_substr( preg_replace( '/ak$/u', 'ekin', $label ), 1 ) . ' ondo';
|
||||
}
|
||||
return 'Bien con ' . $label;
|
||||
}
|
||||
|
||||
/** URL de la página de contacto con el animal preseleccionado. */
|
||||
function ga_adopt_url( $post_id = null ) {
|
||||
return add_query_arg( 'adoptar', $post_id ?: get_the_ID(), ga_page_url( 'contacto' ) ) . '#formulario';
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
'theme_location' => 'primary',
|
||||
'container' => false,
|
||||
'fallback_cb' => false,
|
||||
'depth' => 1,
|
||||
'depth' => 2,
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
|
||||
@@ -66,7 +66,7 @@ function ga_home_sections() {
|
||||
|
||||
/* Los datos de contacto y redes del personalizador sustituyen a los predeterminados. */
|
||||
add_filter( 'ga_info', function ( $info ) {
|
||||
foreach ( array( 'direccion', 'maps', 'telefono', 'email', 'horario' ) as $key ) {
|
||||
foreach ( array( 'direccion', 'maps', 'telefono', 'email', 'horario', 'cita' ) as $key ) {
|
||||
$info[ $key ] = ga_opt( 'contact', $key );
|
||||
}
|
||||
foreach ( array( 'instagram', 'facebook', 'tiktok', 'youtube', 'whatsapp' ) as $key ) {
|
||||
@@ -79,6 +79,7 @@ add_filter( 'ga_info', function ( $info ) {
|
||||
add_action( 'customize_register', function ( WP_Customize_Manager $c ) {
|
||||
$c->add_panel( 'ga_design', array( 'title' => 'Diseño (Gure Ametsa)', 'priority' => 25 ) );
|
||||
$c->add_panel( 'ga_info', array( 'title' => 'Contacto y redes', 'priority' => 26 ) );
|
||||
$c->add_panel( 'ga_adopt', array( 'title' => 'Adopción y colabora', 'priority' => 26 ) );
|
||||
$c->add_panel( 'ga_home', array(
|
||||
'title' => 'Portada',
|
||||
'priority' => 27,
|
||||
|
||||
@@ -199,9 +199,9 @@ function ga_pattern_definitions( $t, $url ) {
|
||||
$t( 'Tres tarjetas', 'Hiru txartel' ),
|
||||
'Tres columnas con icono, título y texto.',
|
||||
ga_p_columns( array(
|
||||
ga_p_paragraph( '🏡', 'ga-antetitulo' ) . "\n\n" . ga_p_heading( $t( 'Adopta', 'Adoptatu' ), 3 ) . "\n\n" . ga_p_paragraph( $t( 'Dale un hogar para siempre a un perro o un gato.', 'Eman betiko etxe bat txakur edo katu bati.' ) ),
|
||||
ga_p_paragraph( '🤝', 'ga-antetitulo' ) . "\n\n" . ga_p_heading( $t( 'Acoge', 'Harrera egin' ), 3 ) . "\n\n" . ga_p_paragraph( $t( 'Abre tu casa de forma temporal a quien más lo necesita.', 'Ireki zure etxea aldi baterako gehien behar duenari.' ) ),
|
||||
ga_p_paragraph( '💚', 'ga-antetitulo' ) . "\n\n" . ga_p_heading( $t( 'Dona', 'Egin dohaintza' ), 3 ) . "\n\n" . ga_p_paragraph( $t( 'Pienso, mantas o material veterinario.', 'Pentsua, mantak edo albaitaritza-materiala.' ) ),
|
||||
ga_p_heading( $t( 'Adopta', 'Adoptatu' ), 3 ) . "\n\n" . ga_p_paragraph( $t( 'Conoce a los perros y gatos que esperan una familia.', 'Ezagutu familia baten zain dauden txakur eta katuak.' ) ),
|
||||
ga_p_heading( $t( 'Acoge', 'Harrera egin' ), 3 ) . "\n\n" . ga_p_paragraph( $t( 'Ofrece un hogar durante un tiempo a quien lo necesita.', 'Eskaini etxe bat denbora batez behar duenari.' ) ),
|
||||
ga_p_heading( $t( 'Colabora', 'Lagundu' ), 3 ) . "\n\n" . ga_p_paragraph( $t( 'Voluntariado o ayuda material.', 'Boluntariotza edo laguntza materiala.' ) ),
|
||||
), 'ga-tarjetas' ),
|
||||
),
|
||||
'pasos' => array(
|
||||
@@ -271,15 +271,11 @@ function ga_pattern_definitions( $t, $url ) {
|
||||
),
|
||||
'donaciones' => array(
|
||||
$t( 'Qué necesitamos', 'Zer behar dugu' ),
|
||||
'Tarjeta con lista de necesidades y botón.',
|
||||
'Tarjeta con la lista de ayuda material (se edita en Personalizar → Adopción y colabora → Ayuda material).',
|
||||
ga_p_group(
|
||||
ga_p_heading( $t( 'Qué necesitamos ahora', 'Zer behar dugun orain' ), 3 )
|
||||
. "\n\n" . ga_p_list( array(
|
||||
$t( 'Pienso para cachorros', 'Kumeentzako pentsua' ),
|
||||
$t( 'Arena para gatos', 'Katuentzako harea' ),
|
||||
$t( 'Mantas y toallas', 'Mantak eta eskuoihalak' ),
|
||||
), 'ga-check' )
|
||||
. "\n\n" . ga_p_buttons( array( ga_p_button( $t( 'Quiero colaborar', 'Lagundu nahi dut' ), $contacto ) ) ),
|
||||
. "\n\n" . ga_p_shortcode( '[ga_necesidades]' )
|
||||
. "\n\n" . ga_p_buttons( array( ga_p_button( $t( 'Escríbenos antes de traerlo', 'Idatzi iezaguzu ekarri aurretik' ), $url( 'contacto', 'harremanetarako' ) . '?motivo=material#formulario' ) ) ),
|
||||
'ga-tarjeta'
|
||||
),
|
||||
),
|
||||
@@ -289,10 +285,10 @@ function ga_pattern_definitions( $t, $url ) {
|
||||
ga_p_columns( array(
|
||||
ga_p_heading( $t( 'Ven a vernos', 'Etorri gu ikustera' ), 3 )
|
||||
. "\n\n" . ga_p_list( array(
|
||||
'📍 Jaizubia, 44 · 20280 Hondarribia',
|
||||
'📞 <a href="tel:+34943645279">943 64 52 79</a>',
|
||||
'✉️ <a href="mailto:hola@gureametsabilagun.org">hola@gureametsabilagun.org</a>',
|
||||
$t( '🕙 L–V: 10:00–13:00 y 14:00–19:00', '🕙 Al–Or: 10:00–13:00 eta 14:00–19:00' ),
|
||||
'Jaizubia, 44 · 20280 Hondarribia',
|
||||
'<a href="tel:+34943645279">943 64 52 79</a>',
|
||||
'<a href="mailto:hola@gureametsabilagun.org">hola@gureametsabilagun.org</a>',
|
||||
$t( 'Con cita previa', 'Aurretiko hitzorduarekin' ),
|
||||
), 'ga-limpia' ),
|
||||
ga_p_heading( $t( 'Escríbenos', 'Idatzi iezaguzu' ), 3, false, 'formulario' )
|
||||
. "\n\n" . ga_p_shortcode( '[ga_contacto]' ),
|
||||
|
||||
@@ -167,8 +167,8 @@ function ga_customizer_registry() {
|
||||
'title' => 'Pie de página',
|
||||
'fields' => array(
|
||||
'about' => $t( 'Texto de presentación',
|
||||
'Protectora y residencia de animales en Jaizubia, Hondarribia. Desde hace más de 25 años recogemos, cuidamos y buscamos hogar a los perros y gatos abandonados de Irun y Hondarribia.',
|
||||
'Animalien babesleku eta egoitza Jaizubian, Hondarribian. 25 urte baino gehiago daramatzagu Irun eta Hondarribiko txakur eta katu abandonatuak jasotzen, zaintzen eta etxe bat bilatzen.', 'textarea' ),
|
||||
'Bilagun es la protectora de Jaizubia, en Hondarribia. Cuidamos de los perros y gatos que llegan a nosotras y les buscamos una segunda oportunidad.',
|
||||
'Bilagun Jaizubiko babeslekua da, Hondarribian. Guregana iristen diren txakur eta katuak zaintzen ditugu eta bigarren aukera bat bilatzen diegu.', 'textarea' ),
|
||||
'copyright' => array( 'type' => 'text', 'label' => 'Texto de copyright', 'default' => 'Gure Ametsa Bi Lagun' ),
|
||||
),
|
||||
),
|
||||
@@ -180,9 +180,10 @@ function ga_customizer_registry() {
|
||||
'fields' => array(
|
||||
'direccion' => array( 'type' => 'text', 'label' => 'Dirección', 'default' => 'Jaizubia, 44 · 20280 Hondarribia (Gipuzkoa)' ),
|
||||
'maps' => array( 'type' => 'url', 'label' => 'Enlace a Google Maps', 'default' => 'https://www.google.com/maps/search/?api=1&query=Jaizubia+44+Hondarribia' ),
|
||||
'telefono' => array( 'type' => 'text', 'label' => 'Teléfono', 'default' => '943 64 52 79' ),
|
||||
'telefono' => array( 'type' => 'text', 'label' => 'Teléfono de atención', 'default' => '943 64 52 79', 'description' => 'El de atención de Bilagun, no el del servicio municipal.' ),
|
||||
'email' => array( 'type' => 'email', 'label' => 'Email', 'default' => 'hola@gureametsabilagun.org' ),
|
||||
'horario' => $t( 'Horario', 'Lunes a viernes: 10:00–13:00 y 14:00–19:00', 'Astelehenetik ostiralera: 10:00–13:00 eta 14:00–19:00' ),
|
||||
'horario' => $t( 'Horario de atención al público', 'Lunes a viernes: 10:00–13:00 y 14:00–19:00', 'Astelehenetik ostiralera: 10:00–13:00 eta 14:00–19:00' ),
|
||||
'cita' => $t( 'Aviso de cita previa (vacío = ocultar)', 'Atendemos con cita previa. Escríbenos o llámanos antes de venir.', 'Aurretiko hitzorduarekin artatzen dugu. Idatzi edo deitu iezaguzu etorri aurretik.', 'textarea' ),
|
||||
),
|
||||
),
|
||||
'social' => array(
|
||||
@@ -197,10 +198,62 @@ function ga_customizer_registry() {
|
||||
),
|
||||
),
|
||||
|
||||
/* ================= Adopción ================= */
|
||||
'adopcion' => array(
|
||||
'panel' => 'ga_adopt',
|
||||
'title' => 'Listado y fichas',
|
||||
'fields' => array(
|
||||
'archive_mode' => array( 'type' => 'select', 'label' => 'Página «Adopta»', 'default' => 'tiles', 'choices' => array(
|
||||
'tiles' => 'Dos accesos: Perros y Gatos',
|
||||
'grid' => 'Todos los animales juntos',
|
||||
) ),
|
||||
'intro' => $t( 'Texto de la página Adopta',
|
||||
'Queremos que conozcas a cada animal por su historia y por cómo es. Entra en sus fichas y descubre quién hay detrás de cada nombre.',
|
||||
'Animalia bakoitza bere istorioagatik eta nolakoa den ezagutzea nahi dugu. Sartu haien fitxetan eta ezagutu izen bakoitzaren atzean nor dagoen.', 'textarea' ),
|
||||
'dog_label' => $t( 'Acceso a perros · texto', 'Perros', 'Txakurrak' ),
|
||||
'dog_image' => array( 'type' => 'image', 'label' => 'Acceso a perros · foto', 'default' => 0 ),
|
||||
'cat_label' => $t( 'Acceso a gatos · texto', 'Gatos', 'Katuak' ),
|
||||
'cat_image' => array( 'type' => 'image', 'label' => 'Acceso a gatos · foto', 'default' => 0 ),
|
||||
'card' => array( 'type' => 'select', 'label' => 'Tarjetas del listado', 'default' => 'simple', 'choices' => array(
|
||||
'simple' => 'Solo foto y nombre',
|
||||
'detallada' => 'Foto, nombre, edad y frase corta',
|
||||
) ),
|
||||
'show_in_process' => array( 'type' => 'checkbox', 'label' => 'Mostrar en el listado los que están «En proceso»', 'default' => true ),
|
||||
'card_status' => array( 'type' => 'checkbox', 'label' => 'Indicar «En proceso» en su tarjeta', 'default' => true ),
|
||||
'order' => array( 'type' => 'select', 'label' => 'Orden del listado', 'default' => 'recientes', 'choices' => array(
|
||||
'recientes' => 'Los últimos publicados primero',
|
||||
'antiguos' => 'Los que llevan más tiempo primero',
|
||||
) ),
|
||||
'btn_m' => $t( 'Botón de la ficha (macho)', 'Quiero conocerlo', 'Ezagutu nahi dut' ),
|
||||
'btn_f' => $t( 'Botón de la ficha (hembra)', 'Quiero conocerla', 'Ezagutu nahi dut' ),
|
||||
'form_intro' => $t( 'Texto sobre el formulario', 'Déjanos tus datos y te escribiremos para enviarte nuestro cuestionario de adopción.', 'Utzi zure datuak eta idatziko dizugu gure adopzio-galdetegia bidaltzeko.', 'textarea' ),
|
||||
'confirm' => $t( 'Confirmación tras «Quiero conocerlo/la»', 'Hemos recibido tu solicitud. Nos pondremos en contacto contigo para enviarte nuestro cuestionario y conoceros un poquito mejor.', 'Zure eskaera jaso dugu. Zurekin harremanetan jarriko gara gure galdetegia bidaltzeko eta elkar hobeto ezagutzeko.', 'textarea' ),
|
||||
'confirm_contact' => $t( 'Confirmación del formulario de contacto', '¡Gracias! Hemos recibido tu mensaje y te responderemos lo antes posible.', 'Eskerrik asko! Zure mezua jaso dugu eta ahalik eta lasterren erantzungo dizugu.', 'textarea' ),
|
||||
'process_title' => $t( 'Proceso · título', '¿Cómo es el proceso?', 'Nolakoa da prozesua?' ),
|
||||
'process' => $t( 'Proceso · pasos (uno por línea)',
|
||||
"Nos escribes y te enviamos nuestro cuestionario.\nLo valoramos con el equipo.\nQuedamos para conoceros, siempre con cita previa.",
|
||||
"Idazten diguzu eta gure galdetegia bidaltzen dizugu.\nTaldearekin baloratzen dugu.\nElkar ezagutzeko geratzen gara, beti aurretiko hitzorduarekin.", 'textarea' ),
|
||||
'process_note' => $t( 'Proceso · nota', 'Enviar la solicitud no confirma una adopción: es el primer paso para conocernos.', 'Eskaera bidaltzeak ez du adopzioa baieztatzen: elkar ezagutzeko lehen urratsa da.' ),
|
||||
'share' => array( 'type' => 'checkbox', 'label' => 'Botones para compartir la ficha (WhatsApp, Facebook, copiar enlace)', 'default' => true ),
|
||||
'form_email' => array( 'type' => 'email', 'label' => 'Correo que recibe las solicitudes y mensajes', 'default' => '', 'description' => 'Vacío = el de la variable GA_CONTACT_EMAIL del servidor.' ),
|
||||
),
|
||||
),
|
||||
'material' => array(
|
||||
'panel' => 'ga_adopt',
|
||||
'title' => 'Ayuda material',
|
||||
'fields' => array(
|
||||
'title' => $t( 'Título', 'Qué necesitamos ahora', 'Zer behar dugun orain' ),
|
||||
'list' => $t( 'Necesidades actuales (una por línea)',
|
||||
"Pienso para perros y gatos\nArena para gatos\nMantas y toallas",
|
||||
"Txakur eta katuentzako pentsua\nKatuentzako harea\nMantak eta eskuoihalak", 'textarea' ),
|
||||
'note' => $t( 'Nota', 'Antes de traer nada, escríbenos para concretar la entrega y comprobar qué necesitamos.', 'Ezer ekarri aurretik, idatzi iezaguzu entrega zehazteko eta zer behar dugun egiaztatzeko.', 'textarea' ),
|
||||
),
|
||||
),
|
||||
|
||||
/* ================= Portada ================= */
|
||||
'hero' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Portada principal y «puertas»',
|
||||
'title' => 'Portada principal',
|
||||
'section' => true,
|
||||
'fields' => array_merge(
|
||||
array(
|
||||
@@ -208,65 +261,42 @@ function ga_customizer_registry() {
|
||||
'full' => 'Foto o vídeo a pantalla completa',
|
||||
'split' => 'Texto a la izquierda, foto a la derecha',
|
||||
) ),
|
||||
'image' => array( 'type' => 'image', 'label' => 'Foto', 'default' => 0 ),
|
||||
'video' => array( 'type' => 'video', 'label' => 'Vídeo de fondo (opcional, MP4 corto y sin sonido)', 'default' => 0, 'description' => 'Se reproduce en bucle. La foto se muestra mientras carga.' ),
|
||||
'overlay' => array( 'type' => 'range', 'label' => 'Velo de color sobre la foto (%)', 'default' => 70, 'min' => 0, 'max' => 95, 'step' => 5 ),
|
||||
'eyebrow' => $t( 'Etiqueta superior', 'Protectora de animales · Hondarribia', 'Animalien babeslekua · Hondarribia' ),
|
||||
'title' => $t( 'Título (pon *entre asteriscos* la parte resaltada)', 'Tu mejor amigo *te está esperando*', 'Zure lagunik onena *zure zain dago*' ),
|
||||
'lead' => $t( 'Texto',
|
||||
'La mayoría nos conoce porque quiere adoptar. Pero adoptar es solo una de las cuatro puertas: acoger, echar una mano y donar son las que mantienen la primera abierta. Elige la que encaja con tu vida ahora.',
|
||||
'Gehienek adoptatu nahi dutelako ezagutzen gaituzte. Baina adoptatzea lau ateetako bat baino ez da: harrera egitea, laguntzea eta dohaintzak egitea dira lehena irekita mantentzen dutenak. Aukeratu orain zure bizitzara hobekien egokitzen dena.', 'textarea' ),
|
||||
'btn1' => $t( 'Botón 1', 'Ver quién está disponible', 'Ikusi nor dagoen zain' ),
|
||||
'btn1_url' => array( 'type' => 'text', 'label' => 'Botón 1 · enlace (vacío = listado de adopción)', 'default' => '' ),
|
||||
'btn2' => $t( 'Botón 2', 'Planifica tu visita', 'Antolatu zure bisita' ),
|
||||
'btn2_url' => array( 'type' => 'text', 'label' => 'Botón 2 · enlace (vacío = página de contacto)', 'default' => '' ),
|
||||
'doors' => array( 'type' => 'checkbox', 'label' => 'Mostrar las cuatro «puertas» bajo la portada', 'default' => true ),
|
||||
'image' => array( 'type' => 'image', 'label' => 'Foto (real, de vuestros animales)', 'default' => 0 ),
|
||||
'video' => array( 'type' => 'video', 'label' => 'Vídeo de fondo (opcional, MP4 corto y sin sonido)', 'default' => 0 ),
|
||||
'overlay' => array( 'type' => 'range', 'label' => 'Velo de color sobre la foto (%)', 'default' => 55, 'min' => 0, 'max' => 95, 'step' => 5 ),
|
||||
'eyebrow' => $t( 'Etiqueta superior (vacío = ocultar)', 'Protectora de animales · Hondarribia', 'Animalien babeslekua · Hondarribia' ),
|
||||
'title' => $t( 'Título (pon *entre asteriscos* la parte resaltada)', 'Su próxima oportunidad *puede empezar contigo*', 'Haren hurrengo aukera *zurekin has daiteke*' ),
|
||||
'lead' => $t( 'Texto', 'Conoce a los perros y gatos de Bilagun que están esperando una familia.', 'Ezagutu familia baten zain dauden Bilaguneko txakur eta katuak.', 'textarea' ),
|
||||
'btn1' => $t( 'Botón 1', 'Conoce a nuestros perros', 'Ezagutu gure txakurrak' ),
|
||||
'btn1_url' => array( 'type' => 'text', 'label' => 'Botón 1 · enlace (vacío = perros)', 'default' => '' ),
|
||||
'btn2' => $t( 'Botón 2', 'Conoce a nuestros gatos', 'Ezagutu gure katuak' ),
|
||||
'btn2_url' => array( 'type' => 'text', 'label' => 'Botón 2 · enlace (vacío = gatos)', 'default' => '' ),
|
||||
'doors' => array( 'type' => 'checkbox', 'label' => 'Mostrar cuatro accesos («puertas») bajo la portada', 'default' => false ),
|
||||
),
|
||||
$door( 1, array( 'Adopta', 'Adoptatu' ), array( 'Conócelos', 'Ezagutu' ), array( 'Perros y gatos que buscan una familia para siempre.', 'Betiko familia bila dabiltzan txakur eta katuak.' ), array( 'Ver animales', 'Ikusi animaliak' ) ),
|
||||
$door( 2, array( 'Acoge', 'Harrera' ), array( 'Abre tu casa', 'Ireki etxea' ), array( 'Un hogar temporal mientras encuentran su familia.', 'Aldi baterako etxe bat, familia aurkitu bitartean.' ), array( 'Quiero acoger', 'Harrera egin nahi dut' ) ),
|
||||
$door( 3, array( 'Voluntariado', 'Boluntariotza' ), array( 'Echa una mano', 'Eman esku bat' ), array( 'Paseos, mimos, fotos y ayuda en jornadas.', 'Ibilaldiak, laztanak, argazkiak eta laguntza jardunaldietan.' ), array( 'Apúntate', 'Eman izena' ) ),
|
||||
$door( 4, array( 'Dona', 'Dohaintza' ), array( 'Colabora', 'Lagundu' ), array( 'Pienso, mantas, material o una aportación.', 'Pentsua, mantak, materiala edo ekarpen bat.' ), array( 'Cómo donar', 'Nola eman' ) )
|
||||
$door( 1, array( 'Adopta', 'Adoptatu' ), array( 'Conócelos', 'Ezagutu' ), array( 'Perros y gatos que buscan una familia.', 'Familia bila dabiltzan txakur eta katuak.' ), array( 'Ver animales', 'Ikusi animaliak' ) ),
|
||||
$door( 2, array( 'Acoge', 'Harrera' ), array( 'Abre tu casa', 'Ireki etxea' ), array( 'Un hogar temporal mientras encuentran familia.', 'Aldi baterako etxe bat, familia aurkitu bitartean.' ), array( 'Quiero acoger', 'Harrera egin nahi dut' ) ),
|
||||
$door( 3, array( 'Voluntariado', 'Boluntariotza' ), array( 'Echa una mano', 'Eman esku bat' ), array( 'Paseos, compañía y socialización.', 'Ibilaldiak, konpainia eta sozializazioa.' ), array( 'Quiero ser voluntario', 'Boluntario izan nahi dut' ) ),
|
||||
$door( 4, array( 'Ayuda material', 'Laguntza materiala' ), array( 'Colabora', 'Lagundu' ), array( 'Lo que necesitamos ahora.', 'Orain behar duguna.' ), array( 'Ver necesidades', 'Ikusi beharrak' ) )
|
||||
),
|
||||
),
|
||||
'animals' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Animales en adopción',
|
||||
'title' => 'Animales destacados',
|
||||
'section' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Puerta uno · Adopta', 'Lehen atea · Adoptatu' ),
|
||||
'title' => $t( 'Título', 'Te están esperando', 'Zure zain daude' ),
|
||||
'text' => $t( 'Texto', 'Todos se entregan con microchip, vacunas al día y esterilizados. Si alguno te roba el corazón, escríbenos y te contamos todo sobre él.', 'Guztiak mikrotxiparekin, txertoak egunean eta antzututa ematen dira. Norbaitek bihotza lapurtzen badizu, idatzi iezaguzu eta dena kontatuko dizugu.', 'textarea' ),
|
||||
'button' => $t( 'Botón', 'Ver todos los animales', 'Ikusi animalia guztiak' ),
|
||||
'count' => array( 'type' => 'number', 'label' => 'Número de animales', 'default' => 8, 'min' => 2, 'max' => 24 ),
|
||||
'view' => array( 'type' => 'select', 'label' => 'Presentación', 'default' => 'carrusel', 'choices' => array(
|
||||
'carrusel' => 'Carrusel (se desliza)',
|
||||
'eyebrow' => $t( 'Antetítulo', 'Te están esperando', 'Zure zain daude' ),
|
||||
'title' => $t( 'Título', 'Conócelos', 'Ezagutu' ),
|
||||
'text' => $t( 'Texto', 'Algunos llevan tiempo esperando o necesitan un hogar especialmente adaptado a ellos.', 'Batzuk denbora daramate zain edo haientzat bereziki egokitutako etxe bat behar dute.', 'textarea' ),
|
||||
'button' => $t( 'Botón', 'Ver todos', 'Denak ikusi' ),
|
||||
'filter' => array( 'type' => 'select', 'label' => 'Qué animales mostrar', 'default' => 'destacados', 'choices' => array(
|
||||
'destacados' => 'Los marcados como «Destacado» (si no hay, los que llevan más tiempo)',
|
||||
'' => 'Los últimos disponibles',
|
||||
) ),
|
||||
'count' => array( 'type' => 'number', 'label' => 'Número de animales', 'default' => 4, 'min' => 1, 'max' => 24 ),
|
||||
'view' => array( 'type' => 'select', 'label' => 'Presentación', 'default' => 'rejilla', 'choices' => array(
|
||||
'rejilla' => 'Rejilla',
|
||||
'carrusel' => 'Carrusel (se desliza)',
|
||||
) ),
|
||||
'filter' => array( 'type' => 'select', 'label' => 'Qué animales mostrar', 'default' => '', 'choices' => array(
|
||||
'' => 'Todos los disponibles',
|
||||
'urgente,acogida' => 'Solo urgentes y los que buscan acogida',
|
||||
) ),
|
||||
),
|
||||
),
|
||||
'steps' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Cómo adoptar',
|
||||
'section' => true,
|
||||
'fields' => array_merge(
|
||||
array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Qué pasa después', 'Zer gertatzen da gero' ),
|
||||
'title' => $t( 'Título', 'Una adopción clara, paso a paso', 'Adopzio argia, urratsez urrats' ),
|
||||
'text' => $t( 'Texto', 'Queremos que la adopción salga bien para siempre. Por eso vamos sin prisas y te acompañamos en cada paso.', 'Adopzioak betirako ondo irtetea nahi dugu. Horregatik presarik gabe goaz eta urrats bakoitzean lagunduko dizugu.', 'textarea' ),
|
||||
),
|
||||
$step( 1, 'Escríbenos', 'Rellena el formulario o llámanos. Cuéntanos cómo es tu casa, tu día a día y qué animal buscas.',
|
||||
'Idatzi iezaguzu', 'Bete formularioa edo deitu iezaguzu. Kontaiguzu nolakoa den zure etxea, zure eguneroko bizitza eta zer animalia bilatzen duzun.' ),
|
||||
$step( 2, 'Hablamos', 'Te llamamos para conocerte y resolver dudas. Es una conversación, no un examen.',
|
||||
'Hitz egingo dugu', 'Deituko dizugu zu ezagutzeko eta zalantzak argitzeko. Elkarrizketa bat da, ez azterketa bat.' ),
|
||||
$step( 3, 'Os conocéis', 'Ven a Jaizubia a conocerle. Paseos y visitas sin prisas, con toda la familia.',
|
||||
'Elkar ezagutu', 'Etorri Jaizubira hura ezagutzera. Ibilaldiak eta bisitak presarik gabe, familia osoarekin.' ),
|
||||
$step( 4, '¡A casa!', 'Firmamos el contrato de adopción y seguimos a tu lado para lo que necesites.',
|
||||
'Etxera!', 'Adopzio-kontratua sinatuko dugu eta behar duzun guztirako zure ondoan jarraituko dugu.' ),
|
||||
array( 'button' => $t( 'Botón', 'Quiero adoptar', 'Adoptatu nahi dut' ) )
|
||||
),
|
||||
),
|
||||
'foster' => array(
|
||||
@@ -274,62 +304,108 @@ function ga_customizer_registry() {
|
||||
'title' => 'Acogida',
|
||||
'section' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Puerta dos · Acoge', 'Bigarren atea · Harrera' ),
|
||||
'title' => $t( 'Título', 'Acoger es lo que nos permite decir que sí', 'Harrera egiteak baietz esateko aukera ematen digu' ),
|
||||
'text' => $t( 'Texto', 'Cachorros, animales mayores o convalecientes necesitan salir del centro cuanto antes. Una casa de acogida les da tiempo y cariño mientras encuentran su familia definitiva.', 'Kumeek, animalia zaharrek edo gaixorik daudenek lehenbailehen irten behar dute zentrotik. Harrera-etxe batek denbora eta maitasuna ematen die behin betiko familia aurkitu bitartean.', 'textarea' ),
|
||||
'list_title' => $t( 'Título de la lista', 'Contigo en todo momento', 'Zurekin uneoro' ),
|
||||
'list' => $t( 'Lista (una línea por punto)',
|
||||
"Te explicamos qué necesita cada animal antes de llevarlo a casa\nResolvemos tus dudas durante toda la acogida\nBuscamos juntos su familia definitiva",
|
||||
"Etxera eraman aurretik animalia bakoitzak zer behar duen azaltzen dizugu\nHarrera osoan zehar zure zalantzak argitzen ditugu\nElkarrekin bilatzen dugu haren behin betiko familia", 'textarea' ),
|
||||
'image' => array( 'type' => 'image', 'label' => 'Foto', 'default' => 0 ),
|
||||
'caption' => $t( 'Pie de foto', '', '' ),
|
||||
'button' => $t( 'Botón', 'Quiero ser casa de acogida', 'Harrera-etxe izan nahi dut' ),
|
||||
'eyebrow' => $t( 'Antetítulo', 'Acoge', 'Harrera' ),
|
||||
'title' => $t( 'Título', 'Un hogar temporal *también puede cambiar una vida*', 'Aldi baterako etxe batek *ere bizitza bat alda dezake*' ),
|
||||
'text' => $t( 'Texto', 'Quizá ahora no puedas adoptar, pero sí ofrecer un hogar durante un tiempo. Escríbenos y te contamos qué animales necesitan acogida y cómo puedes ayudar.', 'Agian orain ezin duzu adoptatu, baina bai etxe bat eskaini denbora batez. Idatzi iezaguzu eta kontatuko dizugu zein animaliak behar duten harrera eta nola lagun dezakezun.', 'textarea' ),
|
||||
'list_title' => $t( 'Título de la lista (opcional)', '', '' ),
|
||||
'list' => $t( 'Lista (una línea por punto, opcional)', '', '', 'textarea' ),
|
||||
'image' => array( 'type' => 'image', 'label' => 'Foto', 'default' => 0 ),
|
||||
'caption' => $t( 'Pie de foto', '', '' ),
|
||||
'button' => $t( 'Botón', 'Quiero acoger', 'Harrera egin nahi dut' ),
|
||||
),
|
||||
),
|
||||
'about' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Quiénes somos y formas de ayudar',
|
||||
'section' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Quiénes somos', 'Nor gara' ),
|
||||
'title' => $t( 'Título', 'Somos *Bilagun*', '*Bilagun* gara' ),
|
||||
'text' => $t( 'Texto', 'Somos la protectora de Jaizubia, en Hondarribia. Cuidamos de cada perro y cada gato como lo que es, un individuo con su historia, y buscamos para él una familia que encaje con su forma de ser.', 'Jaizubiko babeslekua gara, Hondarribian. Txakur eta katu bakoitza zaintzen dugu dena den bezala, bere istorioa duen norbait, eta bere izaerarekin bat datorren familia bat bilatzen diogu.', 'textarea' ),
|
||||
'image' => array( 'type' => 'image', 'label' => 'Foto (equipo o instalaciones)', 'default' => 0 ),
|
||||
'button' => $t( 'Botón', 'Conócenos', 'Ezagutu gaitzazu' ),
|
||||
'help_title' => $t( 'Formas de ayudar · título', 'Otras formas de ayudar', 'Laguntzeko beste modu batzuk' ),
|
||||
'help1' => $t( 'Ayuda 1 · voluntariado', 'Hazte voluntario/a', 'Egin boluntario' ),
|
||||
'help2' => $t( 'Ayuda 2 · material', 'Aporta material', 'Ekarri materiala' ),
|
||||
'help3' => $t( 'Ayuda 3 · compartir', 'Comparte sus historias', 'Partekatu haien istorioak' ),
|
||||
),
|
||||
),
|
||||
'talk' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Contacto',
|
||||
'section' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Contacto', 'Harremanetarako' ),
|
||||
'title' => $t( 'Título', '¿Hablamos?', 'Hitz egingo dugu?' ),
|
||||
'text' => $t( 'Texto', '¿Te gustaría conocer a alguno de ellos? Escríbenos y te contamos un poquito más.', 'Haietako bat ezagutu nahiko zenuke? Idatzi iezaguzu eta zerbait gehiago kontatuko dizugu.', 'textarea' ),
|
||||
'form' => array( 'type' => 'checkbox', 'label' => 'Mostrar el formulario', 'default' => true ),
|
||||
'form_title' => $t( 'Título del formulario', 'Escríbenos', 'Idatzi iezaguzu' ),
|
||||
),
|
||||
),
|
||||
'steps' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Cómo adoptar (pasos)',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'fields' => array_merge(
|
||||
array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Adopción', 'Adopzioa' ),
|
||||
'title' => $t( 'Título', '¿Cómo es el proceso?', 'Nolakoa da prozesua?' ),
|
||||
'text' => $t( 'Texto', '', '', 'textarea' ),
|
||||
),
|
||||
$step( 1, 'Primer contacto', 'Nos escribes y te enviamos nuestro cuestionario.', 'Lehen harremana', 'Idazten diguzu eta gure galdetegia bidaltzen dizugu.' ),
|
||||
$step( 2, 'Valoración', 'Lo valoramos con el equipo.', 'Balorazioa', 'Taldearekin baloratzen dugu.' ),
|
||||
$step( 3, 'Nos conocemos', 'Quedamos con cita previa para conoceros.', 'Elkar ezagutu', 'Aurretiko hitzorduarekin geratzen gara elkar ezagutzeko.' ),
|
||||
$step( 4, '', '', '', '' ),
|
||||
array( 'button' => $t( 'Botón', 'Ver animales', 'Ikusi animaliak' ) )
|
||||
),
|
||||
),
|
||||
'give' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Donaciones',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'description' => 'Oculta hasta confirmar los medios de pago.',
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Puerta cuatro · Dona', 'Laugarren atea · Dohaintza' ),
|
||||
'title' => $t( 'Título', 'Cada ayuda se nota', 'Laguntza oro nabaritzen da' ),
|
||||
'text' => $t( 'Texto', 'Con tu aportación compramos pienso, medicinas y todo lo que necesitan mientras esperan una familia.', 'Zure ekarpenarekin pentsua, sendagaiak eta familia baten zain dauden bitartean behar duten guztia erosten dugu.', 'textarea' ),
|
||||
'card_title' => $t( 'Tarjeta · título', 'Cómo donar', 'Nola eman' ),
|
||||
'card_text' => $t( 'Tarjeta · texto', 'Escríbenos y te indicamos cómo hacer una aportación económica o dónde traer material. ¡Gracias!', 'Idatzi iezaguzu eta diru-ekarpena nola egin edo materiala non ekarri azalduko dizugu. Eskerrik asko!', 'textarea' ),
|
||||
'shortcode' => array( 'type' => 'text', 'label' => 'Formulario de donación (opcional): pega aquí el shortcode de GiveWP, p. ej. [give_form id="12"]', 'default' => '' ),
|
||||
'button' => $t( 'Botón', 'Quiero donar', 'Dohaintza egin nahi dut' ),
|
||||
'needs_title' => $t( 'Necesidades · título', 'Lo que más necesitamos', 'Gehien behar duguna' ),
|
||||
'needs' => $t( 'Necesidades (una línea por punto)',
|
||||
"Pienso para perros y gatos\nArena para gatos\nMantas, toallas y camas\nCorreas, collares y juguetes",
|
||||
"Txakur eta katuentzako pentsua\nKatuentzako harea\nMantak, eskuoihalak eta oheak\nUhalak, lepokoak eta jostailuak", 'textarea' ),
|
||||
'eyebrow' => $t( 'Antetítulo', 'Donaciones', 'Dohaintzak' ),
|
||||
'title' => $t( 'Título', 'Tu ayuda se nota', 'Zure laguntza nabaritzen da' ),
|
||||
'text' => $t( 'Texto', '', '', 'textarea' ),
|
||||
'card_title' => $t( 'Tarjeta · título', 'Cómo donar', 'Nola eman' ),
|
||||
'card_text' => $t( 'Tarjeta · texto', '', '', 'textarea' ),
|
||||
'shortcode' => array( 'type' => 'text', 'label' => 'Formulario de donación (opcional): shortcode de GiveWP, p. ej. [give_form id="12"]', 'default' => '' ),
|
||||
'button' => $t( 'Botón', 'Quiero ayudar', 'Lagundu nahi dut' ),
|
||||
'needs_title' => $t( 'Necesidades · título', '', '' ),
|
||||
'needs' => $t( 'Necesidades (una línea por punto)', '', '', 'textarea' ),
|
||||
),
|
||||
),
|
||||
'stats' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Cifras',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Nuestro impacto', 'Gure eragina' ),
|
||||
'title' => $t( 'Título', 'Cada número es una vida', 'Zenbaki bakoitza bizitza bat da' ),
|
||||
'num1' => array( 'type' => 'text', 'label' => 'Cifra 1', 'default' => '+25' ),
|
||||
'label1' => $t( 'Cifra 1 · texto', 'años cuidando animales', 'urte animaliak zaintzen' ),
|
||||
'num2' => array( 'type' => 'text', 'label' => 'Cifra 2', 'default' => '2' ),
|
||||
'label2' => $t( 'Cifra 2 · texto', 'municipios: Irun y Hondarribia', 'udalerri: Irun eta Hondarribia' ),
|
||||
'num3' => array( 'type' => 'text', 'label' => 'Cifra 3', 'default' => '100%' ),
|
||||
'label3' => $t( 'Cifra 3 · texto', 'con microchip, vacunas y esterilización', 'mikrotxip, txerto eta antzutzearekin' ),
|
||||
'num4' => array( 'type' => 'text', 'label' => 'Cifra 4 (vacío = ocultar)', 'default' => '' ),
|
||||
'eyebrow' => $t( 'Antetítulo', 'Nuestro trabajo', 'Gure lana' ),
|
||||
'title' => $t( 'Título', 'En cifras', 'Zenbakitan' ),
|
||||
'num1' => array( 'type' => 'text', 'label' => 'Cifra 1', 'default' => '' ),
|
||||
'label1' => $t( 'Cifra 1 · texto', '', '' ),
|
||||
'num2' => array( 'type' => 'text', 'label' => 'Cifra 2', 'default' => '' ),
|
||||
'label2' => $t( 'Cifra 2 · texto', '', '' ),
|
||||
'num3' => array( 'type' => 'text', 'label' => 'Cifra 3', 'default' => '' ),
|
||||
'label3' => $t( 'Cifra 3 · texto', '', '' ),
|
||||
'num4' => array( 'type' => 'text', 'label' => 'Cifra 4', 'default' => '' ),
|
||||
'label4' => $t( 'Cifra 4 · texto', '', '' ),
|
||||
),
|
||||
),
|
||||
'stories' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Historias con final feliz',
|
||||
'title' => 'Finales felices',
|
||||
'section' => true,
|
||||
'description' => 'Muestra automáticamente los últimos animales marcados como «Adoptado». Si no hay ninguno, la sección no aparece.',
|
||||
'hidden' => true,
|
||||
'description' => 'Muestra automáticamente los animales marcados como «Adoptado».',
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Ya están en casa', 'Etxean daude jada' ),
|
||||
'title' => $t( 'Título', 'Historias con final feliz', 'Amaiera zoriontsuko istorioak' ),
|
||||
'text' => $t( 'Texto', 'Gracias a las familias que les abrieron su casa.', 'Eskerrik asko etxeko ateak ireki zizkieten familiei.', 'textarea' ),
|
||||
'title' => $t( 'Título', 'Finales felices', 'Amaiera zoriontsuak' ),
|
||||
'text' => $t( 'Texto', 'Gracias por formar parte de sus segundas oportunidades.', 'Eskerrik asko haien bigarren aukeren parte izateagatik.', 'textarea' ),
|
||||
'count' => array( 'type' => 'number', 'label' => 'Número de animales', 'default' => 8, 'min' => 1, 'max' => 24 ),
|
||||
'view' => array( 'type' => 'select', 'label' => 'Presentación', 'default' => 'carrusel', 'choices' => array(
|
||||
'carrusel' => 'Carrusel (se desliza)',
|
||||
@@ -339,41 +415,34 @@ function ga_customizer_registry() {
|
||||
),
|
||||
'intake' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Si necesitas ayuda (perdidos, encontrados…)',
|
||||
'title' => 'Animales perdidos o encontrados',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'fields' => array_merge(
|
||||
array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Si eres tú quien necesita ayuda', 'Laguntza behar duzuna zu bazara' ),
|
||||
'title' => $t( 'Título', 'Perdidos, encontrados y entregas', 'Galduak, aurkituak eta entregak' ),
|
||||
'eyebrow' => $t( 'Antetítulo', 'Si necesitas ayuda', 'Laguntza behar baduzu' ),
|
||||
'title' => $t( 'Título', 'Perdidos y encontrados', 'Galduak eta aurkituak' ),
|
||||
),
|
||||
$card( 'caso', 1, array( 'He perdido a mi animal', 'Nire animalia galdu dut' ),
|
||||
array( 'Llámanos cuanto antes y avisa a la Policía Municipal. Los animales que se recogen en Irun y Hondarribia llegan a nuestras instalaciones: el microchip actualizado es la forma más rápida de volver a casa.',
|
||||
'Deitu iezaguzu lehenbailehen eta jakinarazi Udaltzaingoari. Irunen eta Hondarribian jasotzen diren animaliak gure instalazioetara iristen dira: mikrotxipa eguneratuta izatea da etxera itzultzeko modurik azkarrena.' ) ),
|
||||
$card( 'caso', 2, array( 'He encontrado un animal', 'Animalia bat aurkitu dut' ),
|
||||
array( 'Si está en la calle en Irun u Hondarribia, avisa a la Policía Municipal: ellos lo recogen y lo traen a Gure Ametsa, donde pasa control veterinario y le buscamos a su familia.',
|
||||
'Irunen edo Hondarribian kalean badago, jakinarazi Udaltzaingoari: haiek jaso eta Gure Ametsara ekartzen dute, non albaitari-kontrola egiten zaion eta bere familia bilatzen diogun.' ) ),
|
||||
$card( 'caso', 3, array( 'No puedo seguir cuidándolo', 'Ezin dut gehiago zaindu' ),
|
||||
array( 'Escríbenos o llámanos antes de tomar una decisión. Te escucharemos sin juzgarte y buscaremos juntos la mejor salida para él.',
|
||||
'Idatzi edo deitu iezaguzu erabaki bat hartu aurretik. Epaitu gabe entzungo dizugu eta elkarrekin bilatuko dugu harentzat irtenbiderik onena.' ) )
|
||||
$card( 'caso', 1, array( '', '' ), array( '', '' ) ),
|
||||
$card( 'caso', 2, array( '', '' ), array( '', '' ) ),
|
||||
$card( 'caso', 3, array( '', '' ), array( '', '' ) )
|
||||
),
|
||||
),
|
||||
'faq' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Preguntas frecuentes',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'description' => 'Las preguntas completas están en la página «Preguntas frecuentes», enlazada en el pie.',
|
||||
'fields' => array_merge(
|
||||
array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Dudas', 'Zalantzak' ),
|
||||
'title' => $t( 'Título', 'Preguntas frecuentes', 'Ohiko galderak' ),
|
||||
),
|
||||
$qa( 1, '¿Qué incluye la adopción?', 'Todos los animales se entregan con microchip, vacunas al día, desparasitados y esterilizados, como marca la Ley de Bienestar Animal.',
|
||||
'Zer barne hartzen du adopzioak?', 'Animalia guztiak mikrotxiparekin, txertoak egunean, desparasitatuta eta antzututa ematen dira, Animalien Ongizaterako Legeak agintzen duen bezala.' ),
|
||||
$qa( 2, '¿Puedo ir a conocerlos?', 'Sí. Estamos en Jaizubia, 44 (Hondarribia), de lunes a viernes de 10:00 a 13:00 y de 14:00 a 19:00. Llámanos antes para organizar la visita.',
|
||||
'Joan naiteke haiek ezagutzera?', 'Bai. Jaizubian gaude, 44 (Hondarribia), astelehenetik ostiralera 10:00etatik 13:00etara eta 14:00etatik 19:00etara. Deitu aurretik bisita antolatzeko.' ),
|
||||
$qa( 3, '¿Puedo ser casa de acogida o voluntario/a?', 'Sí, nos ayuda muchísimo. Escríbenos desde el formulario de contacto y te contamos cómo empezar.',
|
||||
'Harrera-etxe edo boluntario izan naiteke?', 'Bai, asko laguntzen digu. Idatzi iezaguzu harremanetarako formularioaren bidez eta nola hasi kontatuko dizugu.' ),
|
||||
$qa( 4, '¿Cuidáis de mi perro o gato en vacaciones?', 'Sí, tenemos hotel para perros y gatos. Consulta disponibilidad con antelación, sobre todo en verano.',
|
||||
'Nire txakurra edo katua zaintzen duzue oporretan?', 'Bai, txakur eta katuentzako hotela dugu. Galdetu erabilgarritasuna aldez aurretik, batez ere udan.' ),
|
||||
$qa( 1, '', '', '', '' ),
|
||||
$qa( 2, '', '', '', '' ),
|
||||
$qa( 3, '', '', '', '' ),
|
||||
$qa( 4, '', '', '', '' ),
|
||||
$qa( 5, '', '', '', '' )
|
||||
),
|
||||
),
|
||||
@@ -381,54 +450,18 @@ function ga_customizer_registry() {
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Contenido libre de la página «Inicio»',
|
||||
'section' => true,
|
||||
'description' => 'Lo que escribáis en la página Inicio (y en «Hasiera» para euskera) con el editor de bloques. Ideal para añadir patrones de «Gure Ametsa».',
|
||||
'hidden' => true,
|
||||
'description' => 'Lo que escribáis en la página Inicio (y en «Hasiera» para euskera) con el editor de bloques.',
|
||||
'fields' => array(),
|
||||
),
|
||||
'visit' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Hotel y visita',
|
||||
'section' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Visítanos', 'Etorri gu ikustera' ),
|
||||
'title' => $t( 'Título', 'Estamos en Jaizubia', 'Jaizubian gaude' ),
|
||||
'text' => $t( 'Texto', 'Ven a conocer a los animales. Y si te vas de vacaciones, también cuidamos de tu perro o gato en nuestro hotel.', 'Etorri animaliak ezagutzera. Eta oporretara bazoaz, zure txakurra edo katua ere zaintzen dugu gure hotelean.', 'textarea' ),
|
||||
'image' => array( 'type' => 'image', 'label' => 'Foto del hotel o las instalaciones', 'default' => 0 ),
|
||||
'button' => $t( 'Botón del hotel', 'Hotel para perros y gatos', 'Txakur eta katuentzako hotela' ),
|
||||
),
|
||||
),
|
||||
'talk' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Contacto con formulario',
|
||||
'section' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Hablemos', 'Hitz egin dezagun' ),
|
||||
'title' => $t( 'Título', 'Habla con una persona', 'Hitz egin pertsona batekin' ),
|
||||
'text' => $t( 'Texto', 'Adopciones, acogidas, voluntariado, hotel o un animal perdido: escríbenos y te responde alguien del equipo.', 'Adopzioak, harrerak, boluntariotza, hotela edo animalia galdu bat: idatzi iezaguzu eta taldeko norbaitek erantzungo dizu.', 'textarea' ),
|
||||
'form_title' => $t( 'Título del formulario', 'Escríbenos', 'Idatzi iezaguzu' ),
|
||||
),
|
||||
),
|
||||
'help' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Formas de ayudar (tarjetas)',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'fields' => array(
|
||||
'eyebrow' => $t( 'Antetítulo', 'Colabora', 'Lagundu' ),
|
||||
'title' => $t( 'Título', 'Hay muchas formas de ayudar', 'Laguntzeko modu asko daude' ),
|
||||
'text' => $t( 'Texto', 'No hace falta adoptar para cambiar la vida de un animal.', 'Ez da beharrezkoa adoptatzea animalia baten bizitza aldatzeko.', 'textarea' ),
|
||||
),
|
||||
),
|
||||
'species' => array(
|
||||
'panel' => 'ga_home',
|
||||
'title' => 'Perros y gatos (accesos con foto)',
|
||||
'title' => 'Accesos a perros y gatos con foto',
|
||||
'section' => true,
|
||||
'hidden' => true,
|
||||
'description' => 'Usa las fotos de Adopción → Listado y fichas.',
|
||||
'fields' => array(
|
||||
'title' => $t( 'Título (vacío = ocultar)', '¿A quién vas a conocer hoy?', 'Nor ezagutuko duzu gaur?' ),
|
||||
'dog_label' => $t( 'Perros · texto', 'Conoce a los perros', 'Ezagutu txakurrak' ),
|
||||
'dog_image' => array( 'type' => 'image', 'label' => 'Perros · foto', 'default' => 0 ),
|
||||
'cat_label' => $t( 'Gatos · texto', 'Conoce a los gatos', 'Ezagutu katuak' ),
|
||||
'cat_image' => array( 'type' => 'image', 'label' => 'Gatos · foto', 'default' => 0 ),
|
||||
'title' => $t( 'Título (vacío = ocultar)', '¿A quién vas a conocer hoy?', 'Nor ezagutuko duzu gaur?' ),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -4,29 +4,59 @@ get_header();
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
$id = get_the_ID();
|
||||
$estado = ga_get( $id, 'estado' ) ?: 'disponible';
|
||||
$estado = ga_status( $id );
|
||||
$fields = ga_fields();
|
||||
$photos = ga_gallery_ids( $id );
|
||||
$species = get_the_terms( $id, 'especie' );
|
||||
$species = $species && ! is_wp_error( $species ) ? $species[0] : null;
|
||||
$facts = array_filter( array(
|
||||
ga__( 'Especie', 'Espeziea' ) => ga_species(),
|
||||
$fields['sexo']['label'] => ga_label( $id, 'sexo' ),
|
||||
$fields['edad']['label'] => ga_age( $id ),
|
||||
$fields['tamano']['label'] => ga_label( $id, 'tamano' ),
|
||||
$fields['raza']['label'] => ga_get( $id, 'raza' ),
|
||||
ga__( 'Llegó el', 'Iritsiera' ) => ga_label( $id, 'llegada' ),
|
||||
$fields['sexo']['label'] => ga_label( $id, 'sexo' ),
|
||||
ga__( 'Edad', 'Adina' ) => ga_age( $id ),
|
||||
$fields['nacimiento']['label'] => ga_label( $id, 'nacimiento' ),
|
||||
$fields['tamano']['label'] => ga_is_dog( $id ) ? ga_label( $id, 'tamano' ) : '',
|
||||
$fields['llegada']['label'] => ga_label( $id, 'llegada' ),
|
||||
) );
|
||||
$salud = ga_label( $id, 'salud' ) ?: array();
|
||||
$compatible = ga_label( $id, 'compatible' ) ?: array();
|
||||
$archive = get_post_type_archive_link( 'animal' );
|
||||
$texts = array_filter( array(
|
||||
'caracter' => ga_get( $id, 'caracter' ),
|
||||
'necesidades' => ga_get( $id, 'necesidades' ),
|
||||
'convivencia' => ga_get( $id, 'convivencia' ),
|
||||
'hogar' => ga_get( $id, 'hogar' ),
|
||||
) );
|
||||
$back = $species ? get_term_link( $species ) : get_post_type_archive_link( 'animal' );
|
||||
?>
|
||||
|
||||
<section class="ga-section" style="padding-top:48px">
|
||||
<section class="ga-section ga-section--tight">
|
||||
<div class="ga-wrap">
|
||||
<p><a href="<?php echo esc_url( $archive ); ?>"><?php ga_e( '← Todos los animales', '← Animalia guztiak' ); ?></a></p>
|
||||
<p class="ga-back"><a href="<?php echo esc_url( $back ); ?>">← <?php echo esc_html( $species ? ga_plural( $species->name ) : ga__( 'Adopta', 'Adoptatu' ) ); ?></a></p>
|
||||
|
||||
<article class="ga-animal">
|
||||
<div class="ga-animal__photo"><?php ga_animal_photo( 'ga-square' ); ?></div>
|
||||
<div>
|
||||
<div class="ga-animal__media">
|
||||
<div class="ga-animal__photo" data-ga-gallery-main>
|
||||
<?php if ( $photos ) : ?>
|
||||
<?php echo wp_get_attachment_image( $photos[0], 'ga-square', false, array( 'fetchpriority' => 'high' ) ); ?>
|
||||
<?php else : ?>
|
||||
<?php ga_animal_photo( 'ga-square' ); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if ( count( $photos ) > 1 ) : ?>
|
||||
<ul class="ga-thumbs" aria-label="<?php echo esc_attr( ga__( 'Más fotos', 'Argazki gehiago' ) ); ?>">
|
||||
<?php foreach ( $photos as $i => $photo ) : ?>
|
||||
<li>
|
||||
<button type="button" data-full="<?php echo esc_url( wp_get_attachment_image_url( $photo, 'ga-square' ) ); ?>"<?php echo 0 === $i ? ' aria-current="true"' : ''; ?> aria-label="<?php echo esc_attr( sprintf( ga__( 'Foto %d', '%d. argazkia' ), $i + 1 ) ); ?>">
|
||||
<?php echo wp_get_attachment_image( $photo, 'thumbnail', false, array( 'loading' => 'lazy', 'alt' => '' ) ); ?>
|
||||
</button>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_get( $id, 'video' ) ) : ?>
|
||||
<div class="ga-video"><?php echo ga_video_html( ga_get( $id, 'video' ) ); // oEmbed o <video> escapado. ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="ga-animal__info">
|
||||
<?php ga_status_badge(); ?>
|
||||
<h1 style="margin-top:14px"><?php the_title(); ?></h1>
|
||||
<h1><?php the_title(); ?></h1>
|
||||
|
||||
<?php if ( $facts ) : ?>
|
||||
<ul class="ga-animal__facts">
|
||||
@@ -36,65 +66,42 @@ while ( have_posts() ) :
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $salud ) : ?>
|
||||
<ul class="ga-tags" aria-label="<?php echo esc_attr( $fields['salud']['label'] ); ?>">
|
||||
<?php foreach ( $salud as $s ) : ?><li><?php echo esc_html( $s ); ?></li><?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<div class="ga-animal__story"><?php the_content(); ?></div>
|
||||
|
||||
<?php if ( $compatible ) : ?>
|
||||
<p><strong><?php echo esc_html( $fields['compatible']['label'] ); ?>:</strong> <?php echo esc_html( implode( ', ', $compatible ) ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="ga-animal__content"><?php the_content(); ?></div>
|
||||
<?php foreach ( $texts as $key => $text ) : ?>
|
||||
<div class="ga-animal__block">
|
||||
<h2><?php echo esc_html( $fields[ $key ]['label'] ); ?></h2>
|
||||
<?php echo wpautop( esc_html( $text ) ); ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php if ( 'adoptado' === $estado ) : ?>
|
||||
<div class="ga-box">
|
||||
<h3><?php echo esc_html( ga__( '¡' . get_the_title() . ' ya tiene familia! 🎉', get_the_title() . ': familia du jada! 🎉' ) ); ?></h3>
|
||||
<p>
|
||||
<?php ga_e( 'Pero muchos otros siguen esperando.', 'Baina beste asko zain daude oraindik.' ); ?>
|
||||
<a href="<?php echo esc_url( $archive ); ?>"><?php ga_e( 'Conócelos aquí', 'Ezagutu hemen' ); ?></a>.
|
||||
</p>
|
||||
<h3><?php echo esc_html( ga__( '¡' . get_the_title() . ' ya tiene familia!', get_the_title() . ': familia du jada!' ) ); ?></h3>
|
||||
<p><?php ga_e( 'Gracias por formar parte de sus segundas oportunidades.', 'Eskerrik asko haien bigarren aukeren parte izateagatik.' ); ?>
|
||||
<a href="<?php echo esc_url( $back ); ?>"><?php ga_e( 'Conoce a los que siguen esperando', 'Ezagutu oraindik zain daudenak' ); ?></a>.</p>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="ga-cta-box">
|
||||
<h3><?php echo esc_html( ga__( '¿Quieres conocer a ' . get_the_title() . '?', get_the_title() . ' ezagutu nahi duzu?' ) ); ?></h3>
|
||||
<p>
|
||||
<?php ga_e( 'Escríbenos y te contaremos todo sobre su carácter y cuidados.', 'Idatzi iezaguzu eta bere izaera eta zaintzari buruzko guztia kontatuko dizugu.' ); ?>
|
||||
<?php if ( 'acogida' === $estado ) { ga_e( 'Busca una casa de acogida temporal.', 'Aldi baterako harrera-etxe bat behar du.' ); } ?>
|
||||
</p>
|
||||
<a class="ga-btn" href="<?php echo esc_url( ga_adopt_url() ); ?>">
|
||||
<?php 'acogida' === $estado ? ga_e( 'Quiero acogerle', 'Harrera egin nahi diot' ) : ga_e( 'Quiero adoptarle', 'Adoptatu nahi dut' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
<details class="ga-meet" id="conocer"<?php echo isset( $_GET['enviado'] ) ? ' open' : ''; ?>>
|
||||
<summary class="ga-btn ga-btn--primary"><?php echo esc_html( ga_meet_label( $id ) ); ?></summary>
|
||||
<div class="ga-meet__panel">
|
||||
<?php if ( ga_opt( 'adopcion', 'form_intro' ) && ! isset( $_GET['enviado'] ) ) : ?>
|
||||
<p><?php ga_opt_e( 'adopcion', 'form_intro' ); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php echo do_shortcode( '[ga_contacto animal="' . (int) $id . '"]' ); ?>
|
||||
</div>
|
||||
</details>
|
||||
<?php get_template_part( 'template-parts/adoption-process' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( ga_opt( 'adopcion', 'share' ) ) : ?>
|
||||
<?php ga_share_links( $id ); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
$related = ga_query_animals( array( 'numero' => 4 ) );
|
||||
$related->posts = array_values( array_filter( $related->posts, fn( $p ) => $p->ID !== $id ) );
|
||||
$related->post_count = min( 3, count( $related->posts ) );
|
||||
if ( $related->post_count ) :
|
||||
?>
|
||||
<section class="ga-section ga-section--sand">
|
||||
<div class="ga-wrap">
|
||||
<h2><?php ga_e( 'También buscan hogar', 'Hauek ere etxe bila dabiltza' ); ?></h2>
|
||||
<div class="ga-grid">
|
||||
<?php
|
||||
while ( $related->have_posts() ) :
|
||||
$related->the_post();
|
||||
get_template_part( 'template-parts/animal-card' );
|
||||
endwhile;
|
||||
wp_reset_postdata();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php
|
||||
endif;
|
||||
endwhile;
|
||||
|
||||
get_footer();
|
||||
|
||||
@@ -185,11 +185,22 @@ p { margin: 0 0 1.1em; }
|
||||
.ga-nav { margin-inline: auto; }
|
||||
.ga-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
|
||||
.ga-nav a {
|
||||
display: block; padding: 8px 13px; border-radius: 999px;
|
||||
color: var(--ga-ink); text-decoration: none; font-weight: 600; font-size: .96rem;
|
||||
display: block; padding: 8px 11px; border-radius: 999px; white-space: nowrap;
|
||||
color: var(--ga-ink); text-decoration: none; font-weight: 600; font-size: .95rem;
|
||||
}
|
||||
.ga-nav a:hover, .ga-nav .current-menu-item > a, .ga-nav .current_page_item > a { background: var(--ga-green-soft); color: var(--ga-green-dark); }
|
||||
.ga-nav-highlight .ga-nav .menu-item:first-child a { background: var(--ga-red); color: var(--ga-on-red); }
|
||||
.ga-nav-highlight .ga-nav .menu-item:first-child > a { background: var(--ga-red); color: var(--ga-on-red); }
|
||||
.ga-nav .menu-item-has-children { position: relative; }
|
||||
.ga-nav .menu-item-has-children > a::after { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
|
||||
.ga-nav .sub-menu {
|
||||
position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; z-index: 60;
|
||||
display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
|
||||
background: #fff; border: 1px solid var(--ga-line); border-radius: calc(var(--ga-radius) * .8); box-shadow: var(--ga-shadow);
|
||||
}
|
||||
.ga-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
|
||||
.ga-nav .menu-item-has-children:hover > .sub-menu,
|
||||
.ga-nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }
|
||||
.ga-nav .sub-menu a { border-radius: 8px; white-space: nowrap; }
|
||||
|
||||
.ga-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
|
||||
.ga-header__phone { display: inline-flex; align-items: center; gap: 7px; color: var(--ga-green); font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
|
||||
@@ -208,10 +219,10 @@ p { margin: 0 0 1.1em; }
|
||||
padding: 8px 14px; font: 700 .92rem var(--ga-sans); color: var(--ga-green); cursor: pointer;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
@media (max-width: 1320px) {
|
||||
.ga-header__phone span { display: none; }
|
||||
}
|
||||
@media (max-width: 1060px) {
|
||||
@media (max-width: 1180px) {
|
||||
.ga-menu-toggle { display: inline-flex; }
|
||||
.ga-nav {
|
||||
position: absolute; inset: 100% 0 auto 0; margin: 0;
|
||||
@@ -221,6 +232,9 @@ p { margin: 0 0 1.1em; }
|
||||
.ga-nav.is-open { display: block; }
|
||||
.ga-nav ul { flex-direction: column; align-items: stretch; }
|
||||
.ga-nav a { padding: 12px 16px; font-size: 1.05rem; }
|
||||
.ga-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 6px 16px; background: none; min-width: 0; }
|
||||
.ga-nav .sub-menu a { font-size: .98rem; padding: 8px 16px; color: var(--ga-muted); }
|
||||
.ga-nav .menu-item-has-children > a::after { display: none; }
|
||||
.ga-header__actions { margin-left: auto; }
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
@@ -282,7 +296,7 @@ body { overflow-x: clip; }
|
||||
.ga-hero--split .ga-btn--ghost:hover { background: var(--ga-green); color: var(--ga-on-primary); }
|
||||
.ga-hero__media img, .ga-hero__art { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 240px 240px var(--ga-radius) var(--ga-radius); box-shadow: var(--ga-shadow); }
|
||||
.ga-hero__art { background: var(--ga-green); color: var(--ga-cream); display: grid; place-items: center; }
|
||||
.ga-hero__art svg { width: 55%; }
|
||||
.ga-hero__art svg { width: 62%; height: auto; }
|
||||
@media (max-width: 860px) {
|
||||
.ga-hero--split .ga-hero__inner { grid-template-columns: 1fr; }
|
||||
.ga-hero__media { max-width: 420px; }
|
||||
@@ -340,7 +354,7 @@ body { overflow-x: clip; }
|
||||
.ga-photo { margin: 0; }
|
||||
.ga-photo img, .ga-photo__placeholder { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
|
||||
.ga-photo__placeholder { display: grid; place-items: center; background: var(--ga-green-soft); color: var(--ga-green); }
|
||||
.ga-photo__placeholder svg { width: 28%; opacity: .35; }
|
||||
.ga-photo__placeholder svg { width: 38%; height: auto; opacity: .45; }
|
||||
.ga-photo figcaption { margin-top: 10px; font-size: .85rem; color: var(--ga-muted); }
|
||||
|
||||
.ga-list-title { font-size: 1.25rem; margin-top: 28px; }
|
||||
@@ -416,7 +430,8 @@ body { overflow-x: clip; }
|
||||
.ga-species__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; z-index: -1; }
|
||||
.ga-species__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55)); z-index: -1; }
|
||||
.ga-species__tile:hover img { transform: scale(1.05); }
|
||||
.ga-species__paw { position: absolute; right: 8%; top: 12%; width: 32%; opacity: .2; }
|
||||
.ga-species__paw { position: absolute; right: 8%; top: 12%; width: 34%; opacity: .35; }
|
||||
.ga-species__paw svg { display: block; width: 100%; height: auto; }
|
||||
.ga-species__label { position: absolute; left: 24px; bottom: 22px; right: 24px; font: var(--ga-heading-weight) clamp(1.4rem, 3vw, 2.1rem)/1.1 var(--ga-serif); color: #fff; }
|
||||
@media (max-width: 640px) { .ga-species { grid-template-columns: 1fr; } .ga-species__tile { aspect-ratio: 2/1; } }
|
||||
|
||||
@@ -442,7 +457,7 @@ body { overflow-x: clip; }
|
||||
.ga-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
|
||||
.ga-card:hover .ga-card__img img { transform: scale(1.04); }
|
||||
.ga-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ga-green); }
|
||||
.ga-card__placeholder svg { width: 36%; opacity: .3; }
|
||||
.ga-card__placeholder svg { width: 46%; height: auto; opacity: .45; }
|
||||
.ga-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
|
||||
.ga-card__title { margin: 0 0 4px; font-size: 1.45rem; }
|
||||
.ga-card__title a { color: inherit; text-decoration: none; }
|
||||
@@ -535,6 +550,67 @@ body { overflow-x: clip; }
|
||||
.ga-animal__photo { position: static; }
|
||||
}
|
||||
|
||||
/* Pestañas Perros / Gatos */
|
||||
.ga-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
|
||||
.ga-tab { padding: 11px 26px; border-radius: 999px; border: 2px solid var(--ga-green); color: var(--ga-green); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
|
||||
.ga-tab:hover { background: var(--ga-green-soft); color: var(--ga-green-dark); }
|
||||
.ga-tab.is-active { background: var(--ga-green); color: var(--ga-on-primary); }
|
||||
|
||||
/* Tarjeta detallada */
|
||||
.ga-card__excerpt { margin: 0; font-size: .95rem; color: var(--ga-muted); }
|
||||
.ga-card:not(.ga-card--detailed) .ga-card__body { padding: 14px 18px 16px; }
|
||||
.ga-card:not(.ga-card--detailed) .ga-card__title { margin: 0; }
|
||||
|
||||
/* Proceso de adopción */
|
||||
.ga-process { margin-top: 48px; padding: clamp(22px, 3vw, 32px); background: var(--ga-sand); border-radius: var(--ga-radius); }
|
||||
.ga-process h2 { font-size: 1.5rem; }
|
||||
.ga-process__steps { counter-reset: pr; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
|
||||
.ga-process__steps li { counter-increment: pr; position: relative; padding-left: 46px; min-height: 32px; padding-top: 4px; }
|
||||
.ga-process__steps li::before { content: counter(pr); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ga-green); color: var(--ga-on-primary); font: 800 .95rem var(--ga-serif); }
|
||||
.ga-process__note { margin: 16px 0 0; font-weight: 600; color: var(--ga-green-dark); }
|
||||
.ga-animal__info .ga-process { margin-top: 24px; }
|
||||
|
||||
/* Ficha: galería, vídeo, textos, formulario y compartir */
|
||||
.ga-back { margin-bottom: 24px; }
|
||||
.ga-back a { font-weight: 700; text-decoration: none; }
|
||||
.ga-animal__media { position: sticky; top: 110px; }
|
||||
.ga-animal__media .ga-animal__photo { position: static; }
|
||||
.ga-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
|
||||
.ga-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
|
||||
.ga-thumbs button[aria-current="true"] { border-color: var(--ga-green); }
|
||||
.ga-thumbs img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.ga-video { margin-top: 16px; border-radius: var(--ga-radius); overflow: hidden; }
|
||||
.ga-video iframe, .ga-video video { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
|
||||
.ga-animal__info h1 { margin-top: 10px; }
|
||||
.ga-animal__story { font-size: 1.08rem; }
|
||||
.ga-animal__block h2 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
|
||||
.ga-meet { margin-top: 32px; }
|
||||
.ga-meet > summary { list-style: none; width: 100%; font-size: 1.08rem; padding: 1em 1.5em; }
|
||||
.ga-meet > summary::-webkit-details-marker { display: none; }
|
||||
.ga-meet[open] > summary { border-radius: var(--ga-radius) var(--ga-radius) 0 0; }
|
||||
.ga-meet__panel { border: 2px solid var(--ga-green); border-top: 0; border-radius: 0 0 var(--ga-radius) var(--ga-radius); padding: 22px; background: #fff; }
|
||||
.ga-meet__panel .ga-form { margin-top: 0; }
|
||||
.ga-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ga-line); font-weight: 600; }
|
||||
.ga-share span { margin-right: 4px; }
|
||||
.ga-share__btn { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--ga-line); background: #fff; color: var(--ga-ink); font: 600 .9rem var(--ga-sans); text-decoration: none; cursor: pointer; }
|
||||
.ga-share__btn:hover { border-color: var(--ga-green); color: var(--ga-green); }
|
||||
@media (max-width: 860px) { .ga-animal__media { position: static; } }
|
||||
|
||||
/* Cita previa, enlaces y necesidades */
|
||||
.ga-cita { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: calc(var(--ga-radius) * .7); background: var(--ga-red-soft); color: var(--ga-ink); font-weight: 600; }
|
||||
.ga-cita--dark { background: rgba(255, 255, 255, .08); color: #fff; }
|
||||
.ga-cita svg { margin-top: 3px; color: var(--ga-red); }
|
||||
.ga-linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
|
||||
.ga-linklist a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ga-line); font-weight: 700; text-decoration: none; }
|
||||
.ga-social-inline { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
|
||||
.ga-social-inline a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
|
||||
.ga-needs-list { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; }
|
||||
.ga-needs-list li { position: relative; padding-left: 1.8em; }
|
||||
.ga-needs-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--ga-red-dark); }
|
||||
.ga-needs-note { font-weight: 600; color: var(--ga-green-dark); }
|
||||
.ga-form__animal { margin: 0; font-weight: 700; }
|
||||
.ga-footer__cita { color: #fff; font-weight: 600; }
|
||||
|
||||
/* =========================================================================
|
||||
Formularios
|
||||
========================================================================= */
|
||||
@@ -617,7 +693,7 @@ ol.is-style-ga-pasos li::before {
|
||||
.ga-footer { border-top: 1px solid rgba(255, 255, 255, .08); background: var(--ga-footer-bg); color: color-mix(in srgb, #fff 72%, var(--ga-footer-bg)); padding: 72px 0 28px; font-size: .95rem; }
|
||||
.ga-footer a { color: #fff; text-decoration: none; }
|
||||
.ga-footer a:hover { text-decoration: underline; color: #fff; }
|
||||
.ga-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
|
||||
.ga-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px; }
|
||||
.ga-footer h2 { color: #fff; font: 800 .76rem/1 var(--ga-sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.4em; }
|
||||
.ga-footer ul { list-style: none; margin: 0; padding: 0; }
|
||||
.ga-footer li { margin-bottom: 10px; }
|
||||
@@ -631,14 +707,15 @@ ol.is-style-ga-pasos li::before {
|
||||
.ga-footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
|
||||
.ga-footer__bottom ul { display: flex; gap: 18px; }
|
||||
.ga-footer__bottom li { margin: 0; }
|
||||
@media (max-width: 960px) { .ga-footer__grid { grid-template-columns: 1fr 1fr; } }
|
||||
@media (max-width: 1080px) { .ga-footer__grid { grid-template-columns: repeat(3, 1fr); } .ga-footer__about { grid-column: 1 / -1; } }
|
||||
@media (max-width: 760px) { .ga-footer__grid { grid-template-columns: 1fr 1fr; } }
|
||||
@media (max-width: 560px) { .ga-footer__grid { grid-template-columns: 1fr; } }
|
||||
|
||||
/* =========================================================================
|
||||
Varios
|
||||
========================================================================= */
|
||||
.ga-404 { text-align: center; padding: 110px 0; }
|
||||
.ga-404 svg { width: 90px; margin: 0 auto 20px; color: var(--ga-green); }
|
||||
.ga-404 svg { width: 120px; height: auto; margin: 0 auto 24px; display: block; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/* Explicación del proceso de adopción (Personalizar → Adopción y colabora). */
|
||||
$steps = ga_lines( ga_opt( 'adopcion', 'process' ) );
|
||||
if ( ! $steps ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
<div class="ga-process">
|
||||
<h2><?php ga_opt_e( 'adopcion', 'process_title' ); ?></h2>
|
||||
<ol class="ga-process__steps">
|
||||
<?php foreach ( $steps as $step ) : ?>
|
||||
<li><?php echo esc_html( $step ); ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
<?php if ( ga_opt( 'adopcion', 'process_note' ) ) : ?>
|
||||
<p class="ga-process__note"><?php ga_opt_e( 'adopcion', 'process_note' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@@ -1,30 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Tarjeta de animal (dentro del loop).
|
||||
* Tarjeta de animal (dentro del loop). Por defecto solo foto y nombre;
|
||||
* «detallada» añade edad y frase corta (Personalizar → Adopción).
|
||||
*/
|
||||
$id = get_the_ID();
|
||||
$meta = array_filter( array(
|
||||
ga_get( $id, 'raza' ) ?: ga_species(),
|
||||
ga_age( $id ),
|
||||
ga_label( $id, 'tamano' ),
|
||||
) );
|
||||
$compatible = ga_label( $id, 'compatible' ) ?: array();
|
||||
$id = get_the_ID();
|
||||
$detailed = 'detallada' === ga_opt( 'adopcion', 'card' );
|
||||
?>
|
||||
<article class="ga-card">
|
||||
<?php ga_status_badge(); ?>
|
||||
<article class="ga-card<?php echo $detailed ? ' ga-card--detailed' : ''; ?>">
|
||||
<?php if ( ga_opt( 'adopcion', 'card_status' ) ) : ?>
|
||||
<?php ga_status_badge(); ?>
|
||||
<?php endif; ?>
|
||||
<div class="ga-card__img"><?php ga_animal_photo(); ?></div>
|
||||
<div class="ga-card__body">
|
||||
<h3 class="ga-card__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
<?php if ( $meta ) : ?>
|
||||
<p class="ga-card__meta"><?php echo esc_html( implode( ' · ', $meta ) ); ?></p>
|
||||
<?php if ( $detailed ) : ?>
|
||||
<?php if ( ga_age( $id ) ) : ?>
|
||||
<p class="ga-card__meta"><?php echo esc_html( ga_age( $id ) ); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php if ( has_excerpt() ) : ?>
|
||||
<p class="ga-card__excerpt"><?php echo esc_html( get_the_excerpt() ); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ( $compatible ) : ?>
|
||||
<ul class="ga-badges">
|
||||
<?php foreach ( $compatible as $c ) : ?>
|
||||
<li><?php echo esc_html( ga_compat_label( $c ) ); ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<span class="ga-card__more"><?php ga_e( 'Ver ficha', 'Ikusi fitxa' ); ?> <?php echo ga_icon( 'arrow' ); ?></span>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
34
wp-content/themes/gure-ametsa/template-parts/home/about.php
Normal file
34
wp-content/themes/gure-ametsa/template-parts/home/about.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
$image = (int) ga_opt( 'about', 'image' );
|
||||
$colabora = ga_page_url( 'colabora' );
|
||||
$helps = array_filter( array(
|
||||
array( ga_opt( 'about', 'help1' ), $colabora . '#voluntariado' ),
|
||||
array( ga_opt( 'about', 'help2' ), $colabora . '#material' ),
|
||||
array( ga_opt( 'about', 'help3' ), get_post_type_archive_link( 'animal' ) ),
|
||||
), fn( $h ) => '' !== trim( (string) $h[0] ) );
|
||||
?>
|
||||
<section class="ga-section" id="bilagun">
|
||||
<div class="ga-wrap ga-split">
|
||||
<figure class="ga-photo">
|
||||
<?php if ( $image ) : ?>
|
||||
<?php echo wp_get_attachment_image( $image, 'large', false, array( 'loading' => 'lazy' ) ); ?>
|
||||
<?php else : ?>
|
||||
<div class="ga-photo__placeholder"><?php echo ga_placeholder_svg(); ?></div>
|
||||
<?php endif; ?>
|
||||
</figure>
|
||||
<div>
|
||||
<?php ga_section_head( 'about' ); ?>
|
||||
<?php if ( ga_opt( 'about', 'button' ) ) : ?>
|
||||
<p><a class="ga-btn ga-btn--primary" href="<?php echo esc_url( ga_page_url( 'quienes-somos' ) ); ?>"><?php ga_opt_e( 'about', 'button' ); ?> <?php echo ga_icon( 'arrow' ); ?></a></p>
|
||||
<?php endif; ?>
|
||||
<?php if ( $helps ) : ?>
|
||||
<h3 class="ga-list-title"><?php ga_opt_e( 'about', 'help_title' ); ?></h3>
|
||||
<ul class="ga-linklist">
|
||||
<?php foreach ( $helps as [ $label, $href ] ) : ?>
|
||||
<li><a href="<?php echo esc_url( $href ); ?>"><?php echo esc_html( $label ); ?> <?php echo ga_icon( 'arrow' ); ?></a></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -8,9 +8,9 @@ $button = ga_opt( 'animals', 'button' )
|
||||
<?php ga_section_head( 'animals', array( 'extra' => $button ) ); ?>
|
||||
<?php
|
||||
echo do_shortcode( sprintf(
|
||||
'[ga_animales numero="%d" estado="%s" vista="%s"]',
|
||||
'[ga_animales numero="%d" destacados="%s" vista="%s"]',
|
||||
max( 1, (int) ga_opt( 'animals', 'count' ) ),
|
||||
esc_attr( ga_opt( 'animals', 'filter' ) ),
|
||||
'destacados' === ga_opt( 'animals', 'filter' ) ? '1' : '',
|
||||
esc_attr( ga_opt( 'animals', 'view' ) )
|
||||
) );
|
||||
?>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
$image = (int) ga_opt( 'foster', 'image' );
|
||||
$items = ga_lines( ga_opt( 'foster', 'list' ) );
|
||||
$url = add_query_arg( 'motivo', 'acogida', ga_page_url( 'contacto' ) ) . '#formulario';
|
||||
$url = ga_page_url( 'acoge' );
|
||||
?>
|
||||
<section class="ga-section" id="acogida">
|
||||
<section class="ga-section ga-section--sand" id="acogida">
|
||||
<div class="ga-wrap ga-split">
|
||||
<div>
|
||||
<?php ga_section_head( 'foster' ); ?>
|
||||
@@ -25,7 +25,7 @@ $url = add_query_arg( 'motivo', 'acogida', ga_page_url( 'contacto' ) ) . '#for
|
||||
<?php if ( $image ) : ?>
|
||||
<?php echo wp_get_attachment_image( $image, 'large', false, array( 'loading' => 'lazy' ) ); ?>
|
||||
<?php else : ?>
|
||||
<div class="ga-photo__placeholder"><?php echo ga_icon( 'paw' ); ?></div>
|
||||
<div class="ga-photo__placeholder"><?php echo ga_placeholder_svg(); ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_opt( 'foster', 'caption' ) ) : ?>
|
||||
<figcaption><?php ga_opt_e( 'foster', 'caption' ); ?></figcaption>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
$colabora = ga_page_url( 'colabora' );
|
||||
$links = array(
|
||||
1 => get_post_type_archive_link( 'animal' ),
|
||||
2 => $colabora . '#acogida',
|
||||
2 => ga_page_url( 'acoge' ),
|
||||
3 => $colabora . '#voluntariado',
|
||||
4 => $colabora . '#donaciones',
|
||||
4 => $colabora . '#material',
|
||||
);
|
||||
?>
|
||||
<section class="ga-section ga-section--sand">
|
||||
|
||||
@@ -3,16 +3,16 @@ $image = (int) ga_opt( 'hero', 'image' );
|
||||
$video = (int) ga_opt( 'hero', 'video' );
|
||||
$full = 'full' === ga_opt( 'hero', 'layout' );
|
||||
$overlay = min( 95, (int) ga_opt( 'hero', 'overlay' ) ) / 100;
|
||||
$btn1 = ga_link( ga_opt( 'hero', 'btn1_url' ), get_post_type_archive_link( 'animal' ) );
|
||||
$btn2 = ga_link( ga_opt( 'hero', 'btn2_url' ), ga_page_url( 'contacto', '#formulario' ) );
|
||||
$btn1 = ga_link( ga_opt( 'hero', 'btn1_url' ), ga_species_url( 'perro' ) );
|
||||
$btn2 = ga_link( ga_opt( 'hero', 'btn2_url' ), ga_species_url( 'gato' ) );
|
||||
$doors = ga_opt( 'hero', 'doors' );
|
||||
|
||||
$colabora = ga_page_url( 'colabora' );
|
||||
$door_links = array(
|
||||
1 => get_post_type_archive_link( 'animal' ),
|
||||
2 => $colabora . '#acogida',
|
||||
2 => ga_page_url( 'acoge' ),
|
||||
3 => $colabora . '#voluntariado',
|
||||
4 => $colabora . '#donaciones',
|
||||
4 => $colabora . '#material',
|
||||
);
|
||||
|
||||
$classes = array( 'ga-hero', $full ? 'ga-hero--full' : 'ga-hero--split' );
|
||||
@@ -53,7 +53,7 @@ if ( $doors ) {
|
||||
<a class="ga-btn ga-btn--accent" href="<?php echo esc_url( $btn1 ); ?>"><?php ga_opt_e( 'hero', 'btn1' ); ?> <?php echo ga_icon( 'arrow' ); ?></a>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_opt( 'hero', 'btn2' ) ) : ?>
|
||||
<a class="ga-btn ga-btn--ghost" href="<?php echo esc_url( $btn2 ); ?>"><?php ga_opt_e( 'hero', 'btn2' ); ?></a>
|
||||
<a class="ga-btn ga-btn--ghost" href="<?php echo esc_url( $btn2 ); ?>"><?php ga_opt_e( 'hero', 'btn2' ); ?> <?php echo ga_icon( 'arrow' ); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@@ -63,7 +63,7 @@ if ( $doors ) {
|
||||
<?php if ( $image ) : ?>
|
||||
<?php echo wp_get_attachment_image( $image, 'large', false, array( 'fetchpriority' => 'high' ) ); ?>
|
||||
<?php else : ?>
|
||||
<div class="ga-hero__art"><?php echo ga_icon( 'paw' ); ?></div>
|
||||
<div class="ga-hero__art"><?php echo ga_placeholder_svg(); ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -9,8 +9,8 @@ foreach ( array( 'dog' => 'perro', 'cat' => 'gato' ) as $key => $slug ) {
|
||||
}
|
||||
$tiles[ $key ] = array(
|
||||
'url' => $term && ! is_wp_error( $term ) ? get_term_link( $term ) : get_post_type_archive_link( 'animal' ),
|
||||
'label' => ga_opt( 'species', "{$key}_label" ),
|
||||
'image' => (int) ga_opt( 'species', "{$key}_image" ),
|
||||
'label' => ga_opt( 'adopcion', "{$key}_label" ),
|
||||
'image' => (int) ga_opt( 'adopcion', "{$key}_image" ),
|
||||
);
|
||||
}
|
||||
?>
|
||||
@@ -25,7 +25,7 @@ foreach ( array( 'dog' => 'perro', 'cat' => 'gato' ) as $key => $slug ) {
|
||||
<?php if ( $tile['image'] ) : ?>
|
||||
<?php echo wp_get_attachment_image( $tile['image'], 'large', false, array( 'loading' => 'lazy', 'alt' => '' ) ); ?>
|
||||
<?php else : ?>
|
||||
<span class="ga-species__paw"><?php echo ga_icon( 'paw' ); ?></span>
|
||||
<span class="ga-species__paw"><?php echo ga_placeholder_svg(); ?></span>
|
||||
<?php endif; ?>
|
||||
<span class="ga-species__label"><?php echo esc_html( $tile['label'] ); ?> <span aria-hidden="true">→</span></span>
|
||||
</a>
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<?php $with_form = (bool) ga_opt( 'talk', 'form' ); ?>
|
||||
<section class="ga-section ga-section--dark" id="contacto">
|
||||
<div class="ga-wrap ga-talk">
|
||||
<div class="ga-wrap <?php echo $with_form ? 'ga-talk' : 'ga-narrow'; ?>">
|
||||
<div>
|
||||
<?php ga_section_head( 'talk' ); ?>
|
||||
<?php if ( ga_info( 'cita' ) ) : ?>
|
||||
<p class="ga-cita ga-cita--dark"><?php echo ga_icon( 'clock' ); ?> <span><?php echo esc_html( ga_info( 'cita' ) ); ?></span></p>
|
||||
<?php endif; ?>
|
||||
<ul class="ga-iconlist ga-iconlist--big">
|
||||
<?php if ( ga_info( 'telefono' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'phone' ); ?><span><strong><?php ga_e( 'Teléfono', 'Telefonoa' ); ?></strong><a href="<?php echo esc_attr( ga_tel_link() ); ?>"><?php echo esc_html( ga_info( 'telefono' ) ); ?></a></span></li>
|
||||
@@ -9,17 +13,20 @@
|
||||
<?php if ( ga_info( 'email' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'mail' ); ?><span><strong>Email</strong><a href="mailto:<?php echo esc_attr( ga_info( 'email' ) ); ?>"><?php echo esc_html( ga_info( 'email' ) ); ?></a></span></li>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_info( 'direccion' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'pin' ); ?><span><strong><?php ga_e( 'Dirección', 'Helbidea' ); ?></strong><?php echo esc_html( ga_info( 'direccion' ) ); ?></span></li>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_info( 'horario' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'clock' ); ?><span><strong><?php ga_e( 'Horario', 'Ordutegia' ); ?></strong><?php echo esc_html( ga_info( 'horario' ) ); ?></span></li>
|
||||
<li><?php echo ga_icon( 'clock' ); ?><span><strong><?php ga_e( 'Atención al público', 'Jendaurreko arreta' ); ?></strong><?php echo esc_html( ga_info( 'horario' ) ); ?></span></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<?php $social = ga_social_links( true ); ?>
|
||||
<?php if ( $social ) : ?>
|
||||
<div class="ga-social-inline"><?php echo $social; // Escapado en la función. ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="ga-panel ga-panel--form" id="formulario">
|
||||
<h3><?php ga_opt_e( 'talk', 'form_title' ); ?></h3>
|
||||
<?php echo do_shortcode( '[ga_contacto]' ); ?>
|
||||
</div>
|
||||
<?php if ( $with_form ) : ?>
|
||||
<div class="ga-panel ga-panel--form" id="formulario">
|
||||
<h3><?php ga_opt_e( 'talk', 'form_title' ); ?></h3>
|
||||
<?php echo do_shortcode( '[ga_contacto]' ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
$image = (int) ga_opt( 'visit', 'image' );
|
||||
?>
|
||||
<section class="ga-section ga-section--sand" id="visitanos">
|
||||
<div class="ga-wrap">
|
||||
<?php ga_section_head( 'visit' ); ?>
|
||||
<div class="ga-location">
|
||||
<div class="ga-location__photo">
|
||||
<?php if ( $image ) : ?>
|
||||
<?php echo wp_get_attachment_image( $image, 'large', false, array( 'loading' => 'lazy' ) ); ?>
|
||||
<?php else : ?>
|
||||
<div class="ga-photo__placeholder"><?php echo ga_icon( 'paw' ); ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="ga-location__info">
|
||||
<h3><?php echo esc_html( ga_opt( 'header', 'brand_line1' ) . ' ' . ga_opt( 'header', 'brand_line2' ) ); ?></h3>
|
||||
<ul class="ga-iconlist">
|
||||
<?php if ( ga_info( 'direccion' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'pin' ); ?><span><?php echo esc_html( ga_info( 'direccion' ) ); ?></span></li>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_info( 'horario' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'clock' ); ?><span><?php echo esc_html( ga_info( 'horario' ) ); ?></span></li>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_info( 'telefono' ) ) : ?>
|
||||
<li><?php echo ga_icon( 'phone' ); ?><a href="<?php echo esc_attr( ga_tel_link() ); ?>"><?php echo esc_html( ga_info( 'telefono' ) ); ?></a></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<div class="ga-location__actions">
|
||||
<?php if ( ga_info( 'maps' ) ) : ?>
|
||||
<a class="ga-btn ga-btn--primary" href="<?php echo esc_url( ga_info( 'maps' ) ); ?>" target="_blank" rel="noopener"><?php ga_e( 'Cómo llegar', 'Nola iritsi' ); ?> <?php echo ga_icon( 'arrow' ); ?></a>
|
||||
<?php endif; ?>
|
||||
<?php if ( ga_opt( 'visit', 'button' ) ) : ?>
|
||||
<a class="ga-btn ga-btn--outline" href="<?php echo esc_url( ga_page_url( 'hotel' ) ); ?>"><?php ga_opt_e( 'visit', 'button' ); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user