removed arxiu general link and title to convos to pre 2024

This commit is contained in:
jorge 2024-06-20 12:23:52 +02:00
parent 9ec63579ad
commit 6c117bfb67
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 -->