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

When a block theme is active, provide a link to edit the page template from the pages list #41716

Open
Tracked by #41241
jameskoster opened this issue Jun 14, 2022 · 8 comments
Labels
General Interface Parts of the UI which don't fall neatly under other labels. Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.

Comments

@jameskoster
Copy link
Contributor

On the Pages list in wp-admin, it would be nice to offer a shortcut to edit the default page template.

@jameskoster jameskoster added the Needs Design Needs design efforts. label Jun 14, 2022
@LukaszJaro
Copy link

Also the ability to block this from some users.

@jameskoster
Copy link
Contributor Author

@LukaszJaro it would be governed by the native roles and capabilities. Iirc only admins are able to edit the template. Did you have something more specific in mind?

@mtias mtias mentioned this issue Oct 7, 2022
@jordesign jordesign added [Type] Enhancement A suggestion for improvement. General Interface Parts of the UI which don't fall neatly under other labels. labels Sep 12, 2023
@draganescu
Copy link
Contributor

@jameskoster is this more than simply adding the link like below:

Frame 1

Next to Search results and Page 404 we can add a Single page link to the page template.

@jameskoster
Copy link
Contributor Author

@draganescu that's correct. But this will probably need a fresh design given the ambition is to replace this panel with the data view (List layout).

@draganescu
Copy link
Contributor

So should we wait then?

@jameskoster
Copy link
Contributor Author

I think so. We'll need to figure out how to link to these templates from the pages data views. They could theoretically appear amongst regular pages with special marking to denote their significance. But that gets tricky because we'd be mixing record types (pages + templates) which adds complexity to filtering, view options, etc. Ideas welcome if you have any!

@richtabor
Copy link
Member

But that gets tricky because we'd be mixing record types (pages + templates) which adds complexity to filtering, view options, etc.

Agreed. I'm concerned about making it less clear what is template and what is page.

@jameskoster
Copy link
Contributor Author

One option could be a 'Utility' pseudo-view within the page management section. It would list all templates conceptually associated with pages.

Screenshot 2024-03-19 at 10 41 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants