Home › Forums › Backend Issues (wp-admin) › Flexible content is not showing in edit mode › Reply To: Flexible content is not showing in edit mode
Some guidance from the support team helped me fins a function causing the problem.
Delete it and everything is up and running
function my_acf_flexible_content_layout_title( $title, $field, $layout, $i ) {
// remove layout title from text
$title = ”;
// load text sub field
if( $text = get_sub_field(‘section_lable’) ) {
$title .= ‘<h4 style=”margin: -20px 30px 0;”>’ . $text . ‘</h4>’;
}
// return
return $title;
}
// name
add_filter(‘acf/fields/flexible_content/layout_title/name=section’, ‘my_acf_flexible_content_layout_title’, 0, 0);
add_filter(‘acf/fields/flexible_content/layout_title/name=footer_section’, ‘my_acf_flexible_content_layout_title’, 0, 0);
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.