Template tag : xiliml_the_other_posts

in loop display the link of other posts defined as in other languages (example under title or after end content)

Example of use in theme main loop

type of file : single.php or content-single.php (in twentyeleven-xili child theme)

<footer class="entry-meta">
 <div class="entry-meta">
  <?php if ( xiliml_new_list() ) xiliml_the_other_posts($post->ID,"Read this post in"); // xili-language ?>
 </div><!-- .entry-meta -->

Params: current post ID, link title term.

Ce contenu a été publié dans xili-language, avec comme mot(s)-clé(s) , , . Vous pouvez le mettre en favoris avec ce permalien.