title: Wordpress query pages with certain template
body: <p>Is there a way to query Wordpress pages that have certain template?
  Here's what I got, but doesn't show anything:</p>
  
  <pre><code>&lt;?php $my_query = new WP_Query(array( 'meta_key' =&gt; '_wp_page_template', 'meta_value' =&gt; 'template-city.php' )); ?&gt;
                  &lt;?php while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;
                      &lt;li&gt;
                      &lt;?php the_title(); ?&gt;
                      &lt;/li&gt;
                  &lt;?php endwhile; ?&gt;
  </code></pre>
  
  <p>Of course, there is page template file named <code>template-city.php</code></p>