Skip to content

Instantly share code, notes, and snippets.

@rachelbaker
Created October 12, 2012 17:45
Show Gist options
  • Save rachelbaker/3880479 to your computer and use it in GitHub Desktop.
Save rachelbaker/3880479 to your computer and use it in GitHub Desktop.
ExpressionEngine snippet for edit this link
{if author_id == logged_in_member_id OR logged_in_member_group == "1"}<a href="{site_url}/admin.php?S=0&D=cp&C=content_publish&M=entry_form&channel_id={channel_id}&entry_id={entry_id}">Edit This</a>{/if}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment