Support

Account

Home Forums Add-ons Options Page Totally lost, can't get options page to display Reply To: Totally lost, can't get options page to display

  • It’s bizarre, if I use the options page as an include, it shows in the ACF Addons page as being there, but not option menu appears – I include it along with my other fields.

    define( 'ACF' , true );
    include_once( get_template_directory() . '/advanced-custom-fields/acf.php' );
    
    add_action('acf/register_fields', 'myown_custom_fields');
    function myown_custom_fields() {
    	include_once( get_template_directory() . '/advanced-custom-fields/acf-repeater/repeater.php');
        include_once( get_template_directory() . '/advanced-custom-fields/acf-flexible-content/flexible-content.php');
        include_once( get_template_directory() . '/advanced-custom-fields/acf-options-page/acf-options-page.php');
    }
    

    Installing it as a separate plugin, however, works fine. I don’t mind doing that, but any idea how I’d do it by bundling into my functions?

    Cheers!