-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add arrows to post navigation link #40684
Conversation
Size Change: +2.02 kB (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
af08058
to
7333e7c
Compare
The broken RTL style does seem to be a bigger problem. I tested the query pagination and the comment query pagination and the spacing and arrows are incorrect there too. Thank you for the rebase as well. |
I found that if I deactivate Gutenberg, the |
This is blocked by #41762 |
How can we move this forward? The rtl issue has not been reviewed or merged. |
d6c08b2
to
caab778
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What?
Adds an option to add arrows to the post navigation links.
Fixes #35954
Why?
This is an enhancement that adds a new feature to the post navigation link to help users style their next and previous post links.
It matches the option that already exists for the next and previous links in the query pagination.
How?
Adds a new attribute called
arrow
and a new toggle group option in the block settings sidebar.Testing Instructions
First make sure that your WordPress installation has a few posts so that you can test both the next and previous links.
In the editor, add the next and previous link blocks.
Duplicate the blocks enough times to test one each of the different settings.
Save and view the front.
Switch to a RTL language and repeat the test.
Screenshots or screencast
Editor:
![next and previous link in the editor](https://user-images.githubusercontent.com/7422055/165887378-d033e79e-0a57-428d-af78-a1fb615c9163.png)