added mail, tel and free text on dates

This commit is contained in:
jorge-vitrubio 2023-01-30 11:50:59 +01:00
parent a7185931e1
commit 6aff85827e
1 changed files with 16 additions and 6 deletions

View File

@ -12,7 +12,6 @@
<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 the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header><!-- .entry-header -->
@ -34,12 +33,19 @@
</div>
<?php endif; ?>
<?php if( get_field('os_fund_web') ): ?>
<?php if( get_field('os_fund_contact_mail') ): ?>
<div class="ofisuport-fund-info-field">
<p class="ofisuport-fund-web"><a href="<?php the_field('os_fund_web'); ?>"><?php the_field('os_fund_web'); ?></a></p>
</div>
<p class="ofisuport-fund-contact-mail"><?php the_field('os_fund_contact_mail'); ?></p>
</div>
<?php endif; ?>
<?php if( get_field('os_fund_contact_tel') ): ?>
<div class="ofisuport-fund-info-field">
<p class="ofisuport-fund-contact-tel"><?php the_field('os_fund_contact_tel'); ?></p>
</div>
<?php endif; ?>
</section>
<div class="entry-content">
@ -90,10 +96,14 @@
<h6>Termini</h6>
<?php if( get_field('os_fund_apply_begin') || get_field('os_fund_apply_end') ): ?>
<ul class="ofisuport-label item-os_fund_dates">
<li> <?php the_field('os_fund_apply_begin'); ?> </li>
<li> <?php the_field('os_fund_apply_end'); ?> </li>
<li class="item-os_fund_apply_begin">del <?php the_field('os_fund_apply_begin'); ?> </li>
<li class="item-os_fund_apply_end">al <?php the_field('os_fund_apply_end'); ?> </li>
</ul>
<?php endif; ?>
<?php if( get_field('os_fund_apply_text') ): ?>
<p class="item-os_fund_apply_text"><?php the_field('os_fund_apply_text'); ?></p>
<?php endif; ?>
</div>
<?php if( get_field('os_fund_web') ): ?>