WordPress.org

Ready to get started?Download WordPress

Forums

don't show "Protected: " & "Private: " (2 posts)

  1. renet
    Member
    Posted 6 years ago #

    Hi!

    How can I handle that on password-protected & private posts/pages there is no addition of "Protected: " & "Private: " to the title?

    Thanks in advance,
    renet

  2. IainPurdie
    Member
    Posted 6 years ago #

    I know this was posted 7 months ago, but it doesn't hurt to put the answer in. I found a few solutions including one that involved a small edit to a core file. Worked a treat, but meant you had to re-edit with every upgrade.

    The following one means editing one of your template files, so as long as you don't over-write these during an update then you're fine.

    Go to the solution at http://wordpress.org/support/topic/116985 and scroll right to the bottom. The solution there is to remove only "Private:" but can easily be adapted into two functions to remove both "Private:" and "Protected:".

    I found placing the routine right at the top of the Kubrick file (just after the opening php line). You can edit the file through Theme Editor within WordPress. No need to fiddle around with text editors and FTP.

Topic Closed

This topic has been closed to new replies.

About this Topic