edidted typos in template

This commit is contained in:
jorge 2023-01-02 17:00:21 +01:00
parent 3ae1bd850c
commit 189e30eb73
1 changed files with 22 additions and 13 deletions

View File

@ -10,26 +10,26 @@
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
<?php if ( 'ofisuport-ajut' === get_post_type() ) : ?>
<div class="entry-meta">
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<section class="ofisuport-fund-info-fields">
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
<?php if( get_field('os_funder_name') ): ?>
<h6 class="ofisuport-funder-name"><?php the_field('os_funder_name'); ?></h6>
<?php endif; ?>
<?php if( get_field('os_fund_contact_name') ): ?>
<h6 class="ofisuport-fund-contact-name"><?php the_field('os_fund_contact_name'); ?></h6>
<?php endif; ?>
<?php if( get_field('os_fund_web') ): ?>
<h6 class="ofisuport-fund-web"><a href="<?php the_field('os_fund_web'); ?>"><?php the_field('os_fund_web'); ?></a></h6>
<?php endif; ?>
</section>
<div class="entry-content">
@ -58,19 +58,24 @@
);
?>
</div><!-- .entry-content -->
<section class="ofisuport-fund-info-fields">
<div class="ofisuport-fund-info-field">
<h6>Dirigit a</h6>
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
</div>
<div class="ofisuport-fund-info-field">
<h6>Tipus d'ajuda</h6>
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
</div>
<div class="ofisuport-fund-info-field">
<h6>Sectors</h6>
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
</div>
<div class="ofisuport-fund-info-field">
<h6>Termini</h6>
<?php if( get_field('os_fund_apply_begin') || get_field('os_fund_apply_end') ): ?>
@ -80,12 +85,16 @@
</ul>
<?php endif; ?>
</div>
<?php if( get_field('os_fund_web') || get_field('os_fund_apply_end') ): ?>
<div class="ofisuport-fund-info-field">
<h6>+ Informació</h6>
<p><a href="<?php the_field('os_fund_web'); ?>" class="button button-more button-letsgo">ves-hi</a></p>
</div>
<?php endif; ?>
<div class="ofisuport-fund-info-field">
<h6> Necessites assesorament?</h6>
<h6>Necessites assesorament?</h6>
<p><a href="<?php echo esc_url( home_url( '/consultoria/' ) ); ?>" class="button button-more button-ourservices">Oferim serveis de consultoria</a></p>
</div>