Hi I have this function that display a menu based on custom field but it only works if the met_key is one value I want to be able to display the menu depend on two value like if meta_key == empty or meta_key == switch_on I tried to use the compare sintax but ddoesnt not work this is my code wp_list_pages( array( 'title_li'=>'', 'depth'=>3, 'meta_key' => 'extra_menu', // custom field name 'meta_value' => 'thememenu', // value of the custom menu you want the menu to display only if custom field is equal to 'exclude'=>$page_exclusions, 'child_of'=>get_post_top_ancestor_id()) ); PHP: