Support

Account

Home › Forums › General Issues › Using a variable on multiple templates › Reply To: Using a variable on multiple templates

  • Your variable is only valid in the template where it is set. You need to define it in every template

    
    $myImage = get_field('my_image');