First, hats off to the developer of this plugin. It’s intelligently put together and extremely well documented. Kudos for going above and beyond.
I’m wondering if someone can tell me how I can leverage the individual values of each row using CFDB-VALUE shortcode, to enhance the layout of my page?
In short, I would like to move away from the standard table layout, and have specific data appear in predetermined DIVs of my choosing for styling purposes.
The issue I am running into is the “repeating” (repeating rows) of the data. Here is the layout I am seeking, but I would like for the STORY_WRAP to be repeated rather than the value within div as is happening now. The goal is to have each DIV with the class STORY_WRAP represent one row of data from the DB table. Hope this makes sense!
<!-- REPEAT EACH STORY_WRAP FOR EACH ENTRY IN DB --> <div class="story_wrap"> <div class="story_body"> <p>[cfdb-value form="Personal Stories" show="your-name"] ([cfdb-value form="Personal Stories" show="your-condition"])</p> <div>[cfdb-value form="Personal Stories" show="your-story"]</div> </div> </div>
Any insight is greatly appreciated.
- The topic ‘[Plugin: Contact Form 7 to Database Extension] Leveraging Data’ is closed to new replies.