Headlines being truncated - how do we show full headlines

Hey guys,

Our headlines are getting truncated all over our website.

https://www.staging3.hoop-ball.com/

We’ve tried all the easy stuff. Thanks!

Hi there
Hope you are having a good day and thank you for your question :slight_smile:
Want to make sure we are talking about the same problem, could you show me it n the screenshot?
Thanks!
Colorlib Support Team

Hi there
Hope you are having a good day and thank you for your question :slight_smile:
Want to make sure we are talking about the same problem, could you show me it n the screenshot?
Thanks!
Colorlib Support Team

The first two images are from the link above. The third is from a category page and you’ll see the behavior isn’t consistent. Sometimes it cuts off earlier and sometimes later.

And thank you!!!

Also, we don’t see any option to show Excerpts instead of the first few words of the post itself. How can we make widgets bring in the Excerpts instead.

Hello there,

I hope you are doing well today.

For the excerpts, you to add a read more tag in the post.

In order to change the way the titles work, you would have to edit the archive file available via Appearance > Editor > Archives but typically you would need the aid of a developer to make the changes to ensure they do not break the theme.

Best Regards,
Support

Thank you we will look at the Archives for the titles.

However, the correct place to enter an Excerpt is in the Excerpt field when creating a post. That is supposed to supersede any content from the post itself being brought into a subheadline position. We would not want to insert a Read More item because that is something entirely different than what we’re trying to do. Please advise and thanks.

Hello there,

The excerpt field usually does take priority but some aspects of the theme only she an excerpt when the read more page is added in the page/post editor.

Best Regards,
Support

Hi guys,

That can’t really be how this works, right? Adding the read more page is not a good practice for a website. This is a bug and hopefully you guys can provide a fix other than to tell us to use a read more page as a standard procedure on a professional website.

Thanks.

Just checking on this. Thanks.

Hi there

Sorry for the delay :frowning:
mm… to be honest im not sure if this is possible to fix by default from theme options, i cant replicate the same problem on my side, could you send me your admin details privately to check this on the lying website? if yes, please send your admin details here privatelly

It works with numbers, but not with letters- 60 numbers as a title are shown. The fuctions.php is innocent …

Hi there,

Apologies for the late reply.

  1. The domain does not seem to be valid anymore - https://www.staging3.hoop-ball.com/
    We wanted to see the page you took the screenshot from and see if there are any adjustments that can be made in the code to avoid the headings getting cut off at a certain character length.
    Could you simply have a direct link to the page where you took the screenshot.

  2. As for the excerpt, again a link to the page would narrow this down to the exact file that is responsible and we can see if there are any adjustments you can make to show the excerpt and not the first line of the post content. Could you have a direct link to that also.

Thanks.

Hi Support,
I wrote the late reply- I’m not the first writer- and my screenshots came from https://motorjournalist.de/.
Thanks.

Hi there,

Direct links to actual pages would have been nice but the reason the whole titles do not show in full is because they are trimmed or cut at certain lengths using the wp_trim_words method.

If you check for the function in the theme files you can adjust it to either increase the amount of words before cutting or you can remove the method so the titles are not cut.

In the case of the excerpt, you can alter the code to instead use the_excerpt method to use the_content method in the wp_trim_words method.

Hope you can work it from there but if you still need help on such modifications then consider using this service that specializes in such: https://colorlib.com/out/envatostudio

That was great, thank you!
In my case, concerning the first 3 images on the start page, I changed ‘wp_trim_words( get_the_title(), 6’ to ‘wp_trim_words( get_the_title(), 15’ - now it’s fine!
Have a nice evening and a lovely spring.

Hello there,

I am glad that solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,
Support

Can you tell the file in which you edited it?

Hey there

@ragh_a_v this is very old ticket and theme files have been changes since then, you can download theme and use search in files to find the location of the file.

Regards