How to Write Different Post Titles on Homepage or Categories?

Posted in: Newspaper
Post count: 19

I would like to write different post titles on the homepage and in categories. At the moment the homepage shows the post title used in the posts/articles/blog. I will give you an example of what I want to do.

‘Bepicolombo’ is the title of the page.
http://www.aerospaceguide.net/spacecraft/bepicolombo.html

On the AeroSpaceGuide.net homepage I would like to show: ‘BepiColombo: European Japanese Mission to Planet Mercury’.

Why? On the homepage the title gives extra info whereas in the post page it takes too much of the post title name area.

I await your reply,

Vic Stathopoulos
http://www.aerospaceguide.net

Post count: 22421

Hello,

Sorry but our theme does not have this kind of setting. The post title is the same on posts and in categories. There is no setting for a second post title. What you can do however is use the subtitle instead. Our theme does not have a setting to add the subtitle on blocks but it can be done by using the following method:

Please add this code in the module file you want to use on your blog page:
<?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>

Add the code in the corresponding file: http://screencast.com/t/6qhiGeeGO

Now you can add subtitles to specific modules. You set the subtitle by editing the post and adding content in the subtitle field.

I hope this helps.
Thanks

Post count: 27

Is it difficult to add the post link to that subtitle code? I was told it is “custom work,” but isn’t the above code supplied custom work as well?

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