Hi,
is it possible with Kirby for logged-in users to directly access the backend from a given page, like with WordPress (see attachment)?
Hi,
is it possible with Kirby for logged-in users to directly access the backend from a given page, like with WordPress (see attachment)?
You can simply do that with following codes. Just copy and paste to your footer or somewhere.
<?php if($kirby->user()): ?>
<div id="edit-page">
<a href="<?= $page->panel()->url() ?>">Edit this page</a>
</div>
<?php endif ?>
Great, thanks a lot for the fast response!