Quantcast
Viewing latest article 14
Browse Latest Browse All 160

Using repeater field to create tabbed content within a template

I would like to know if using the add-on repeater would be a good idea to accomplish a certain template structure. I am creating a couple of templates that would have the same structure, but with the only difference is that each template will have it's own color scheme. For example template-red, template-blue and so on. I would be using ACF to create fields to complete this structure but withing the template would be a general area for content. Such as a title, image and paragraph content. I would think to use the repeater add-on to create multiple instances of this content section. For example I'll have a content for description then another about history. Almost as if they were pages. Though they wouldn't all be shown all at once on the page in this content section of the template, but would instead be displayed individually from a navigation menu within the template. So when a user lands on the page, they would first and only see the content for description. If they click on the menu for history, then the content for history would appear in the content section replacing the description content. Since each page could have different sets of content sections it would not be ideal to have these content sections as their own fields in the field group. If anyone gets this, would using the repeater be made for a task like this?


Viewing latest article 14
Browse Latest Browse All 160

Trending Articles