• I’m using the wp_page_menu. I fill the $args with an array and in the array I set:

    show_home => 1

    It doesn’t show the home link. Because the function refference says that the ‘show home’ has a boolean values so I put 1 in it. Do I use the code right? Or is there something that I miss?

    Oh, here’s the full array:

    array
    							(
    								'show_home' => 1,
    								'link_before' => '<span>',
    								'link_after' => '</span>',
    								'sort_column' => 'menu_order',
    								'menu_class' => 'bot_menu_list'
    )

Viewing 2 replies - 1 through 2 (of 2 total)
  • showhome = true

    as in

    // WE NEED A HOME LINK WHEN wp_page_menu IS USED
    function voodoo_page_menu_args( $args ) {
    	$args['show_home'] = true;
    	return $args;
    }
    add_filter( 'wp_page_menu_args', 'voodoo_page_menu_args' );

    Thread Starter wiegs015

    (@wiegs015)

    Still doesn’t come out. How do I give a homelink to wp_page_menu?

    From your code, which part that produce the home link?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘listing pages cannot display home’ is closed to new replies.