Commit 9d19d05c authored by numeroteca's avatar numeroteca

#4 añade links para info en cada sección

parent ce4cb720
<?php
/* Template Name: Home page */
get_header(); ?>
<?php do_action( 'colormag_before_body_content' ); ?>
......@@ -24,7 +23,7 @@ get_header(); ?>
$my_query = new WP_Query($args);
?>
<?php echo "<h2 class='subsection'><span>".__('Next Activities','colormag-child')."</span></h2>"; ?>
<?php echo "<h2 class='subsection'><span>".__('Activities','colormag-child')."</span></h2>"; ?>
<div id="futuro">
......@@ -35,6 +34,9 @@ get_header(); ?>
<?php get_template_part( 'content', 'archive' ); ?>
<?php endwhile; endif; ?>
<?php echo "<div class='moreinfo'><a href='". get_page_link(pll_get_post(161)) ."'>".__('View all the activities','colormag-child')."</a></div>"; ?>
</div>
</div><!-- #content2 -->
......@@ -53,7 +55,7 @@ get_header(); ?>
<?php endwhile; ?>
<?php get_template_part( 'navigation', 'none' ); ?>
<?php echo "<div class='moreinfo'><a href='". get_page_link(pll_get_post(156)) ."'>".__('View older posts','colormag-child')."</a></div>"; ?>
<?php else : ?>
......@@ -99,9 +101,6 @@ get_header(); ?>
$my_query = new WP_Query($args);
$my_query_archive = new WP_Query($args_archive);
$my_query_asociados = new WP_Query($args_asociados);
global $post_i; $post_i = 1;
if ($my_query->have_posts() ) : while ( $my_query->have_posts() ) : $my_query->the_post();
......@@ -112,6 +111,7 @@ get_header(); ?>
</div>
<?php echo "<div class='moreinfo'><a href='". get_page_link(pll_get_post(1625)) ."'>".__('View all the projects','colormag-child')."</a></div>"; ?>
</div><!-- #content3 -->
</div><!-- #primary -->
......
No preview for this file type
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment