title: Dynamically add image to a slider in wordpress
body: <p>I am new to wordpress. Basically implemented a slider which works perfectly. Now <strong>Main thing is that I want the images that I used to be uploaded by admin user</strong>. I don't have idea to achieve this. Please help me. Amy help is heartly appreciated.</p>
  
  <p>Here is my code :-</p>
  
  <pre><code>&lt;aside class="portfolio-right"&gt;
    &lt;ul class="mybxslider"&gt;
       &lt;li&gt;&lt;img src="&lt;?php bloginfo('template_url'); ?&gt;/images/acc-thumbnail-1.jpg" /&gt;&lt;/li&gt;
       &lt;li&gt;&lt;img src="&lt;?php bloginfo('template_url'); ?&gt;/images/acc-thumbnail-2.jpg" /&gt;&lt;/li&gt;
       &lt;li&gt;&lt;img src="&lt;?php bloginfo('template_url'); ?&gt;/images/acc-thumbnail-3.jpg" /&gt;&lt;/li&gt;
    &lt;/ul&gt;
   &lt;script&gt;
      $('.mybxslider').bxSlider({
            adaptiveHeight: true,
            mode: 'fade'
       });
   &lt;/script&gt;
  &lt;/aside&gt;
  </code></pre>