Comments (10)
@smy315 is that something like the search results? https://10up.github.io/wp-component-library/component/search-results/
from wp-component-library.
@smy315 Sounds like you meant having some markup for a standard WP blog post? Markup like the article element with typical WP classes like .entry-header, .entry-content, .entry-title etc? I feel like the format and use of this varies from project to project that this may not be that useful as a component.
Unless you meant something like "cards" where we'd typically use posts in a "grid" type of thing? Like how Bootstrap has cards? http://v4-alpha.getbootstrap.com/components/card/
from wp-component-library.
@timwright12, my thought process with this was that whenever there is a "read more" button on a website, it's usually for a excerpt/teaser for a article. So instead of having just the "read more" markup, thought it would make sense to include other markups that are usually included in a excerpts/teasers. Also, just about every single projects I've worked on at 10up had some sort of blogroll on the homepage/secondary pages.
But this would be a duplicate with https://10up.github.io/wp-component-library/component/search-results/. Using https://techcrunch.com/ and https://9to5mac.com/ as an example, the blogrolls and search results page are identical. Feel free to close.
from wp-component-library.
@RachelRVasquez, I wasn't referring to WP blogs posts specifically. I was simply referring to a list of article teasers that are frequently on homepages.
from wp-component-library.
I think that's a valid thing though since the schema markup for search results is a little different than a generalized blogpost summary. The item (single search result) itself is probably the same, but the component as a whole is different.
Might need some more thought around this as far a structuring sub-components in the filesystem.
from wp-component-library.
I'm on board with this. I see this being useful for a ton of projects. If we do a blogroll component, though, I'd dump the Read More component.
Would like to see a PR for this one, if anyone has time.
from wp-component-library.
@jonbellah Was thinking we could keep the "read more" component, but more of a use-case collection that an entire component since the "read more" is for things other than excerpts and just screen reader text in general? And then the blogroll could be a great example of the read more excerpt wise in WP templating. Thoughts?
from wp-component-library.
PR submitted for the blogroll component. Want to get opinions on the schema as well - found some conflicting resources so I want to ensure all looks good. 😃
from wp-component-library.
Updates have been made in the above PR.
from wp-component-library.
PR Merged
from wp-component-library.
Related Issues (20)
- [docs] Page Titles and Descriptions HOT 2
- [docs] Header Tags
- [docs] Response Codes
- [docs] Robots.txt
- New Component: Animation Library HOT 1
- Modal: Update modal documentation to recommend use of `<div>` over `<dialog>`
- Update Component: update component scaffolding HOT 2
- New Component: React Accordion
- New Component: React Tabs
- Update component: accordion (design)
- Update component: Tabs
- Update component: Navigation
- Officially vet custom select menu plugin for compliance
- Add <caption> elements to all documentation tables HOT 2
- New Component: Convert custom select into npm package HOT 2
- New Gutenberg: Content/Block Structure HOT 1
- New Component: Data visualization library HOT 1
- Investigate pulling component read me files directly into docs
- Investigate DuetDS date picker for accessibility compliance HOT 3
- A11y Upgrades - refer to Van11y
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-component-library.