Home › Forums › Add-ons › Flexible Content Field › get_row_layout() not showing all layouts › Reply To: get_row_layout() not showing all layouts
When you created your new layout did ACF convert the layout name to “text_text”.
I as because the only thing I can see here might be the name of the file you are trying to get.
$everfi_fc_layout = get_row_layout();
will assign the layout name saved in ACF. The file name must math this exactly using the code you have. “fc-test_text” will not load “fc-test-text.php”
If this is the case you either need to change the layout name in ACF or change the file name.
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.