• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Changing message for password protected pages

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Changing message for password protected pages

This topic is: not resolved

Tagged: password protected page message

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 4 months ago by stinkykong.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 6, 2014 at 6:09 pm #89039
    Lisa at OG
    Member

    We would like to put a custom message on a password protected page. We have found snippets of php code for the functions.php file and for the post-template.php file but none worked properly with our StudioPress Legacy Theme.

    Does anyone know where and how you can change the password protect message with a custom message? We want to ensure we are not placing the code where it will be over ridden during WordPress updates.

    Thanks in advance if anyone can help with this.

    http://www.originalginger.com/demos/ecf/order-now/
    February 6, 2014 at 6:29 pm #89042
    Lisa at OG
    Member

    I was able to change the message by accessing the post-template.php file in the wp-includes folder; however, this file probably gets over ridden during a WordPress upgrade. If there is a better way to change the message I'd appreciate the input.

    Thanks.

    February 6, 2014 at 10:09 pm #89065
    stinkykong
    Participant

    I don't know if you like this way which is a little different than your method. It uses Justin Tadlock's plugin called 'Members' which I find to be very useful. You can have a custom message applied globally PLUS you can add specific messages on certain pages as you choose.

    Here's a page with a custom page message: http://websentia.com/test-password-post/

    Here's a page with the custom global message: http://websentia.com/another-post-thats-protected/

    It doesn't work the same as your password protected page. If you have Members installed, each page and post has, in the editor, a selection for which user levels are allowed to see it. None checked means it's open to the public. The plugin also has a log-in form widget.

    If the user is logged in, he would be able then to see all such protected pages, rather than only one.


    Web Design by Websentia Web Services
    http://websentia.com

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble