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

Theme handbook: Explain that the attachment pages are disabled on new installations #1627

Closed
carolinan opened this issue Jul 9, 2024 · 4 comments
Assignees
Labels
developer documentation (DevHub) Improvements or additions to developer documentation [Status] Done Issue is completed themes Issues for Theme Developer Handbook

Comments

@carolinan
Copy link
Collaborator

carolinan commented Jul 9, 2024

Originally reported on https://core.trac.wordpress.org/ticket/61596

Issue Description

Since WP 6.4, attachment pages are disabled by default (see https://make.wordpress.org/core/2023/10/16/changes-to-attachment-pages/)
The documentation page (https://developer.wordpress.org/themes/basics/template-hierarchy/#attachment) does not mention this - thus resulting in some effort to find out why this is not working in new installations anymore.

URL of the Page with the Issue

https://developer.wordpress.org/themes/basics/template-hierarchy/#attachment

Section of Page with the issue

Why is this a problem?

Suggested Fix

@carolinan carolinan added the [Status] To do Issue marked as Todo label Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

@carolinan carolinan added the themes Issues for Theme Developer Handbook label Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

Heads up @kafleg @carolinan @TeBenachi - the "themes" label was applied to this issue.

@github-actions github-actions bot added the developer documentation (DevHub) Improvements or additions to developer documentation label Jul 9, 2024
@justintadlock justintadlock self-assigned this Jul 11, 2024
@github-actions github-actions bot added [Status] In progress Issue is in progress and removed [Status] To do Issue marked as Todo labels Jul 11, 2024
@justintadlock
Copy link

I can take this one on.

@justintadlock
Copy link

Notice added:

As of WordPress 6.4, attachment pages are no longer enabled by default on new installations. Users can enable them with a plugin, so it is still good practice to test your theme and ensure it properly displays content when viewing an attachment page.

@github-actions github-actions bot added [Status] Done Issue is completed and removed [Status] In progress Issue is in progress labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer documentation (DevHub) Improvements or additions to developer documentation [Status] Done Issue is completed themes Issues for Theme Developer Handbook
2 participants