[wp-trac] [WordPress Trac] #27031: Twenty Fourteen theme assumes all archive pages are list views
WordPress Trac
noreply at wordpress.org
Thu Feb 6 04:16:16 UTC 2014
#27031: Twenty Fourteen theme assumes all archive pages are list views
---------------------------+-----------------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
@johnjamesjacoby: via #bbPress2504
> ... twentyfourteen theme assuming all archive pages are list views.
Custom post type archives can have their own templates, and shouldn't be
subjected to blog post styling.
>
> In the `twenty fourteen_body_classes()` function, what happens if we
change the `is_archive()` check to `is_post_type_archive( 'post' )` ?
lancewillett:
> Good points, and yes -- that solution should work without changing
existing behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27031>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list