Support Forum ยป User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • BBBB
    Participant

    thank you, Anh,
    I have solved my problem ๐Ÿ™‚

    BBBB
    Participant

    Thank you Anh,
    I register my menu like this, it displays but the value from setting page doesn't seem to be passed in. am I doing it right?

    if ( ! function_exists( 'prefix_theme_setup' ) ) {
    	function prefix_theme_setup() {
    		// Nav Menus
    		register_nav_menus( array(
    			'mega-menu' => __( 'Mega Menu', 'textdomain' ) // Mega Menu
    		) );
    	}
    }
    add_action( 'after_setup_theme', 'prefix_theme_setup');
    in reply to: 'std' doesn't work in settings page #6993
    BBBB
    Participant

    Dear Anh,

    Thank you for your explanation, I have already built my own helper function to set a fallback value in case the field is empty.

    Br,
    Ba

Viewing 3 posts - 1 through 3 (of 3 total)