Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination #638

Open
John4peace opened this issue Nov 5, 2019 · 2 comments
Open

Pagination #638

John4peace opened this issue Nov 5, 2019 · 2 comments

Comments

@John4peace
Copy link

John4peace commented Nov 5, 2019

i would like pagination removed or if possible change the number of default posts per page(which is 5) ...how can i go about that...thanks

@nickottens
Copy link

Seconding this request. I would love to be able to show more than the default 5 entries per page.

@trepmal
Copy link
Contributor

trepmal commented Jun 5, 2021

This filter should allow you to customize how many entries are shown initially:

$number = (int) apply_filters( 'liveblog_number_of_default_entries', self::$number_of_default_entries );

For example:

add_filter( 'liveblog_number_of_entries', function() {
	return 10;
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants