Web de Gure Ametsa Bi Lagun en WordPress para Dokploy
- Docker Compose (WordPress + MariaDB) listo para Dokploy, con instalación automática por etapas: idiomas, páginas, menús y plugins recomendados. - Web bilingüe castellano / euskera con Polylang. - Tema propio «gure-ametsa»: diseño inspirado en Beargrass Animal Rescue, personalizable desde Apariencia → Personalizar (paletas, tipografías, secciones de portada ordenables) y patrones de bloques propios. - Plugin mu «gure-ametsa-core»: animales en adopción con ficha y filtros, carrusel y formulario de contacto/adopción. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
36
wp-content/themes/gure-ametsa/index.php
Normal file
36
wp-content/themes/gure-ametsa/index.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
get_header();
|
||||
?>
|
||||
<header class="ga-page-head">
|
||||
<div class="ga-wrap">
|
||||
<h1><?php echo is_home() ? ga__( 'Noticias', 'Albisteak' ) : wp_kses_post( get_the_archive_title() ?: get_the_title() ); ?></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="ga-section">
|
||||
<div class="ga-narrow">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
<article <?php post_class( 'ga-box' ); ?>>
|
||||
<?php if ( is_singular() ) : ?>
|
||||
<h2><?php the_title(); ?></h2>
|
||||
<p><small><?php echo esc_html( get_the_date() ); ?></small></p>
|
||||
<?php the_content(); ?>
|
||||
<?php else : ?>
|
||||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
||||
<p><small><?php echo esc_html( get_the_date() ); ?></small></p>
|
||||
<?php the_excerpt(); ?>
|
||||
<?php endif; ?>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
<nav class="ga-pagination"><?php echo paginate_links(); ?></nav>
|
||||
<?php else : ?>
|
||||
<p class="ga-empty"><?php ga_e( 'No hay contenido que mostrar.', 'Ez dago erakusteko edukirik.' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user