I have created a CPT using register_post_type with the following args:
"label" => $aLabels['name'],
"labels" => $aLabels,
"description" => "",
"public" => true,
"publicly_queryable" => true,
"show_ui" => true,
"show_in_rest" => false,
"rest_base" => "",
"has_archive" => true,
"show_in_menu" => true,
"exclude_from_search" => true,
"capability_type" => "post",
"map_meta_cap" => true,
"hierarchical" => false,
"rewrite" => array("slug" => $slug, "with_front" => true),
"query_var" => true,
"menu_icon" => site_url('/wp-content/uploads/icon.png'),
"supports" => array("title", "editor", "excerpt", "custom-fields"),
"taxonomies" => array('court', 'rating', 'categorisation'),
Everything works perfectly except pagination on the first page of the admin post list i.e.
does not display at all.
From page 2 onwards, it is perfect.
http://dev.caselaw.co.za/wp-admin/edit.php?post_type=case&paged=2
I have Googled the world and can’t find a similar problem, never mind a solution! Can anyone make a suggestion?