Home › Forums › Front-end Issues › ACF with enfold theme › Reply To: ACF with enfold theme
Hi @dannhanks
Great! With that information, I think we can do some further tests.
The “Cannot redeclare avf_post_slider_entry_excerpt_func()” was showing up because you have another function with the same name. Could you please check it out? Maybe you can use different function name?
Also, could you please try the following code?
echo "<pre>";
echo "=== post id ===\n";
var_dump($entry->ID);
echo "=== repetaer with id ===\n";
echo get_field('excerpt', $entry->ID);
echo "</pre>";
Thanks π
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!
βEver wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.
— Advanced Custom Fields (@wp_acf) February 23, 2023
π https://t.co/3UtvQbDwNmhttps://t.co/wfFEVcXVKc
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.