Skip Navigation

[Resuelto] Adding the tag to a Content Template so limited text shows in blog

This support ticket is created hace 8 años. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Etiquetado: 

This topic contains 1 respuesta, has 2 mensajes.

Last updated by Beda hace 8 años.

Assisted by: Beda.

Autor
Mensajes
#378397

I am displaying posts (both standard and custom post types) on my homepage but I just want to just show a section of each custom post type rather than the whole post.

My Content Template for each post displays several custom fields. I only want to show the 1st one (which in this case is the Introduction field.

Website: hidden link

Thanks
Neil Curtis

#378468

If you use a Content Template you will be able to add (or not) any content you want.
https://toolset.com/documentation/user-guides/setting-view-templates-for-single-pages/
https://toolset.com/documentation/user-guides/editing-view-templates/

If you are speaking of the Home Archive (Blog Page) then you can use whatever content if you create a Custom Archive View with the View Plugin, and assign it to that Archive.

Also in there you can use a Content template if you wish so.
https://toolset.com/documentation/user-guides/using-view-templates-for-archive-and-taxonomy-pages/
https://toolset.com/documentation/user-guides/normal-vs-archive-views/

You may also jut want to make use of the wpv-excerpt ShortCode:
https://toolset.com/documentation/views-shortcodes/#wpv-post-excerpt

Please let me know if you have further questions regarding the issue mentioned in this Thread

Thank you for your patience.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.