I can’t understand can you send me some video what is that
i have put this code in function.php http://prntscr.com/lp0w1h
there is no option page http://prntscr.com/lp0wz1
when i put code in functuin.php
i got this error
Parse error: syntax error, unexpected ‘Options’’ (T_STRING), expecting ‘)’ in C:\xampp\htdocs\example\wp-content\themes\theme\functions.php on line 4
i have to create option page ?from wordpress>> page>>add New Page?
1. how to registe option page you mean create new .php page? or create page from wp >> page >> ad new page? where i have to put this code?
if (function_exists(‘acf_add_options_page’)) {
acf_add_options_page(array(
‘page_title’ => ‘Site Options’,
‘menu_title’ => ‘Site Options’,
‘menu_slug’ => ‘acf-options’,
‘position’ => ‘103.3’,
‘capability’ => ‘edit_posts’,
‘redirect’ => false,
));
}
i have create field group what i mean that how to show field group in theme not in wordpress post option not even page option …i just want to show which i have created custom field group ,that will show in theme ….for example :- like when i login in example.com and there is a form i have to fill-up like title , dis,tags ,category etc….when i click in category the custom filed group should be shown there and i can choose there option ….
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.