Support

Account

Home Forums ACF PRO Default value is not displayed in the options page

Solved

Default value is not displayed in the options page

  • I’m using the ACF PRO.

    Default value is not displayed in the options page, I am in trouble.

    It does not have to set it different and especially when the ACF 4.

    Please help.

    • comvis

    • July 17, 2014 at 6:37 am

    try this in function.php

    // Add SubMenu on option pages
    	//
    	if(function_exists('acf_add_options_page')) { 
     		acf_add_options_page();
    			acf_add_options_sub_page('Option');
    	 
    	}
  • Hi comvis

    Description is insufficient, I am sorry.

    “Acf_add_options_page” I know.

    The default value is not displayed.

    • Elliot

    • July 22, 2014 at 2:28 pm

    Hi @ibridge

    Thanks for the bug report. I’ll have this bug fixed in the next update 5.0.3

    For now, please make this manual change (api/api-value:line 83):
    $v = get_option( "{$post_id}_{$field['name']}", null );

    Cheers
    E

    • ibridge

    • July 23, 2014 at 10:18 pm

    Hi Elliot Condon

    Thank you for reply and fixed code.

    ACF is awesome custom field plugin.

    Thank you!!

Viewing 5 posts - 1 through 5 (of 5 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.