Problem with roles
-
The live edit works fine with administrators but we do not find how a user logged in as author, and is the author-owner of the post, cannot edit it. The owner can see the edit button but when we click it the left panel opens the home page.
We are trying these options but they do not work:<?php if ($post->post_author == $current_user->ID): ?> <div <?php live_edit('post_title, post_content'); ?>></div> <?php else: ?> <?php endif ?>
The owner has to be administrator to get the left panel as edit page.
Any suggestions?
- The topic ‘Problem with roles’ is closed to new replies.