Support

Account

Home Forums General Issues Hi I Need help and your experting placing get_field inside an array post__in,

Helping

Hi I Need help and your experting placing get_field inside an array post__in,

  • Hi I Need help and your expertise placing get_field inside an array post__in,

    I have the code below but it’s just posting one post.

    <?php
    $fguides_value = get_field(‘recommended_fguides’);

    $args = array(
    ‘post_type’ => ‘food’,
    ‘posts_per_page’ => 3,
    post__in’ => array($fguides_value),

  • What kind of field is recommended_fguides

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hi I Need help and your experting placing get_field inside an array post__in,’ is closed to new replies.