Hello Rudi,
Use following PHP snippets to change number of items to show on countries, regions, cities & neighbourhoods on admin side.
/**
* Number of countries to display on countries page.
*/
function gd_snippet_location_countries_settings_items_per_page( $per_page ) {
$per_page = 50;
return $per_page;
}
add_filter( 'geodir_location_countries_settings_items_per_page', 'gd_snippet_location_countries_settings_items_per_page', 10, 1 );
/**
* Number of regions to display on regions page.
*/
function gd_snippet_location_regions_settings_items_per_page( $per_page ) {
$per_page = 50;
return $per_page;
}
add_filter( 'geodir_location_regions_settings_items_per_page', 'gd_snippet_location_regions_settings_items_per_page', 10, 1 );
/**
* Number of cities to display on cities page.
*/
function gd_snippet_location_cities_settings_items_per_page( $per_page ) {
$per_page = 50;
return $per_page;
}
add_filter( 'geodir_location_cities_settings_items_per_page', 'gd_snippet_location_cities_settings_items_per_page', 10, 1 );
/**
* Number of neighbourhoods to display on neighbourhoods page.
*/
function gd_snippet_location_neighbourhoods_settings_items_per_page( $per_page ) {
$per_page = 50;
return $per_page;
}
add_filter( 'geodir_location_neighbourhoods_settings_items_per_page', 'gd_snippet_location_neighbourhoods_settings_items_per_page', 10, 1 );
Regards,
Kiran