// Increase events per page to 100 for the admin panel
add_action('admin_footer', function () {
?>
<script>
window.stecFilterManageEventsPerPage = 100;
</script>
<?php
});
This code is usually placed in the child-theme functions.php file but you can place it as a PHP snippet as well if you are using some snippets plugin.
No, I am afraid there is no filter for Organizers. I will make sure to include it in this week's update.
It will look like this:
// Increase events per page to 100 for the admin panel
add_action('admin_footer', function () {
?>
<script>
window.stecFilterManageTermsPerPage = 100;
</script>
<?php
});
And it will affect calendars, locations, guests, organizers and categories
many thanks so far. I'm afraid, my question was maybe a bit misleading. What we are actually looking for, is a way to increase the number of organizers shown on the frontend organizers page, for example: https://events.imlicht.ch/referentinnen/
Is there a way to customize the number of items shown per page (currently fixed to 10 items)?
Hi,
I am afraid only via a hook.
Hook example:
This code is usually placed in the child-theme functions.php file but you can place it as a PHP snippet as well if you are using some snippets plugin.
Stachethemes Developer
Thanks. I guess this increases the number of events shown per page.
What I was looking for:
Increase the number of “organizers” shown on the organizer page.
Is there a similar hook?
No, I am afraid there is no filter for Organizers. I will make sure to include it in this week's update.
It will look like this:
And it will affect calendars, locations, guests, organizers and categories
Stachethemes Developer
Dear Zhivko,
many thanks so far. I'm afraid, my question was maybe a bit misleading. What we are actually looking for, is a way to increase the number of organizers shown on the frontend organizers page, for example: https://events.imlicht.ch/referentinnen/
I'm hoping you could add a filter there too?
Sure, I will make sure to add filter there.
Stachethemes Developer
The filter name will be
stecFilterListOrganizersPerPage
and the default per page value will be increased to 20
Stachethemes Developer
Ok, thanks. I got this to work with this code in functions.php.