BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Removing 'Edit' on pages for subscribers
- This topic has 4 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Anve S..
Question
April 11, 2016 at 6:15 pm #67747@blstraubI’ve created a couple of test users for the new website I’m working on. Each one has the subscriber role. That role has the normal permissions associated with it.
Each of these users sees a small ‘Edit’ link at the bottom of every single page. I need to remove that edit link and, for the life of me, I don’t see how. These users should never have the option to edit a page and I don’t want them to ever edit the dashboard, either.
Thanks!
BrianAnswers
April 12, 2016 at 6:29 am #67800@
AnonymousHi @blstraub,
It’s not theme issue, Please try to deactivate your active plugin to debug it. Theme do not have inbuilt option for subscriber to edit pages.
Regards
Varun DubeyApril 12, 2016 at 9:51 am #67821@blstraubVarun,
Thank you for the reply.
I have disabled all plugins except Visual Composer, which is needed for rendering the pages correctly. As you can see in the first photo, the Edit link is still on the page. Disabling bbPress added a new “edit with visual composer” link that was not there previously.
I tried disabling Visual composer, too. Although the page does not render correctly, you can see from the second photo that the Edit link is still at the bottom of the page. On that view, every single plugin is disabled.
Looking at the page source, this is the beginning of the section where the Edit link is created:
<footer class=”entry-meta”>
<span class=”edit-link”>Edit</span> </footer><!– .entry-meta –>
</article><!– #post –>
</div><!– #content –>
</div><!– #primary –>
</div><!– .page-full-width –>
</div><!– #main .wrapper –>
</div><!– #page –>
</div> <!– #inner-wrap –>
</div><!– #main-wrap (Wrap For Mobile) –>
<footer id=”colophon” role=”contentinfo”>
<div class=”footer-inner-bottom”>
<div class=”footer-inner”>I believe that it is coming from some theme element.
Please help!
Thanks!
Brian
April 12, 2016 at 11:13 pm #67879@blstraubI got rid of the link by adding the following CSS:
.entry-meta .edit-link {
display: none;
}I still don’t know where it’s coming from but it’s gone and the solution didn’t impact anything else so I’m satisfied. You can close this thread. Thanks!
April 13, 2016 at 4:03 am #67903
- The question ‘Removing 'Edit' on pages for subscribers’ is closed to new replies.