Compare commits

..

3 Commits

Author SHA1 Message Date
jorge 6c117bfb67 removed arxiu general link and title to convos to pre 2024 2024-06-20 12:23:52 +02:00
jorge 9ec63579ad Revert "changed loop to avoid dates issues"
This reverts commit 9cb18552d0.
2024-05-27 16:42:08 +02:00
jorge 9cb18552d0 changed loop to avoid dates issues 2024-05-27 16:26:30 +02:00
1 changed files with 10 additions and 10 deletions

View File

@ -135,13 +135,7 @@ get_header();
<?php endif; //end query convo ?>
</section>
<section id="filteredcalls-pre2024" class="xarxaprod-filtered-content xarxaprod-filtered-content xarxaprod-filtered-calls xarxaprod-convos-filtrats">
<header>
<h2 class="section-title"><a href="<?php echo site_url(); ?>/convocatories-pre-2024/">Convocatories pre 2024</a></h2>
</header>
<aside id="callsfilter" class="xarxaprod-filter-calls xarxaprod-fitre-convos">
</aside>
<?php
<?php
// comparing dates
// https://wordpress.stackexchange.com/a/12305
$the_query_archive_convopre2024 = new WP_Query(
@ -159,8 +153,14 @@ get_header();
// )
// uncomment above to activate preview of pre 2024 convos
);
?>
<?php if ( $the_query_archive_convopre2024->have_posts() ) : ?>
?>
<?php if ( $the_query_archive_convopre2024->have_posts() ) : ?>
<section id="filteredcalls-pre2024" class="xarxaprod-filtered-content xarxaprod-filtered-content xarxaprod-filtered-calls xarxaprod-convos-filtrats">
<header>
<h2 class="section-title"><a href="<?php echo site_url(); ?>/convocatories-pre-2024/">Convocatories pre 2024</a></h2>
</header>
<aside id="callsfilter" class="xarxaprod-filter-calls xarxaprod-fitre-convos">
</aside>
<content class="archive-posts category-convocatoriespre2024">
<?php while ( $the_query_archive_convopre2024->have_posts() ) : $the_query_archive_convopre2024->the_post(); ?>
@ -175,8 +175,8 @@ get_header();
?>
<?php wp_reset_postdata(); ?>
</content>
<?php endif; //end query convopre2024 ?>
</section>
<?php endif; //end query convopre2024 ?>
</main><!-- #main -->