-
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
Block Audit: Archives #9280
Comments
It would be really nice if the Archives, Categories, and Latest Posts blocks all supported custom post types. That is probably out-of-scope for WordPress 5.0, but it would definitely be a nice addition. |
@ZebulanStanphill That's a great point. I'll add that to the suggestions above. |
See Query Panel proposal: #2662 |
This is actually a general point about all the widgets in Gutenberg....absolutely love them, they work great for me....however, id love to see an optional title available for them as do in other widget areas. Without a title, well its not 100% clear what a visitor is looking at. Optional would mean if someone doesnt want it, well they can leave it blank. Sorry if this has been mentioned elsewhere, I couldn't find any more information. |
@davidknight4242 You could simply use a Paragraph block to add a title before them, couldn't you? |
Yes a Paragraph block would work, so would a heading. Am actually making a theme and its a not really something I would expect users to remember to do. I would argue that any widget inside post/page content is an aside to the main content and should have its own aside container and heading, just for better code. At the moment you have a list of dates that to a lot of visitors will not mean anything without a title to explain they are archives. They could be links to old posts, upcoming posts or completely something else. I get what you mean about the paragraph tag, but requiring one block to explain another seems an unnecessary thing to remember. |
@davidknight4242: There's a bit of prior discussion about widget titles over in this thread: #1011 (comment). |
@davidknight4242 Actually, wrapping widgets in See https://core.trac.wordpress.org/ticket/30556 and some related discussion in #9599. Personally, I don't see any issue with having to use a Heading or Paragraph block before one of the widget blocks. I already use Heading blocks before the Paragraph blocks in my document to give names to the different sections, so it makes sense to me that I do the same thing for widgets. The best part is that I have complete control over what heading level I use or if I even use a heading at all or just a paragraph, which means I can ensure semantic correctness. If this was all added to the widget blocks, it would clutter their UI with options. |
Thank you Kjellr and ZebulanStanphill, looks like I have some reading to do! Thanks for the help!! |
I'm going to go ahead and close this tracking issue out since it seems that all issues and suggestions have been filed. If we missed anything, please do feel free to open a new issue. Thanks for your feedback, everyone! 🌟 |
Note: We'll be doing these audits in waves and editing this as we work through the blocks, so this text will be updated and fleshed out as we progress. See the full picture here.
Overview
Name: Archives
Description: Display a monthly archive of your site’s Posts.
*Category: Widgets
CSS class: None
Can be converted to: Nothing
States
Empty/Selected/Placeholder
Unselected:
Primary (toolbar) settings
Align Left, Align Center, Align Right
Secondary (sidebar) settings
Archives Settings: Show Post Counts, Display as Dropdown
Frontend appearance
Gutenberg Starter Theme
Atomic Blocks
twentyseventeen
twentyten
Bugs/errors
Individual issues will be opened for these soon
Suggestions
Individual issues will be opened for these soon
The text was updated successfully, but these errors were encountered: