My brother is running a WordPress blog with multiple authors. “Editors”, in WordPress terminology. He actually needs a content management system like E107 or Drupal, but he knows WordPress and it works for him.
But, he wants static pages, one or more per user, and of course each user should only be able to edit his own pages. Strangely enough, there doesn’t seem to be a WordPress plugin for this. Comments welcome, let me know if there is.
The following fix might work, it eliminates the link to edit pages if you’re not the right user. Of course this is low security.
wp-admin/includes/template.php
case ‘title’:
?>
<td><strong>
<?php
$user=wp_get_current_user();
if (get_the_author_ID() == $user->ID) { ?>
<a class=”row-title” href=”page.php?action=edit&post=<?php the_ID(); ?>” title=”<?php echo attribute_escape(sprintf(__(‘Edit “%s”‘), $title)); ?>”>
<?php } ?>
<?php echo $pad; echo $title ?></a></strong>
<?php if (‘private’ == $page->post_status) _e(‘ — <strong> Private</strong>’); ?></td>
<?php
break;<?php
break;
I still need to add an exception so that administrators can edit user pages.