Skip Navigation

[Resolved] content template for post type – need to show repeating field for video url

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 6 replies, has 1 voice.

Last updated by malagaS 1 day ago.

Assisted by: Minesh.

Author
Posts
#2843869

Tell us what you are trying to do? content template for post type - need to show repeating field for video url or youtube url

Is there any documentation that you are following? i've tried using a snippet, using content template shortcode, using a view in the content template, using a repeater field in the content template - nothing is working. i've also tried using a video field and a url or video field inside a repeating group. nothing is working.

Is there a similar example that we can see? this is using a different theme and setup but it does out put multiple videos: hidden link

What is the link to your site? hidden link

#2844030

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share details what custom field you crated and where exactly you want to display it with what part of your problem URL.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2844071

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you created Repeating Field Group "Member Video Group".

To display Repeating Field Group, you should try to follow the following Doc:
- https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

#2844107

can ypu show me? i've tried everything - for 5 hours. cannot get it to work!

#2844122

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've added view block to your content template at bottom of the page:
- hidden link

And set the view block to query your "repeating Field Group" ajd added the youtube video block within the view block loop and I can see the youtube video.

#2844143

thank you! this works with the grid set to 1 column. i'm not able to find a setting or css to get rid of the 369px top padding.

#2844288

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

I've added the following custom CSS code to your view block's custom CSS section:
- hidden link

.wpv-view-output[data-toolset-views-view-editor="318c8238a8518023ca2e738f40408dc2"] .js-wpv-loop-wrapper > .tb-grid {
grid-row-gap: 10px;
}
.tb-youtube[data-toolset-blocks-youtube="66598b86850be6001fabc5df6a904978"] > div .fluid-width-video-wrapper {
padding: 0 !important;
} 
.tb-youtube[data-toolset-blocks-youtube="66598b86850be6001fabc5df6a904978"] > div {
padding: 0;
}
.tb-youtube[data-toolset-blocks-youtube="66598b86850be6001fabc5df6a904978"] > div iframe {
position: relative;
      min-height: 350px;
}
#2844457

perfect - thank you!