-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Apply Hfeed to Singular Posts Only #743
Conversation
@dshanske You should use the WordPress coding standards. https://make.wordpress.org/core/handbook/coding-standards/php/ |
Assuming it was the tabbing. It has been said I am tab challenged. Expandtabs was set on vi. It looked the same from my end till I saw it on github. |
The tabs and also the spacing in |
Tabs Fixed to Coding Standards Fix Formatting of Conditional
Think I fixed everything. |
We probably need to be more restrictive. |
hfeed is supposed to be a list of hentrys, hentrys being datestamped content. WordPress unfortunately, puts hentry on everything...which is another pet-peeve of mine. But are you suggesting is_single, or something broader? |
I'm suggesting something more limited actually, that would only apply to screens with lists of date-stamped posts. |
What's the rationale for that? A use case for hfeed is that a page of hentrys identified with an hfeed is a substitute for atom or rss that uses the existing html page. What you describe is the equivalent of an excerpt feed. |
The official definition of hfeed is a collection of hentrys. Therefore, it would apply on any page that had multiple hentrys. |
Agreed. |
Any movement on this? |
We addressed here: #820 Looks like we didn't realize we already an earlier PR. Closing this out. |
Addresses #740 by applying hfeed to the body only on archive and index pages.