New wp-query with Section Tabs and Repeatable Sections
-
First off, this plugin is awesome. Thank you.
I’m using your plugin to allow my users to create Repeatable Sections. With Repeatable Sections, you can add as many sections as you want. Currently, each section has two text fields. I am getting the value for each text field and putting the value into a wp-query.
Is there a way, to create a new query for each Repeatable Section? As of now I have 5 queries, hard coded, into the bottom of my plugin.
If the user creates a 6th Repeatable Section, there is no query to support it. Unless I update my plugin for a 6th query. The problem then becomes, what if my user creates a 7th query.
Instead of Hard-coding 200 queries, just to be safe, is there a way to say “If a new Repeatable Section is created, duplicate a query with it”?
- The topic ‘New wp-query with Section Tabs and Repeatable Sections’ is closed to new replies.