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

Introduce get_comment_pages_count() and paginate_comments_links() #13

Open
widoz opened this issue Apr 18, 2019 · 0 comments
Open

Introduce get_comment_pages_count() and paginate_comments_links() #13

widoz opened this issue Apr 18, 2019 · 0 comments
Labels
Addition Something new to add

Comments

@widoz
Copy link
Owner

widoz commented Apr 18, 2019

Regarding get_comment_pages_count may be a wrapper has_comment_pages so we don't need to make the developer check agains get_comment_pages_count() > 1 everytime.

For paginate_comments_links may be a wrapper would be better so we don't need to add custom configuration.

Or at least, let's just pass the labels such as:

paginate_comments_links(
    esc_html__('Page', 'textdomain'), 
    esc_html__('Previous Comments', 'textdomain'),
    esc_html__('Next Comments', 'textdomain')
)
@widoz widoz added the Addition Something new to add label Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Addition Something new to add
Projects
None yet
Development

No branches or pull requests

1 participant