-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
carga de contenido sin javascript (para buscadores)
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
<?php get_header(); ?> | ||
<main role="main"> | ||
<noscript> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
|
||
<section class="<?php echo $post->post_name; ?> main-section"> | ||
<div class="inner-header"> | ||
<div class="section-name"> | ||
<div class="icon-<?php echo $post->post_name; ?> color-bg"></div> | ||
<h1 class="color"><?php the_title(); ?></h1> | ||
</div> | ||
</div> | ||
<div class="inner-main"> | ||
<?php the_content(); ?> | ||
</div> | ||
|
||
<?php if ($post->post_name == 'servicios') { ?> | ||
<p class="close-search color"> ¿Eres un cliente chévere? <br> <span>Déjanos tus datos para contatarte. :-)</span></p> | ||
<?php } elseif ($post->post_name == 'principios') { ?> | ||
<p class="close-search color"> ¿Te sientes identificado? <br> <span>Unete a nuestro equipo. :-)</span></p> | ||
<?php } ?> | ||
</section> | ||
|
||
<?php endwhile; ?> | ||
</noscript> | ||
</main> | ||
<?php get_footer(); ?> |