the_subtitle under the_title
-
In the single.php i added “<?php the_title();?></h3> <?php the_subtitle();?>” and it displays correctly subtitle under title. It doesn’t function in the home page of my blog where is a list of my posts (recent posts).
I write
<h3> ‘. get_the_title() .’</h3>
<h5> ‘. get_the_subtitle() .’</h5>OR
<h3> ‘. get_the_title() . get_the_subtitle() .’ </h3>
OR
<h3> ‘. get_the_title() .’</h3>
<div> ‘.get_the_subtitle().'</div>the subtitle is not under title. It displays subtitle in other place, usually over thumbnail.
May you help me about it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘the_subtitle under the_title’ is closed to new replies.