Home › Forums › General Issues › Flexible content Inception › Reply To: Flexible content Inception
A bit of informations:
I’ve set two error_log on my code. The first one gives me the ID of the shortcode, the second, it’s ‘acf_fc_layout’ name.
# Without [taz_features id=”4″] inside my carousel slide content: All is fine
[06-Dec-2017 20:05:12 UTC] 1
[06-Dec-2017 20:05:12 UTC] before_after
[06-Dec-2017 20:05:12 UTC] 5
[06-Dec-2017 20:05:12 UTC] carousel
# With [taz_features id=”4″] inside my carousel slide content: Infinite loop?
Note that the second error_log never passes…
[06-Dec-2017 20:06:09 UTC] 1
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[06-Dec-2017 20:06:09 UTC] 4
[…]
Here’s the part of the code where I do those error_log
$shortcodeID = (int)$a['id'];
error_log($shortcodeID);
$rowData = taz_get_field_data($shortcodeID);
error_log($rowData['acf_fc_layout']);
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.