Just wanted to pop-in and say, THNKS IRVIN! That plugin works beautifully and is exactly what I was looking for when I went hunting for this functionality. Have a good one!
Hey alekstrust,
I actually used Notepad++ to remove all line breaks and the import still didn’t work. But, like I said, I had an older backup that worked and was pretty close to what I most recently had. So, thankfully this issue is resolved for me, at the moment.
So, I have an export that is not working correctly and it sounds like the issue above. When I import, a ton of fields are missing. What’s weird is that on the main “Field Groups” page, it displays the correct number of fields, but when I edit and when I view were those fields are display, a ton of fields are missing. I only have an XML of the export, and I really don’t want to have to build all of this over again! It was 5 groups, one with 16 fields, one with 4, one with 97, one with 8, and one with one. Please help me!
EDIT: Nevermind. Thankfully I had another backup that works.
Hey Jack,
This is fairly simple. You can add multiple subpages by doing the following:
add_filter(‘acf/options_page/settings’,'my_options_page_settings’);
function my_options_page_settings($options)
{
$options['title'] = __(‘Partners’);
$options['pages'] = array(
(‘Partners’),
(‘Page Two’),
(‘Page Three’),
(‘Page Four’)
);
return $options;
}
You just add onto the array.
Same for me. The above didn’t do anything.
In fact, none of the functions in the documentation are working anymore. I tried adding sub pages using the function outlined in the documentation and it actually made the page disappear from the menu altogether.
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.