ACF Options Page

Hy Bricks if you wanna have global data for all the website, that data actually appears on the ACF field list in Dynamic Data, but that data isn’t rendering. Only renders when u assign a field directly to a post type, outside that escenario doesn’t works.

Theres 2 case escenario when adding an Options Page with “acf_add_options_page”

Tested adding some fields with acf directly from wordpress, doesn’t render data.
Tested adding some field by PHP bricks doesn’t render data.

acf_add_local_field_group(array(
		'key' => 'dp_general_config',
		'title' => 'Configuraciones Generales',
		'fields' => array (
			//Mensaje
			array (
				'key' => 'dpfield_1',
				'label' => 'Dirección',
				'name' => 'dp_mensaje',
				'type' => 'text',
				'instructions' => 'Dirección base de los cursos',
                'wrapper' => array (
                    'width' => '50%',
                ),
			),
ETC.....

Did I found a solution for this. Yea I created an extra function for each field to have an output and use the dynamic PHP echo atribute you have.

function dp_value_telefono() {

ob_start();

$phone = get_field('dp_telefono', 'admin_datos_personales_options'); 
echo $phone;

return ob_get_clean();
    
}

Its a work arround but it should be perfect that Bricks can render outside the Post Type fields. <3

hmmm my global data from acf options page working without any issues.

1 Like

All my data from acf options (either with acf extended or manually written to theme functions), no one of them rendered. It’s different when I pull data from pods options page, it work nice. I don’t understand, does acf option page is not supported yet?