Skip to content

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

Open

Description

@jameskoster

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

Activity

  1. LukaszJaro commented on Jun 21, 2022

    @LukaszJaro

    Also the ability to block this from some users.

  2. jameskoster commented on Jun 22, 2022

    @jameskoster
    ContributorAuthor

    @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?

  3. draganescu commented on Mar 18, 2024

    @draganescu
    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.

  4. jameskoster commented on Mar 18, 2024

    @jameskoster
    ContributorAuthor

    @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).

  5. draganescu commented on Mar 18, 2024

    @draganescu
    Contributor

    So should we wait then?

  6. jameskoster commented on Mar 18, 2024

    @jameskoster
    ContributorAuthor

    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!

  7. richtabor commented on Mar 18, 2024

    @richtabor
    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.

  8. jameskoster commented on Mar 19, 2024

    @jameskoster
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    General InterfaceParts of the UI which don't fall neatly under other labels.Needs DesignNeeds design efforts.[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo