Then to answer your question no, you cant have the one layout be chosen per default when adding a flexible field.. Since it would be pretty much the same as repeaterfield except less effective. I strongly suggest that if this is an issue for you just purchase the repeater field addon 🙂 Trust me, it’s well worth it!
I bought options & flexible this week and probably i will buy gallery and repeater soon but i would rather make this section with flexible field because i will probably add new layouts there in future. I was just asking if its possible to open directly single one
God.. these forum’s wysiwysg is buggy. When you you try to add link to a string, it closes window! I wrote a long descripton but its gone because of that -.-‘
It was for map markers. I want users add multi markers if they want. In future, i will try to support advanced additions like interactive map: http://leafletjs.com/examples/choropleth.html or vectors maybe: http://leafletjs.com/examples/quick-start.html Thats why i have to use flexible content for markers but it has to be 1 option for now.
I know the topic is kind of old, but I decided to dig in and found the following solution:
Hope it helps 🙂
The topic ‘Directly open layout if its single option?’ is closed to new replies.
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!