Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add new Categories block #2102
This PR introduces a new Categories dynamic block, fixes #1790.
The new block comes with the following alignment options:
The server-side rendering part takes advantage of what the core widget uses -
The script for redirecting users to a category once they change it in the dropdown field in the frontend - I've borrowed it from the Categories core widget. I felt it would make sense to be consistent with what we have in the core, but if you folks have better suggestions, I'm all ears! Thanks!
@@ Coverage Diff @@ ## master #2102 +/- ## ========================================== - Coverage 22.3% 22.01% -0.29% ========================================== Files 137 139 +2 Lines 4291 4356 +65 Branches 722 730 +8 ========================================== + Hits 957 959 +2 - Misses 2815 2870 +55 - Partials 519 527 +8