Title: Performance of nested shortcode
Last modified: August 31, 2016

---

# Performance of nested shortcode

 *  [kstawiski](https://wordpress.org/support/users/kstawiski/)
 * (@kstawiski)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/performance-of-nested-shortcode/)
 * Hello!
    First of all big thanks for this plugin. I consider it the best framework
   for building database apps in WordPress. It’s really great.
 * I have recently wrote this nested shortcode which is reffering to diffrent forms:
   `
   echo do_shortcode('[cfdb-html form="zrejestruj_material" filter="projekt=1451959921.9006"
   orderby="submit_time DESC" limit="' . $startrow .',20" search="'.$szukaj.'"]<
   tr><td style="min-width: 100px !important;"><center><a href="https://xxx/?r=${
   wybraneid}&pesel=${pesel}">[barcode text="${wybraneid}" size="10" text_size="
   8" codetype="CODE128"]</td><td style="vertical-align:middle !important"><a href
   ="https://xxx/?r=${wybraneid}&pesel=${pesel}"><b>${wybraneid}</a></b></center
   ></td><td style="vertical-align:middle !important"><a href="https://xxx/?r=${
   pesel}"><font size="2">[cfdb-value form="dodaj_pacjenta" show="nazwisko,imie"
   filter="PESEL=${pesel}" limit="1"]</font> (<b>${pesel}</b>)</a></td><td style
   ="vertical-align:middle !important; min-width: 50px !important;">[cfdb-value 
   form="wyniki" show="wynik" filter="material=${wybraneid}" search="C-peptyd" limit
   ="1"]</td><td style="vertical-align:middle !important; min-width: 50px !important;"
   >[cfdb-value form="wyniki" show="wynik" filter="material=${wybraneid}" search
   ="anty-GAD" limit="1"]</td><td style="vertical-align:middle !important; min-width:
   50px !important;">[cfdb-value form="wyniki" show="wynik" filter="material=${wybraneid}"
   search="anty-IA2" limit="1"]</td><td style="vertical-align:middle !important;
   min-width: 50px !important;">[cfdb-value form="wyniki" show="wynik" filter="material
   =${wybraneid}" search="IA/IAA" limit="1"]</td><td style="vertical-align:middle!
   important; min-width: 50px !important;">[cfdb-value form="wyniki" show="wynik"
   filter="material=${wybraneid}" search="ICA" limit="1"]</td><td style="vertical-
   align:middle !important; min-width: 50px !important;">[cfdb-value form="wyniki"
   show="wynik" filter="material=${wybraneid}" search="ZnT8" limit="1"]</td><td 
   style="vertical-align:middle !important; font-size: small; word-break: break-
   all;">${uwagi}</td><td style="vertical-align:middle !important; font-size: small;"
   >P:${data-pobrania}<br />O:${data-otrzymania}</td><td style="vertical-align:middle!
   important; font-size: small">[cfdb-value form="dodaj_pacjenta" show="osrodek"
   filter="PESEL=${pesel}" limit="1"]</td><td style="vertical-align:middle !important;
   font-size: small"><a href="https://xxxx/?pesel=${pesel}&material=${wybraneid}"
   class="konsta_button">+</a></td><td style="vertical-align:middle !important; 
   font-size: small"><a href="https://xxx.php?material=${wybraneid}" class="konsta_button
   hs-rsp-popup iframe" target="_blank">Generuj</a><br /><a id="wydane${wybraneid}"
   href="javascript:void(0)" style="font-size:small" onclick="wydanozmien(\'${wybraneid}\')"
   ><b>NIE WYDANO</b></a></td></tr>[/cfdb-html]');` Unfortunately, I’m struggling
   with performance issue (it requiers more than 15 seconds to render), as my cf7submit
   table now reaches like 100000 records. I would like to ask if you see any possibility
   of speeding up this nested shortcode. Unfortunately adding unbuffered option 
   even slows down its performance. My data changes often.
 * [https://wordpress.org/plugins/contact-form-7-to-database-extension/](https://wordpress.org/plugins/contact-form-7-to-database-extension/)

The topic ‘Performance of nested shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [nested](https://wordpress.org/support/topic-tag/nested/)
 * [relational](https://wordpress.org/support/topic-tag/relational/)

 * 0 replies
 * 1 participant
 * Last reply from: [kstawiski](https://wordpress.org/support/users/kstawiski/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/performance-of-nested-shortcode/)
 * Status: not resolved