Title: How to insert a subtitle
Last modified: August 21, 2016

---

# How to insert a subtitle

 *  Resolved [stuli1989](https://wordpress.org/support/users/stuli1989/)
 * (@stuli1989)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/)
 * Hi,
 * I’m a fairly new user to wordpress and such detailed coding in general.
    Have
   been trying for the death of me to figure out where exactly to insert the
 * <?php the_subtitle(); ?>
 * command to ensure that the subtitles show on the front page as well as the individual
   post page too.
 * Ive installed the WP Subtitle Plugin to make this happen, but am open to using
   the KIA Subtitle plugin too if it is easier
    Any Idea of where it could be added?
 * Big Vote of thanks to Alexander for making such an epic theme free 🙂
    Let me
   know if your ever in Bombay would love to buy you a beer

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Balint Toth](https://wordpress.org/support/users/tothbalint/)
 * (@tothbalint)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/#post-4390650)
 * Hello!
 * It depends on where you want the subtitle to appear. In any way, you will have
   to put it in some theme file, which can be found in your site’s files in `/wp-
   content/themes/hueman/`. Could you please post a link to your site and tell me
   where you would like the subtitle to appear, so I could give you the most exact
   answer?
 * Thank you!
 * Greetings,
    Toth Balint BT
 *  Thread Starter [stuli1989](https://wordpress.org/support/users/stuli1989/)
 * (@stuli1989)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/#post-4390710)
 * Hi Toth,
 * My website it [http://www.bambaiyaveggie.com](http://www.bambaiyaveggie.com)
 * I would like it to appear after the post title but before the By Author space.
 * This is so that people who visit for the photo posts know where the photo was
   taken
 * Thanks,
    Kshitij Shah
 *  [Balint Toth](https://wordpress.org/support/users/tothbalint/)
 * (@tothbalint)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/#post-4390714)
 * Thank you very much!
 * You will have to edit your theme’s `single.php` file. I suggest that you create
   a child theme, because if you do not do so, when you update the theme, it is 
   most likely that this edit we are going to do here, will be lost. You can find
   a great article on how to create the child theme here:
    [codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 * After you have created the child theme folder and made the necessary edits to
   the style.css folder as the above article suggests, please copy the `single.php`
   file from the `wp-content/themes/hueman/` folder to your child theme’s folder,
   and edit this file there (so not in the parent’s folder).
 * In the `single.php` file, please find this part, it is on the beginning of the
   file, around line number 14
 *     ```
       <?php while ( have_posts() ): the_post(); ?>
       			<article <?php post_class(); ?>>
       				<div class="post-inner group">
   
       					<h1 class="post-title"><?php the_title(); ?></h1>
       					<p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> &middot; <?php the_time(get_option('date_format')); ?></p>
   
       					<?php get_template_part('inc/post-formats'); ?>
       ```
   
 * And insert there the row
 *     ```
       <p class="post-byline"><?php the_subtitle(); ?></p>
       ```
   
 * So at the end, it should look like this:
 *     ```
       <?php while ( have_posts() ): the_post(); ?>
       			<article <?php post_class(); ?>>
       				<div class="post-inner group">
   
       					<h1 class="post-title"><?php the_title(); ?></h1>
       					<p class="post-byline"><?php the_subtitle(); ?></p>
       					<p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> &middot; <?php the_time(get_option('date_format')); ?></p>
   
       					<?php get_template_part('inc/post-formats'); ?>
       ```
   
 * Save the file, and reload your website.
 * Please let me know if this solved your problem.
 * If you have any additional questions, just drop a line here and I am happy to
   help you.
 * Greetings,
    Toth Balint BT
 *  Thread Starter [stuli1989](https://wordpress.org/support/users/stuli1989/)
 * (@stuli1989)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/#post-4390720)
 * Hi Toth,
 * It works!! Thanks a lot for this.
 * Marking this as resolved 🙂 🙂
 * Best regards,
    Kshitij Shah
 *  [Balint Toth](https://wordpress.org/support/users/tothbalint/)
 * (@tothbalint)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/#post-4390722)
 * You are welcome!
 * If you need any more help, I am here.
 * Have a nice day!
 * Toth Balint BT

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to insert a subtitle’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Balint Toth](https://wordpress.org/support/users/tothbalint/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-insert-a-subtitle/#post-4390722)
 * Status: resolved