Install and configure plugin SimpleFields. var_dump (WP_Query ()) returns a list of fields made in the same way by this plugin. But it does not work out using the plug-in functions - it gives an error:
Uncaught Error: Call to undefined function simple_field_value() Field output code:
//$field_value = simple_field_value("name_home"); // name_home - слаг одного из полей $field_value = simple_fields_value("property_fields"); // property_fields - слаг группы полей echo "The field has the value: $field_value"; Why do I get undefined function?
Did everything according to the documentation:
https://ru.wordpress.org/plugins/simple-fields/
require( dirname( __FILE__ ) . '/wp-blog-header.php' );- KAGG Design