You do not have sufficient permissions to access this data.{"id":611,"date":"2011-11-26T21:36:28","date_gmt":"2011-11-27T02:36:28","guid":{"rendered":"http:\/\/cfdbplugin.com\/?p=611"},"modified":"2015-06-19T15:38:13","modified_gmt":"2015-06-19T19:38:13","slug":"nesting-short-codes","status":"publish","type":"page","link":"https:\/\/cfdbplugin.com\/?page_id=611","title":{"rendered":"Nesting Short Codes"},"content":{"rendered":"<p>(As of version 2.2.4)<\/p>\n<p>The [cfdb-html] short code now will allow you to nest short codes within it. This can be any tag you like, but there is a special case where you can nest a different tag from this plugin.<\/p>\n<p>Example:<\/p>\n<pre escaped=\"true\" lang=\"php\" line=\"1\"><\/pre>\n<p>In this case we nest a\u00a0<a href=\"http:\/\/cfdbplugin.com\/?page_id=93\">[cfdb-table]<\/a> inside the\u00a0<a href=\"http:\/\/cfdbplugin.com\/?page_id=284\">[cfdb-html]<\/a>. The special thing that we do is give the <strong>submit_time<\/strong> from the outer\u00a0[cfdb-html] to the inner\u00a0[cfdb-table]. Remember that [cfdb-html] prints out its template for every entry found in the database and replaces ${field-name} type values with the field values for each entry. In this case, we effectively pass the submit_time (a form submission unique id) from each [cfdb-html] entry to a [cfdb-table] short code via filter=&#8221;submit_time=${submit_time}&#8221;. The [cfdb-table] short code will find just that one element each time.<\/p>\n<p>This can be inefficient because\u00a0[cfdb-html] does a query, then for each entry found,\u00a0\u00a0[cfdb-table] does a query. A more efficient solution is to follow the technique in <a href=\"http:\/\/cfdbplugin.com\/?page_id=444\">Create Your Own Short Code<\/a>.<\/p>\n<p>NOTE: because of a limitation of WordPress, you cannot nest a\u00a0[cfdb-html] inside a\u00a0[cfdb-html]<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(As of version 2.2.4) The short code now will allow you to nest short codes within it. This can be any tag you like, but there is a special case where you can nest a different tag from this plugin. Example: In this case we nest a\u00a0 inside the\u00a0. The special thing that we do [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":102,"menu_order":20,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-611","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/P1mptf-9R","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/pages\/611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=611"}],"version-history":[{"count":14,"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/pages\/611\/revisions"}],"predecessor-version":[{"id":639,"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/pages\/611\/revisions\/639"}],"up":[{"embeddable":true,"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=\/wp\/v2\/pages\/102"}],"wp:attachment":[{"href":"https:\/\/cfdbplugin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}