[wp-trac] [WordPress Trac] #56246: Open FSE to the page template that is currently displayed

WordPress Trac noreply at wordpress.org
Tue Jul 19 00:42:03 UTC 2022


#56246: Open FSE to the page template that is currently displayed
--------------------------+-----------------------------
 Reporter:  wolfpaw       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  ui, template  |
--------------------------+-----------------------------
 Similar to how clicking "Edit Page" in the admin dashboard takes you to
 the editor for that specific page, I would like to see the "Edit Site"
 button take you directly to the template that is being viewed.

 Currently, when I am viewing a page, I click "Edit Site" and am taken to
 the editor for the front page template. I then have to navigate to the
 proper template that I want to edit.

 I propose using the same query string method that redirects to the front
 page template if it exists to whatever the current template being viewed
 is. When on a page, clicking "Edit Site" would take you to the standard
 page template. When on a single post, clicking would take you to the
 single post template.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56246>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list