-
Notifications
You must be signed in to change notification settings - Fork 800
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
Theme Tools / Infinite Scroll: add support for Twenty Nineteen #10335
Comments
Hey @jeherve, thanks for creating this. @allancole will be working on it as part of his work on Twenty Nineteen. One question I have is around the "Alter Gallery widget default width." Why would that be necessary? Have we needed to do that before? |
This is probably something that we could drop for this theme; it is less important now. As a bit of background, Jetpack used to have its own Gallery widget, and that widget had a default width setting that could be overwritten via a filter to match the exact width of your sidebar. Here is how it looked for Twenty Sixteen for example: jetpack/modules/theme-tools/compat/twentysixteen.php Lines 37 to 43 in 55c1837
WordPress Core then introduced its own Gallery widget in WP 4.9, and we worked to migrate all old Jetpack Gallery widgets to the new Core Gallery widget (related PR: #8062). Only folks running WP 4.8 or forcing the old Jetpack widget on via this filter now use the old Jetpack Gallery Widget. It consequently may not be worth adding compatibility to that old widget in the new default theme. It's only a few lines where you define the max width of your sidebar though, but we may not need that at all. I'll let you make that call. 👍 |
Adds support for infinite-scroll, jetpack-responsive-videos, jetpack-geo-location, jetpack-content-options, and jetpack-widgets, more to come... See: #10335
<!--- Provide a general summary of your changes in the Title above --> This PR addresses issue #10335. It still needs a little more work as outlined below. #### Changes proposed in this Pull Request: <!--- Explain what functional changes your PR includes --> - [x] Add Infinite Scroll support and tweak CSS to make sure the IS buttons look good. - [x] Add support for Responsive Videos. - [x] Add Content Options support for author-bio, blog-display, post-details, and featured-images - [x] Alter Gallery widget default width (possibly not necessary unless using older versions of WP). - [ ] Style widgets and shortcodes to match the style of the theme (coming soon). - [ ] Add Social Menu Support (requires a pending code refactor in theme, may not be possible). #### Testing instructions: <!-- Please include detailed testing steps, explaining how to test your change. --> <!-- Bear in mind that context you working on is not obvious for everyone. --> <!-- Adding "simple" configuration steps will help reviewers to get to your PR as quickly as possible. --> <!-- "Before / After" screenshots can also be very helpful when the change is visual. --> * Test the theme against all the customizer and Jetpack settings mentioned above * **Note**: requires latest `master` version of Twenty Nineteen from Github here: https://github.com/WordPress/twentynineteen/ #### Proposed changelog entry for your changes: <!-- Please do not leave this empty. If no changelog entry needed, state as such. --> * Add compatibility for Twenty Nineteen default theme
One item remains on that list, but we can tackle it later on: |
Related: #10335 #### Changes proposed in this Pull Request: <!--- Explain what functional changes your PR includes --> * Bring in additional widget CSS adjustments, already committed on WordPress.com (see D22275-code) * Add Twenty Nineteen stylesheet to the AutoRTL build, so a `twentynineteen-rtl.css` file is generated on build and for release. #### Testing instructions: * Checkout this branch on a site using Twenty Nineteen. * Make sure all widgets (especially those with lists) look good. * Run `gulp frontendcss:separate` * Make sure you see a new `twentynineteen-rtl.css` in `modules/theme-tools/compat/` #### Proposed changelog entry for your changes: * Twenty Nineteen: additional style adjustments to make sure all Jetpack widgets look good with the theme.
Twenty Nineteen is expected to ship with WordPress 5.0 in November. It is currently being developed here:
https://github.com/WordPress/twentynineteen
In the past, and with previous default themes, we've added a number of compatibility files and functions to make sure new WordPress site owners had the best experience they could get when using the default theme and Jetpack. In practice, it meant adding the following:
There are also things we haven't done for previous default themes, but may want to do for this one:
See how it was done for Twenty Sixteen for example: #2970
The text was updated successfully, but these errors were encountered: