I am trying to: nest the content of one page into another page.
Link to a page where the issue can be seen: enlace oculto
I expected to see: The content of the shipping page showing inside the shop policies page, just like it shows in the block editor.
Instead, I got: nothing on the front end.
Screenshots show the block settings on the back end and you can see that it's pulling in the shipping rate information in the block editor, but when I go to view it on the front end (incognito mode, all caches cleared and reset) and it just shows..... nothing.
Hello,
It is not recommended to use single field block to render post content, please try to replace it with View shortcode [wpv-post-body], for example.
Replace the Single Field block you mentioned in screenshot with a shortcode block, and display below shortcode:
[wpv-post-body view_template="None" item=123]
Please replace 123 with the "shipping rate" post ID, and test again
More help:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-body
Hi Luo,
Using the wpv-post-body shortcode causes an error. There are a few older posts with that same error and there was never a fix for it.
As far as I can tell, the issue is that the main page (policies) uses a content template that contains a [wpv-post-body view_template="None"] shortcode and I can't nest them.... but there's no way to make a content template that renders the post body without it.
You can not render post body shortcode in same post body content, you can only display another post body content. If you need more assistance for it, please provide a test site with the same problem, fill below private message box with website credentials, also point out the problem page URLs. I need a live website to test and debug.