Home Forums ACF PRO options page doesn't work after update


options page doesn't work after update

    • davelee

    • August 7, 2014 at 5:16 pm

    after update I can’t see the options page and the functionality doesn’t work after update (v4 to v5) correctly.

    only when I add the custom function

    if( function_exists('acf_add_options_page') ) {

    Would it not make more sense that after update the option page is added automatically?

    Ok, now when I add the custom function to the functions.php I can’t see any fields anymore (see attachment). Is there a solution for this problem?

    for a better understanding:
    before I update acf, I register subpages for the optionspage

    if (function_exists('register_options_page')) {
    	register_options_page('Wordpress Options'); 

    how can I register and activate these pages with acf pro?

    Thanks Davelee

    • davelee

    • August 13, 2014 at 2:04 am

    For those who have the same problem:
    This code works for both versions:

        if (function_exists('acf_add_options_sub_page')) {
    	if( function_exists('acf_add_options_page') ) {
     		acf_add_options_page(); // necessary for v.5 :-/
    	acf_add_options_sub_page( 'standard' );
    	acf_add_options_sub_page( 'Wordpress Options' );
    	acf_add_options_sub_page( 'Settings' );
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.