title: wordpress shortcode attributes not being passed
body: <p>I've created a short code that I'm trying to pass an attribute into, but I don't seem to be receiving the value on the other end.</p>
  
  <p>Here's what I've got below;</p>
  
  <pre><code>    function list_display($atts) {
         extract( shortcode_atts(
              array(
                  'pageName' =&gt; 'No Page Received',
              ), $atts )
          );
  
      echo $pageName;
  
      add_shortcode('list-briefings-display', 'list_display');
      }
  </code></pre>
  
  <p>and the shortcode being used is</p>
  
  <pre><code>     [list-display pageName="My Page Name"]
  </code></pre>
  
  <p>and I'm running a require_once from functions.php</p>
  
  <pre><code>    require_once ( TEMPLATEPATH. '/includes/list-display.php' );
  </code></pre>
  
  <p>But what I'm seeing on the screen is 'No Page Received', can anyone think of something I might've missed?</p>
  
  <p>There is more content being generated by the shortcode, which I have't included, that's rendering fine. So it just seems to be something to do with how I've passed the attribute.</p>
  
  <p>Any help is appreciated.</p>