Excerpts not showing

Posted in: Newspaper
Post count: 97

Hello

The website I am busy with have all the excerpts entered manually.

I have looked through the documentation and forum but cannot find the answer to my problem.

The problem is the excerpts are not showing at all. I found the modules but don’t know how to enabled/control them other than change the length of title and excerpt text but ultimately, it’s not displaying on the post page.

If you can please help.

PS: I don’t want to post the DEV URL on an open forum if you can let me know how to do so privately.

Post count: 7909

Hi,

You can send an email at contact@tagdiv.com so we can take a look, also paste a link to this topic so we can know who you are and what your issue is.

Thanks!

Post count: 97

To explain, on the post view (single.php I think) the excerpt does not display. It’s manually entered in the excerpt field for the post. Email sent to the above email address. Thank you.

  • This reply was modified 10 years by tripledm.
Post count: 7909

Hi,

I have checked your site and like you see the excerpt appears – http://screencast.com/t/dIOGBgAPYdc but some of the modules were not designed to display excerpt(it display only post title). You can check in Theme Panel > Excerpts the modules used to creates blocks and which one have also the content – http://screencast.com/t/FdREjAZAdT
You can check this also on our demo how the blocks should look – http://demo.tagdiv.com/newspaper/block-1/
For example block 1 on your side appears fine – http://screencast.com/t/RbXrfph0 It is created using module 4 and 6, but the excerpt is available only on module 4. Also in the code – http://screencast.com/t/CDpM6r9Nhttp://screencast.com/t/iyMSrImhx8

Thanks!

Post count: 97

Hello,

Thank you for your reply.

It’s not the module views that are the problem, it’s when you view a post.

If you open a post you will see the except does not display on the post page. In the back-end the excerpt is manually entered in the excerpt field, but does not display when you view the post.

Post count: 7909

Hi tripledm,

The excerpt will show on modules/blocks, on the post page will be displayed the entire content, not the excerpt – http://screencast.com/t/Yyqxsc3o

Thanks!

Post count: 97

Why not on post content?

Like many other sites especially media, except is used as intro at the top. We have about 50 000 posts with custom excerpt used, it needs to display on the post page as it’s not included with the other content.

Post count: 7909

Hi,

On post page you can display subtitle, but if you already have excerpt added for your articles, you can modify this and display the excerpt instead of the subtitle – http://screencast.com/t/ilhVfi7LLV

post->post_excerpt

Result: http://screencast.com/t/T9IALEtF28ghttp://screencast.com/t/UWNoIf5R

Hope this helps!

Post count: 97

Yes I think that is is. THank you I am going to give that a try tomorrow and report back. Thanks for your help!

Post count: 97

Hello,

The existing code is:


<?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 } ?>

Do I replace td_post_theme_settings['td_subtitle']?

SO this would be the end result:

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

Post count: 97

Sorry just read what you have said lol, yes it does replace subtitle and works like a charm.. THANK YOU!

Post count: 14

Hi there it’s complicated for me to put the code on the website or C panel. Is there an easier way to showing an excerpt on the article (post page)?

Post count: 20685

Hi,


@Sonjita
The functionality is still the same. Excerpts are displayed in modules, in the post page the subtitle will be displayed. So you can use the subtitle field to display a chosen text in the post pages.

The solution from above will require modifications to the post templates, which after the latest updates are located in the tagDiv composer plugin. This means that they can’t be modified in a child theme anymore, only directly. The modifications will be lost after a theme update, the plugins have to be updated as well.

Let me know if you have more questions.
Thanks

Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.