Title: custom Fields
Last modified: August 31, 2016

---

# custom Fields

 *  [aline.andrade](https://wordpress.org/support/users/alineandrade/)
 * (@alineandrade)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-192/)
 * 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?
 * [https://wordpress.org/plugins/xili-postinpost/](https://wordpress.org/plugins/xili-postinpost/)

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

 * ![](https://ps.w.org/xili-postinpost/assets/icon-256x256.png?rev=1016593)
 * [xili Post in Post](https://wordpress.org/plugins/xili-postinpost/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xili-postinpost/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xili-postinpost/)
 * [Active Topics](https://wordpress.org/support/plugin/xili-postinpost/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xili-postinpost/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xili-postinpost/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [aline.andrade](https://wordpress.org/support/users/alineandrade/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/custom-fields-192/)
 * Status: not resolved