Skip Navigation

[Resolved] repeatable group is not show on the post page

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

Problem:

I already use a repeatable table on another post page, so I did the same, but it does not work.

Solution:

I suggest you try these:
1) Create a content template "my-ct", display your view's shortcode:

[wpv-view name="my-view-slug"]

2) Edit your PHP codes, display above content template + specific parent post/page ID, for example:

[wpv-post-body view_template="my-ct" item="123"]

Please replace 123 with the specific parent post ID.

Relevant Documentation:

https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-body

This support ticket is created 3 years, 8 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
- 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 4 replies, has 2 voices.

Last updated by shannonW 3 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1731613
Screen Shot 2020-08-07 at 8.05.15 PM.png
Screen Shot 2020-08-07 at 8.04.49 PM.png
Screen Shot 2020-08-07 at 8.05.09 PM.png

I already use a repeatable table on another post page, so I did the same, but it does not work.
I check all the sources provided by the toolset but couldn't find why it's not working...

This is what I did:
1. I create a View page
2. add PHP code
3. add content on the repeatable table
4. not showing...

#1732741

Hello,

I suggest you try these:
1) Create a content template "my-ct", display your view's shortcode:
[wpv-view name="my-view-slug"]

2) Edit your PHP codes, display above content template + specific parent post/page ID, for example:
[wpv-post-body view_template="my-ct" item="123"]
Please replace 123 with the specific parent post ID.

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

#1733535

I tried and it's not showing. However, if I am doing that way the problem is ID will show all the repeatable and that is not what I am looking for...

These are the step I am doing:
1. I am using PHP for 'single-post' template
2. Use the custom fields inside of post page and one of them is a repeatable
3. I will create more than two post pages with different contents
4. Once the template works, all the content will upload by CSV

I have used repeatable for another template and it works fine. I have no idea why it does not work on the current template.

#1733751

Please try these:

1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1735067

I create new View and it works lol
thank you!

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