Fix some missing traductions in the single
This commit is contained in:
parent
07d3a1e84e
commit
5f502c81a7
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>
|
<h1><?php the_title(); ?></h1>
|
||||||
<?php the_post_thumbnail();?>
|
<?php the_post_thumbnail();?>
|
||||||
<div class="barre"></div>
|
<div class="barre"></div>
|
||||||
<p class="auteur">Rédaction : <?php echo get_the_author();?></p>
|
<?php if (ICL_LANGUAGE_CODE == 'en'): ?>
|
||||||
<p class="tempsDeLecture">Comptez
|
<p class="auteur">Writing : <?php echo get_the_author();?></p>
|
||||||
<?php
|
<p class="tempsDeLecture">Allow
|
||||||
if(!empty(get_field('temps_de_lecture'))):
|
<?php
|
||||||
echo get_field('temps_de_lecture');
|
if(!empty(get_field('temps_de_lecture'))):
|
||||||
else:
|
echo get_field('temps_de_lecture');
|
||||||
?>
|
else:
|
||||||
<span class="eta"></span>
|
?>
|
||||||
<?php
|
<span class="eta"></span>
|
||||||
endif;
|
<?php
|
||||||
?>
|
endif;
|
||||||
minutes pour lire cet article :)
|
?>
|
||||||
</p>
|
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 class="contenu"><?php the_content(); ?></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-4 sidebar">
|
<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') ):
|
if( have_rows('sujet_en_lien') ):
|
||||||
// loop through the rows of data
|
// 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
|
<?php
|
||||||
while ( have_rows('sujet_en_lien') ) : the_row();
|
while ( have_rows('sujet_en_lien') ) : the_row();
|
||||||
// display a sub field value
|
// 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="crawler"></div>
|
||||||
<div class="domaineBloc">
|
<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
|
<?php
|
||||||
wp_nav_menu( array(
|
wp_nav_menu( array(
|
||||||
'menu' => 'domaines - beta',
|
'menu' => 'domaines - beta',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user