Support

Account

Home Forums Add-ons Options Page using options page fields in functions.php Reply To: using options page fields in functions.php

  • 
    function m1_core_feature_selection() {
    	$include_albums = get_field('include_albums', 'option');
    	if($include_albums == 1) {
    		include_once('lib/cpt_albums.php');
    	}
    }
    add_action('init', 'm1_core_feature_selection', 20);
    

    NO dice.

    I’ve also included a couple of screen shots of my admin area
    http://cl.ly/07142Z0r282F