Hide the Edit button when logged in (Twenty Fifteen)?
-
How do you hide the Edit button when viewing a page while logged into WordPress?
The .entry-footer is the class responsible for displaying the footer banner with the Edit button. If you don’t like seeing this, here is one way to simply hide the entire banner when viewing your pages.
1. Click Appearances
2. Click Editor
3. Click Styles.css
4. Go to section 12.1 (Posts and pages)
5. Find the .entry-footer class and add..display: none;
Below is a screenshot showing exactly where to add the code. This will still let you to edit pages from the dashboard, but also allows you to see what your page look like to the public without having to logout..
You can also hide the “Proudly powered by WordPress” in a similar manner..
- The topic ‘Hide the Edit button when logged in (Twenty Fifteen)?’ is closed to new replies.