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

Onboarding: Set Newspack-specific sidebar widgets #2045

Open
laurelfulford opened this issue Sep 27, 2022 · 0 comments
Open

Onboarding: Set Newspack-specific sidebar widgets #2045

laurelfulford opened this issue Sep 27, 2022 · 0 comments
Labels
[Initiative] Onboarding [Type] Enhancement Improved behavior or functionality

Comments

@laurelfulford
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Right now when you set up a fresh Newspack site, you end up with a handful of sidebar widgets automatically set -- these are coming from WordPress, not anything in the Newspack plugin:

image

While some of these could be helpful, we never leave all of them; when this set of widgets is on a populated site (and not an empty one like in my screenshot), the sidebar can also get super-long.

Describe the solution you'd like
It would be super-handy if the Wizard could set a shorter list of sidebar widgets -- something like:

  • A search widget (but with the appearance set so there's a placeholder instead of a label, and the button inside of the search box, using the icon instead of text -- this makes it look like the search box generated by the theme).

image

The HTML for the above block looks like this:

<!-- wp:search {"label":"","placeholder":"Search...","buttonPosition":"button-inside","buttonUseIcon":true} /-->
  • A Homepage Posts widget, set to show 4-5 posts with settings appropriate for the smaller space:

image

The HTML for the above block looks like this:

<!-- wp:widget-group {"title":"Latest News"} -->
<h2 class="widget-title">Latest News</h2><div class="wp-widget-group__inner-blocks"><!-- wp:newspack-blocks/homepage-articles {"showExcerpt":false,"showAuthor":false,"postsToShow":4,"mediaPosition":"left","typeScale":3,"imageScale":1} /--></div>
<!-- /wp:widget-group -->

Describe alternatives you've considered
We've just been manually setting the above as part of Newspackification, which works (and is still necessary for any further customizations!) but this would be a nicer starting point.

@laurelfulford laurelfulford added [Type] Enhancement Improved behavior or functionality [Initiative] Onboarding labels Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Initiative] Onboarding [Type] Enhancement Improved behavior or functionality
Projects
None yet
Development

No branches or pull requests

1 participant