Support » Plugin: xili Post in Post » custom Fields

  • Hello,
    as I can capture the value of the loaded custom field for each category?
    For the post I call this way:

    <?php $recent = new WP_Query("cat=18&showposts=5&lang=pt-BR"); while($recent->have_posts()) : $recent->the_post();?>
             <h3 class="titulo"><?php the_title(); ?></h3>
              <p class="data"><?php  the_field('data_noticia') ?></p>
     <?php endwhile; ?>

    How do I call a specific category, the post only by language and custom fields?

  • The topic ‘custom Fields’ is closed to new replies.