• Resolved bridlehorseman

    (@bridlehorseman)


    I am trying to remove the (edit page) off of my pages on my site. How do I do that?
    I am using “ships ahoy” by Refueled

Viewing 4 replies - 1 through 4 (of 4 total)
  • that link only shows to logged in admins

    Does it show just to logged in admins, or does it show to everyone who has access to edit that post/page? I believe it is the later but that’s not what the original poster asked.

    If you absolutely don’t want that link to show, you need to edit your theme files and look for the following code:

    <?php edit_post_link('Edit this entry','','.'); ?>

    Or something similar. The key part to look for is the edit_post_link function – this is what adds the link. You will certainly find this in the single.php file, but you may find it in index.php and archive.php as well.

    Be careful when you edit this. In the default theme the code is:

    <?php } edit_post_link('Edit this entry','','.'); ?>

    and to remove it you would need to change that line to:

    <?php } ?>

    or the theme will break.

    Thread Starter bridlehorseman

    (@bridlehorseman)

    Thank you

    I am using the theme: Black-LetterHead
    my site
    I want to remove the “edit entry” from the bottom of pages which DOES show when not in admin.
    I have read all that I can find about this and yet I cannot find how to get to the template for the pages.
    CSS page announces that I have to upgrade to see the CSS.
    Am I looking in the wrong place?

    Why is that option on pages at all?
    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing the (edit page) off of the site’ is closed to new replies.