Using depth=n in wp_list_pages August 15, 2022 by Tarik Billa depth=n2 should be depth=2. n is just a “placeholder” and should be replaced by the actual integer value of your choice