Skip Navigation

[Resolved] Post content doesn't display

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
- 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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 1 year, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2534239

Hi,

This site has a template which should display the post content, but it doesn't show it anymore.

- Used to work fine for years before.
- Everything is up to date.
- Doesn't work with all other plugins deactivated either.
- Doesn't work with a default twentytwenty... theme either.
- It's only the post content that doesn't work, if I try another source (eg excerpt), it does work.
- Treid the heading block and single field block.

#2535193

Hello,

How do you display the post content in the content template, please try to display it in the content template with the shortcode directly:
[wpv-post-body view_template="None"]

More help:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body

#2535205

Hi Luo,

Thanks, the shortcode seems to work.

However, before it was added using the Toolset heading block with the post content (body) as a dynamic source, which has worked fine for years. Now all of the sudden it doesn't work anymore. Seems like a bug to me...

Best regards,

Marcel

#2536201

I have tried it in a fresh WP installation + the latest version of Toolset plugin, the option "Post body" was removed from dynamic source of heading block, it might conducts unexpected result, you can not display post body in itself.

So I suggest you use above shortcode instead to use dynamic source when display the post body content.