Skip to content

statamic/cp-edit-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

CP Edit URL Statamic 1.7+

Generate link to go to the edit page in the control panel of currently viewed page.

Unzip the folder, rename it to control_panel_edit_url and drop it inside into your _add-ons folder. Now, on any of your pages, you should be able to use {{ control_panel_edit_url }} in a link and away you'll go.

Maybe something like this in the footer of your site:

{{ if logged_in }}
<a href="{{ control_panel_edit_url }}">Edit This Page</a>
{{ endif }}

Requires v1.7

About

Generate link to go to the edit page in the control panel of currently viewed page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages