Skip Navigation

[Resolved] 2 Views at the same page not showing excerpt properly

This thread is resolved. Here is a description of the problem and solution.

Problem:
2 Views at the same page not showing excerpt properly

Solution:
It needs the custom shortcode to limit the content of post body.

You can find the proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/2-views-at-the-same-page-not-showing-excerpt-properly/#post-1123538

Relevant Documentation:

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by ivanJ 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1122829

Hey guys,

I have 2 separate views showing differently (because of design) on the same page hidden link .

First one is showing the latest blog post but is different -> has more excerpt. Name of view: "Last Blog Post"

Second view is showing all the other blog posts beside the last one (which is shown in the first view above). Name of view: " Blog View"

The first one is not showing enough content in excerpt, I put 70 words, but it shows something else entirely, also it shows the wrong text. Can you please check it out?

I can make you a video about it if needed.

Best,
Ivan

#1123538

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - it looks like it used to behave odd as you have added image in your content and then there is one line gap, so you feel that it used to throw wrong content.

I've added [limit_content length="70"] to your view's loop output and the same shortcode I've added to custom code section:
=> hidden link

I can see now its displaying 70 words as specified in shortcode.
=> hidden link

Could you please confirm.

#1123585

My issue is resolved now. Thank you!