Home › Forums › Add-ons › Options Page › Adding Multiple Option Page › Reply To: Adding Multiple Option Page
Thanks elliot,
This is exactly what it looks on my function.php
include_once(‘/acf-options-page/acf-options-page.php’);
add_filter(‘acf/options_page/settings’,’my_options_page_settings’);
function my_options_page_settings( $options )
{
$options[‘title’] = __(‘Options’);
$options[‘pages’] = array(
__(‘Contact Information’),
__(‘Carousel Slider’)
);
}
And also this is the code u suggested (function.php)
include_once(‘/acf-options-page/acf-options-page.php’);
if( function_exists(‘acf_add_options_sub_page’) )
{
acf_add_options_sub_page(array(
‘title’ => ‘Footer’,
‘parent’ => ‘options-general.php’,
‘capability’ => ‘manage_options’
));
}
——————–
Both return an error… Forgive me if i’m too damn for doing this code.. Im a Front-end / Graphic Designer.
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.