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

Bug Report: Prev/Next arrows mixed up on search results page when using Hello Theme without Elementor Pro search results template #404

Closed
ur-krostitzer opened this issue May 21, 2024 · 0 comments · Fixed by #407

Comments

@ur-krostitzer
Copy link

Hi there,

when using the Hello Theme's default search.php template part without using an Elementor Pro search results template the prev/next buttons are mixed up (previous takes me to the next page and vice versa).

The code causing this is in /template-parts/search.php starting on line 53:

<nav class="pagination">
	<?php /* Translators: HTML arrow */ ?>
	<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'hello-elementor' ), '<span class="meta-nav">&larr;</span>' ) ); ?></div>
	<?php /* Translators: HTML arrow */ ?>
	<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'hello-elementor' ), '<span class="meta-nav">&rarr;</span>' ) ); ?></div>
</nav>

Honestly I don't believe that anyone hasn't noticed this before so I'll just hope this is not intended.

Thank you for your time.

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

Successfully merging a pull request may close this issue.

2 participants