Home Forums Add-ons Repeater Field Display specific field from all posts


Display specific field from all posts

  • Hello,
    I must display a specific custom field for all articles, I have tried this loop, and I have just partial results (only the newest added articles appear in this loop, the oldest are not).

    if ( have_posts() ) : while ( have_posts() ) : the_post();
    $price= get_field (“price”);
    echo the_title().$price.”<br>”;

    Any idea how to loop this, to show all articles that have that specific field ?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.