Home › Forums › Front-end Issues › ACF with enfold theme › Reply To: ACF with enfold theme
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>";
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
© 2023 Advanced Custom Fields.