Code to add subtitle to a module that will link to the post

Posted in: Newspaper
Post count: 27

Hi,
Can you please modify this code provided by Bogden B so that the subtitle will link to the post?

https://forum.tagdiv.com/topic/how-to-write-different-post-titles-on-homepage-or-categories/#post-162352
<?php $td_subtitle_module = get_post_meta($this->post->ID, 'td_post_theme_settings', true); ?>
<p class="td-sub-title"><?php if(!empty($td_subtitle_module['td_subtitle'])){echo $td_subtitle_module['td_subtitle'];} ?></p>

Thanks!

Post count: 35449

Hi,

Unfortunately this can be achieve only with custom work, and we do not have for the moment a team to do that, sorry!
Please check our Support Policy -> https://forum.tagdiv.com/support-policy-2/

Thank you!

Post count: 35449

Hi,

You could try this solution
-> https://www.screencast.com/t/nhov88jSu you need to set this code in each module where you want to have the subtitle with link on int to the post.
You can get the code from here ; but notice that you need to make those changes after each update, because since Newspaper v9.7 the child theme is working only for the functions.php and style.css files.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/

Thank you for your understanding!

Post count: 27

Thanks so much. That works.

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