Skip Navigation

[Closed] Repeater Rows in Beaver Builder

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/Karachi (GMT+05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Waqar 1 year, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2617703
Screen Shot 2023-06-21 at 1.22.28 PM.png

Tell us what you are trying to do?
I am attempting to have repeatable rows within a regular Post. The idea is that we are assigning multiple contributing authors to certain posts and want to be able to add as many as we need, hence the repeatable row(s). I've set up the code within a HTML module in a post layout template in Beaver Builder:

<!---- START CODE ---->
<div class="container-fluid">
<div class="row">
[wpbb-if post:custom_field key='wpcf-contributing-authors']
<div class="author col-md-12 col-lg-6">
<div class="flexr">
[types field='wpcf-author-pic'][/types]
<p>[types field='wpcf-author-name'][/types]</p>
</div>
</div>
[/wpbb-if]
</div>
</div><!-- row -->
<!---- END CODE ---->

Is there any documentation that you are following?
No. I tried looking, but didn't really find anything OR my search terms were insufficient.

Is there a similar example that we can see?
No, I don't have one.

What is the link to your site?
hidden link

Thanks in advance!

Herb C.

#2617829

Hi Herb,

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

From your message, it is not clear exactly how these custom fields are set up in the admin area. But I'll assume that you've added them inside a repeating field group since they need to be grouped together:

To loop through each repeatable field group's entry, you'll need to create a view that shows the repeatable field group posts, as explained in this guide:
https://toolset.com/lesson-placement/lesson-placements-1621067-1624449/

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

regards,
Waqar

#2618003
Screen Shot 2023-06-22 at 9.49.36 AM.png
Screen Shot 2023-06-22 at 9.34.22 AM.png
Screen Shot 2023-06-22 at 9.34.17 AM.png
Screen Shot 2023-06-21 at 1.22.28 PM.png

Hi Waqar,

Thanks for the assistance. I did set the fields properly within Toolset and the fields appear in the Admin in the Posts I want. I have data entered that needs to show on the frontend. I don't use the Block Editor, I use the Classic Editor.

See the attached; what do I need to change in the HTML/shortcode to make these show on the Post?

Hope this helps; let me know what else you need to get better insight into my setup.

Thanks again.

#2618355

Thank you for sharing these screenshots.

It is now clear that the website is using the repeatable field group for authors, which makes sense.

If you're using the classic editor, you can create a classic editor view from WP Admin -> Toolset -> Views.

In the view's content selection setting, you'll select the 'Contributing Authors' post type, and in the query filter section, include a relationship query to show only the posts related to the page/post where this view is used.

You'll find the documentation on using the classic/legacy views at:
https://toolset.com/documentation/legacy-features/views-plugin/

And once the view is ready, you can show it in your Beaver Builder template, using the view's shortcode:
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-view )

For example:


[wpv-view name="name of the view"]

Where you'll replace 'name of the view' with your actual view's name.

#2618445

Hi Waqar,

Not sure we're talking about the same thing/issue.

No matter, I'll figure this out.

Thanks again.

#2619021

Based on the requirements and the screenshots that you've shared, I do believe that you'll need a classic editor view.
( as suggested in my last reply )

However, if you feel there is still some confusion or you face any challenges in working with the classic editor view, you're welcome to share temporary admin login details, along with the link to the page where you'd like to show this.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

The topic ‘[Closed] Repeater Rows in Beaver Builder’ is closed to new replies.