Support

Account

Home Forums General Issues Display Image Field From Another Page Reply To: Display Image Field From Another Page

  • try putting the same code used there inside your loop

    
    if(!empty($pages)) {
      foreach($pages as $page){
        echo $page->post_title.'<br />';
        $image = get_field('profile_image');
        if (!empty($image)) {
          ?><img src="<?php 
               echo $image['url']; ?>" alt="<?php 
               echo $image['alt']; ?>" /><?php
        }
      }
    }