Wordpress: get subtitle
<p>I have here a loop to get the parent pages titles and featured images. I want to add the subtitle, but the subtitle is not displayed. In other templates I use  to get the subtitle of the specific page. But here in the loop I need the subtitles of the parent pages.
 I use for the subtitle a plugin wp_subtitle: here is a <a href="https://wordpress.org/plugins/wp-subtitle/" rel="nofollow">link</a></p>

<p>here is the code snippet:</p>

<pre><code> &lt;?php 
  $args = array(
      'parent' =&gt; $post-&gt;ID,
      'post_type' =&gt; 'page',
      'post_status' =&gt; 'publish'
  ); 
  $pages = get_pages($args);  ?&gt;
  &lt;div style="max-width:1240px;"&gt; 
  &lt;?php foreach( $pages as $page ) { ?&gt;
   &lt;div class="box"&gt;
      &lt;a href="&lt;?php echo  get_permalink($page-&gt;ID); ?&gt;" rel="bookmark" title="&lt;?php echo $page-&gt;post_title; ?&gt;"&gt;
      &lt;span class="title"&gt;&lt;?php echo $page-&gt;post_title; ?&gt;&lt;/span&gt;
      &lt;span class="thumbnail"&gt;&lt;?php echo get_the_post_thumbnail($page-&gt;ID, 'small-thumb'); ?&gt;&lt;/span&gt;
      &lt;span class="subtitle"&gt;&lt;?php echo $page-&gt;the_subtitle; ?&gt;&lt;/span&gt;
      &lt;span class="desc"&gt;&lt;?php echo get_post_meta($page-&gt;ID, 'desc', true); ?&gt;&lt;/span&gt;
      &lt;/a&gt;
  &lt;/div&gt;
  &lt;?php } ?&gt;
</code></pre>