Excerpt as a secondary title for post

Posted in: Newspaper
Post count: 20

Hi,

Is it possible to add a subtitle below the post title (on the single post) and make that subtitle the same as the post excerpt?

Thanks

Post count: 23312

Hello MiguelPat,

If you want to add a subtitle for a post, notice that you can do that from the panel, like this -> https://www.screencast.com/t/1NncCHhavl8 and then here -> https://www.screencast.com/t/5cyjWLsGwR is the option for the subtitle.

If is not what you mean, please provide more details so I will be able to provide a more accurate response.

Thanks for the message!

Post count: 20

Thank you! 🙂 I didn’t notice that option, is great! 🙂
But is ite possible to automatically insert there the post excerpt of each post?

Post count: 23312

Hello MiguelPat,

Unfortunately, our theme does not have any such an automatically way to add subtitle for each post, sorry! If you want to do this, you should do it yourself because we cannot provide customization services at the moment, sorry! If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thanks for the message!

Post count: 20

Hello,

Thank you.

I did that replacing this:
<?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) { ?>
<p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle']; ?></p>
<?php } ?>

With this…
<p class="td-post-sub-title"><?php echo the_excerpt(); ?></p>

But the text isn’t formated like the original subtitle… can anyone help me with this PHP code?

Post count: 23312

Hello MiguelPat,

Usually, we recommend the developers from studio.envato.com

Thanks for the message!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.