Skip Navigation

[Resolved] How can I trim a field

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.

Our next available supporter will start replying to tickets in about 6.29 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 1 year, 12 months ago.

Assisted by: Waqar.

Author
Posts
#2508017

Tell us what you are trying to do?

I would like to trim [types field='about'][/types] in a block view.

Is there any documentation that you are following?
https://toolset.com/forums/topic/ellipses-not-appearing-in-my-excerps-in-my-view/

What is the link to your site?
hidden link

#2509425

Hi,

Thank you for contacting us and I'd be happy to assist.

To achieve this, you can register a custom shortcode that can return the trimmed content from the custom field, as explained in this forum reply:
https://toolset.com/forums/topic/truncate-wysiwyg-custom-field/#post-1577515

I hope this helps and please let me know if you need any further assistance with this.

regards,
Waqar