title: How do I assign images to gallery id in Wordpress with shortcodes in Page Templates
body: <p>My friend has asked me to help them move images around on their wordpress site. They have an image slideshow that runs along the bottom of the page and the image gallery that shows, depends on the page template used. </p>
  
  <p>One template has the following code:</p>
  
  <pre><code>&lt;?php 
  $tagu = get_post_meta($post-&gt;ID,'bototm_gallery');
   ?&gt;
  
  &lt;div class="flt box_bottom"&gt;
  &lt;ul style="margin-left:10px !important; width:100% !important;" class="sub_photo sub_photo_gigs" class="sub_photo"&gt;
      &lt;?php echo do_shortcode($tagu['0']); ?&gt;
  
  &lt;/ul&gt;`
  </code></pre>
  
  <hr>
  
  <p>and another page template shows this code: </p>
  
  <pre><code>&lt;?php $tagu = get_post_meta($post-&gt;ID,'bototm_gallery'); ?&gt;
  
  
  &lt;div class="flt box_bottom"&gt;
  
  &lt;div class="sv_footer_photo"&gt;
  
  &lt;?php echo do_shortcode($tagu['0']); ?&gt;
  
  &lt;/div&gt;`
  </code></pre>
  
  <p>How do I add images to a specific gallery? I can't find a gallery id in the media library and/or I don't know where to find the class such as sv_footer_photo or sub_photo.</p>
  
  <p>Could you please explain it to me?</p>