title: Change Width and Height in Wordpress Shortcode for Jquery Plugin
body: <p>I'm using the following short code to call my plugin: [end_slider]</p>
  
  <p>This is my code in my functions file:</p>
  
  <pre><code>function slider_func() {
   ?&gt;
      &lt;script&gt;
          jQuery(document).ready(function($) {
                 $('#banner-fade').bjqs({
                       height: 350,
                       width: 980,
                       responsive: true
                 });
           });
      &lt;/script&gt;
    &lt;?php
  }
  
  add_shortcode( 'end_slider', 'slider_func' );
  </code></pre>
  
  <p>How can I create a function that will adjust the width and height of the plugin in the shortcode?</p>
  
  <p>The shortcode would look something like this: [end_slider width="980" height="350"]</p>