How do I add a subtitle or short summary to the home page post grids

Posted in: Newspaper
Post count: 6

Currently the big-grid and block sections only display the title of the posts. How do I make it so the sub-title or short excerpt of the post is displayed as well? An example of this is Pfizer.com

Thank you

Post count: 23312

Hello jmark4455,

Please notice that our blocks have the Excerpts section which can be managed from Theme panel, like this -> https://forum.tagdiv.com/excerpts-introduction/

Thanks for your understanding!

Post count: 6

To clarify, I want the post subtitle to appear in the IMAGE of the big-grid layout, NOT below the picture. Thank you.

Post count: 23312

Hello jmark4455,

Unfortunately, our Big Grids do not have any such an option that allows you to display short text below the title, sorry! IF you want and if you have some good skills through coding, you should implement it yourself because we cannot provide custom services at the moment, sorry!

Thanks for your understanding!

Post count: 6

Thanks for the response – I have “ok” coding skills that I stumble along and figure things out. Can you please point me to the template where I would add the subtitle? Is it includes/shortcodes/td_block_big_grid_3.php? I appreciate any guidance you can give to get me started.

Post count: 22421

Hello,

In our theme each block is made out of 1 ore more modules. The grids are no different. If you want to show a text in the grid itself then, yes that is the file you need to alter. If you want to add text to the posts shown in the grids (just in the grid presentation not on the post itself), then you will need this guide: https://forum.tagdiv.com/theme-blocks-modules/

https://www.screencast.com/t/Wf3ubi6DUiiW

Thanks

Post count: 6

I’ve edited the file name: td_module_mx11.php with the following code:

<?php echo '<p style="color:#fff;">Hello World</p>';?>

below the existing code:

<?php echo $this->get_title();?>

Hello World appears in my Grid view but when I try and add

<?php echo $this->get_Subtitle();?> or
<?php echo $this->get_Secondary_title();?>

The wording doesn’t appear. Can you help me with what I’m missing? I have 20 or so words I would like to add to the subtitle OR Secondary title (on the post page) so that it appears on the grid layout below the title. I know I’m close but not sure why the above code isn’t working. Thanks

Post count: 22421

Hello,
The get_subtitle or get_secondary_title are not used in our theme. The blocks grab the functions from here: https://www.screencast.com/t/2ZoNFvJv
Our theme has a custom implementation for the subtitle as it does not use the general WP subtitle function as is the case with many more elements: https://www.screencast.com/t/lRkwqDjeSe
IF you cannot figure out which function is used and which is not and replaced with custom ones, then you will need to hire a developer to help out with the code. This type of customization requires coding skills to make and is not covered by the theme support.

Thank you!

Post count: 6

I figured it out – thank you for your help! I used the excerpt function that already existed to add the additional title to the grid. Again, really appreciate the guidance

Post count: 6

I’m having trouble editing the excerpt css that I added to the big-grid-3. In the chrome developer tool the excerpt code appears like this:

<div class="td-big-grid-meta">
<h3 class="entry-title td-module-title">Drug Safety Services</h3>This is the excerpt I want to edit</div>

I tried the following versions below for changing the excerpt css but nothing worked:
.td-big-grid-post .td-excerpt {color:#fff; font-size:14px;}
.td-big-grid-meta .td-excerpt{color:#fff; font-size:14px;}
.td-module-excerpt{color:#fff; font-size:14px;}

Can you please guide me to how I edit the css for the excerpt function I added to the big grid?

Post count: 22421

Hello,

I can give it a try but please note the grids were never designed to show excerpts. The css could not work properly so I cannot promise anything as this represents customization but provide a link to your site and I will try to see if a solution can work.
Please contact us via email at contact@tagdiv.com if you do not want to share the site on this forum. Please also provide specific instructions about what exactly you are trying to change with css.

Thanks.

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