title: How do I add another ACF option to my elseif statement?
body: <p>I would like to add another banner image to my Wordpress ACF options for page.php. I would like to do this so I can create a default banner image for the default Wordpress template. I am not sure how to do it.</p>
  
  <pre><code>&lt;?php if (is_page_template('template-projects.php')) { ?&gt;
  
      &lt;?php
       $banimage2 = get_field('banner_img', 'options'); // Array returned by Advanced Custom Fields
       $banimage2Alt = $banimage2['alt']; // Grab, from the array, the 'alt'
       $banimage2Width = $banimage2['width']; // Grab, from the array, the 'width'
       $banimage2Height = $banimage2['height']; // Grab, from the array, the 'height'
       $banimage2ThumbURL = $banimage2['sizes']['large']; //grab from the array, the 'sizes', and from it, the 'thumbnail'
      ?&gt;
  
      &lt;img class="box-banner" src="&lt;?php echo $banimage2ThumbURL;?&gt;"  alt="&lt;?php echo $banimage2Alt; ?&gt;"  width="&lt;?php echo $banimage2Width; ?&gt;" height="&lt;?php echo $banimage2Height; ?&gt;" /&gt;
  
  &lt;?php } elseif (is_singular('projects')) { ?&gt;
  
      &lt;?php
       $banimage3 = get_field('pd_banner', $post_id); // Array returned by Advanced Custom Fields
       $banimage3Alt = $banimage3['alt']; // Grab, from the array, the 'alt'
       $banimage3Width = $banimage3['width']; // Grab, from the array, the 'width'
       $banimage3Height = $banimage3['height']; // Grab, from the array, the 'height'
       $banimage3ThumbURL = $banimage3['sizes']['large']; //grab from the array, the 'sizes', and from it, the 'thumbnail'
      ?&gt;
  
      &lt;img class="box-banner" src="&lt;?php echo $banimage3ThumbURL;?&gt;"  alt="&lt;?php echo $banimage3Alt; ?&gt;"  width="&lt;?php echo $banimage3Width; ?&gt;" height="&lt;?php echo $banimage3Height; ?&gt;" /&gt;
  
  &lt;?php } else { ?&gt;
      &lt;?php
       $banimage = get_field('banner_img'); // Array returned by Advanced Custom Fields
       $banimageAlt = $banimage['alt']; // Grab, from the array, the 'alt'
       $banimageWidth = $banimage['width']; // Grab, from the array, the 'width'
       $banimageHeight = $banimage['height']; // Grab, from the array, the 'height'
       $banimageThumbURL = $banimage['sizes']['large']; //grab from the array, the 'sizes', and from it, the 'thumbnail'
      ?&gt;
      &lt;?php if(get_field('banner_img')): ?&gt;
      &lt;img class="box-banner" src="&lt;?php echo $banimageThumbURL;?&gt;"  alt="&lt;?php echo $banimageAlt; ?&gt;"  width="&lt;?php echo $banimageWidth; ?&gt;"  height="&lt;?php echo $banimageHeight; ?&gt;" /&gt;
      &lt;?php endif; ?&gt;
  &lt;?php } ?&gt;
  </code></pre>