« Acronym support for b2evolution quicktags toolbar | All your base (stations) belong to U.S. » |
I frequently find a need to edit or update old posts in my blog. However, b2evolution has this strange quirk in its back office where it will only let you edit about two weeks of entries. It turns out that some b2evo skins have an edit link in them already so that if you're logged in, you see this link on every post... If your skin leaves this out, add the following code right after the place in _main.php
that deals with permalinks:
<?php
if(is_logged_in()) {
echo '<small><span class="admin"> - <a href="';
echo $admin_url, '/b2edit.php?action=edit&post=';
the_id();
echo '&submit=%A0+Edit+%A0" ';
echo 'title="Edit this post">(Edit)</a></span></small>';}
?>
Thanks to stk for this hint!