edidted typos in template
This commit is contained in:
parent
3ae1bd850c
commit
189e30eb73
|
@ -10,27 +10,27 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
|
<?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 -->
|
</header><!-- .entry-header -->
|
||||||
|
|
||||||
<section class="ofisuport-fund-info-fields">
|
<section class="ofisuport-fund-info-fields">
|
||||||
|
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
|
||||||
<?php if( get_field('os_funder_name') ): ?>
|
<?php if( get_field('os_funder_name') ): ?>
|
||||||
<h6 class="ofisuport-funder-name"><?php the_field('os_funder_name'); ?></h6>
|
<h6 class="ofisuport-funder-name"><?php the_field('os_funder_name'); ?></h6>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if( get_field('os_fund_contact_name') ): ?>
|
|
||||||
|
<?php if( get_field('os_fund_contact_name') ): ?>
|
||||||
<h6 class="ofisuport-fund-contact-name"><?php the_field('os_fund_contact_name'); ?></h6>
|
<h6 class="ofisuport-fund-contact-name"><?php the_field('os_fund_contact_name'); ?></h6>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if( get_field('os_fund_web') ): ?>
|
|
||||||
|
<?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>
|
<h6 class="ofisuport-fund-web"><a href="<?php the_field('os_fund_web'); ?>"><?php the_field('os_fund_web'); ?></a></h6>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</section>
|
|
||||||
|
</section>
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
|
|
||||||
|
@ -58,19 +58,24 @@
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
|
||||||
<section class="ofisuport-fund-info-fields">
|
<section class="ofisuport-fund-info-fields">
|
||||||
|
|
||||||
<div class="ofisuport-fund-info-field">
|
<div class="ofisuport-fund-info-field">
|
||||||
<h6>Dirigit a</h6>
|
<h6>Dirigit a</h6>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ofisuport-fund-info-field">
|
<div class="ofisuport-fund-info-field">
|
||||||
<h6>Tipus d'ajuda</h6>
|
<h6>Tipus d'ajuda</h6>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ofisuport-fund-info-field">
|
<div class="ofisuport-fund-info-field">
|
||||||
<h6>Sectors</h6>
|
<h6>Sectors</h6>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ofisuport-fund-info-field">
|
<div class="ofisuport-fund-info-field">
|
||||||
<h6>Termini</h6>
|
<h6>Termini</h6>
|
||||||
<?php if( get_field('os_fund_apply_begin') || get_field('os_fund_apply_end') ): ?>
|
<?php if( get_field('os_fund_apply_begin') || get_field('os_fund_apply_end') ): ?>
|
||||||
|
@ -80,12 +85,16 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if( get_field('os_fund_web') || get_field('os_fund_apply_end') ): ?>
|
||||||
<div class="ofisuport-fund-info-field">
|
<div class="ofisuport-fund-info-field">
|
||||||
<h6>+ Informació</h6>
|
<h6>+ Informació</h6>
|
||||||
<p><a href="<?php the_field('os_fund_web'); ?>" class="button button-more button-letsgo">ves-hi</a></p>
|
<p><a href="<?php the_field('os_fund_web'); ?>" class="button button-more button-letsgo">ves-hi</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="ofisuport-fund-info-field">
|
<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>
|
<p><a href="<?php echo esc_url( home_url( '/consultoria/' ) ); ?>" class="button button-more button-ourservices">Oferim serveis de consultoria</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue