Fix single.php was not up to date on the git
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
64ec471a10
commit
b044f3b032
54
single.php
54
single.php
|
|
@ -50,19 +50,35 @@ $wpseo_primary_term = new WPSEO_Primary_Term( 'category', get_the_id() );
|
|||
<h1><?php the_title(); ?></h1>
|
||||
<?php the_post_thumbnail();?>
|
||||
<div class="barre"></div>
|
||||
<p class="auteur">Rédaction : <?php echo get_the_author();?></p>
|
||||
<p class="tempsDeLecture">Comptez
|
||||
<?php
|
||||
if(!empty(get_field('temps_de_lecture'))):
|
||||
echo get_field('temps_de_lecture');
|
||||
else:
|
||||
?>
|
||||
<span class="eta"></span>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
minutes pour lire cet article :)
|
||||
</p>
|
||||
<?php if (ICL_LANGUAGE_CODE == 'en'): ?>
|
||||
<p class="auteur">Writing : <?php echo get_the_author();?></p>
|
||||
<p class="tempsDeLecture">Allow
|
||||
<?php
|
||||
if(!empty(get_field('temps_de_lecture'))):
|
||||
echo get_field('temps_de_lecture');
|
||||
else:
|
||||
?>
|
||||
<span class="eta"></span>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
minutes to read this article :)
|
||||
</p>
|
||||
<?php else: ?>
|
||||
<p class="auteur">Rédaction : <?php echo get_the_author();?></p>
|
||||
<p class="tempsDeLecture">Comptez
|
||||
<?php
|
||||
if(!empty(get_field('temps_de_lecture'))):
|
||||
echo get_field('temps_de_lecture');
|
||||
else:
|
||||
?>
|
||||
<span class="eta"></span>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
minutes pour lire cet article :)
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<div class="contenu"><?php the_content(); ?></div>
|
||||
</div>
|
||||
<div class="col-lg-4 sidebar">
|
||||
|
|
@ -72,7 +88,11 @@ $wpseo_primary_term = new WPSEO_Primary_Term( 'category', get_the_id() );
|
|||
if( have_rows('sujet_en_lien') ):
|
||||
// loop through the rows of data
|
||||
?>
|
||||
<h2 class="sujets">Sujets en relation avec cet article</h2>
|
||||
<?php if (ICL_LANGUAGE_CODE == 'en'): ?>
|
||||
|
||||
<?php else: ?>
|
||||
<h2 class="sujets">Sujets en relation avec cet article</h2>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
while ( have_rows('sujet_en_lien') ) : the_row();
|
||||
// display a sub field value
|
||||
|
|
@ -125,7 +145,11 @@ $wpseo_primary_term = new WPSEO_Primary_Term( 'category', get_the_id() );
|
|||
?>
|
||||
<div class="crawler"></div>
|
||||
<div class="domaineBloc">
|
||||
<h2 class="domaines">Nos domaines d’activité</h2>
|
||||
<?php if (ICL_LANGUAGE_CODE == 'en'): ?>
|
||||
<h2 class="domaines">What we do</h2>
|
||||
<?php else: ?>
|
||||
<h2 class="domaines">Nos domaines d’activité</h2>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'menu' => 'domaines - beta',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user