-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
query-pagination-next and previous: Changing the markup on the first and last pages of a pagination #36681
Commits on Nov 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e7fb180 - Browse repository at this point
Copy the full SHA e7fb180View commit details -
Configuration menu - View commit details
-
Copy full SHA for f362d1f - Browse repository at this point
Copy the full SHA f362d1fView commit details -
Query pagination previous link: Avoids printing the link if there are…
… no pages to paginate
Configuration menu - View commit details
-
Copy full SHA for 3a89020 - Browse repository at this point
Copy the full SHA 3a89020View commit details -
Query pagination next: removing custom 'last-page' class.
We can target the same element and know when we are navigating the last page with a selector like this: "span.wp-block-query-pagination-next"
Configuration menu - View commit details
-
Copy full SHA for 9218edc - Browse repository at this point
Copy the full SHA 9218edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1e6e7a - Browse repository at this point
Copy the full SHA e1e6e7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d786609 - Browse repository at this point
Copy the full SHA d786609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5296c32 - Browse repository at this point
Copy the full SHA 5296c32View commit details -
Query pagination previous and next: non clickeable elements are hidden
When we render non clickeable elements <span> instead of <a> for the next and previous elements we make them not visible and hidden from screen readers
Configuration menu - View commit details
-
Copy full SHA for 2c89ae6 - Browse repository at this point
Copy the full SHA 2c89ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6084c04 - Browse repository at this point
Copy the full SHA 6084c04View commit details -
Adding a class to the wrapper layout element rendered by Gutenberg
Adding a class describing the justify value of the layout element to be able to target the different justifications with CSS selectors.
Configuration menu - View commit details
-
Copy full SHA for 02f3c2b - Browse repository at this point
Copy the full SHA 02f3c2bView commit details -
Query pagination: hiding non visible elements when the justification …
…is right or left In this way we will avoid unwanted spaces when the justification is right or left.
Configuration menu - View commit details
-
Copy full SHA for dde160d - Browse repository at this point
Copy the full SHA dde160dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cadb2a6 - Browse repository at this point
Copy the full SHA cadb2a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7c4481 - Browse repository at this point
Copy the full SHA a7c4481View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64fe5b9 - Browse repository at this point
Copy the full SHA 64fe5b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 760873d - Browse repository at this point
Copy the full SHA 760873dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 844d381 - Browse repository at this point
Copy the full SHA 844d381View commit details