Support

Home Forums Event Espresso Premium Change text on password "Protected:" landing page

Change text on password "Protected:" landing page

Posted: January 30, 2018 at 9:41 pm


ICECadmin

January 30, 2018 at 9:41 pm

Good evening,

I apologize if this is an obvious question, but my web-admin skills are quite limited

I would like to be able to change or add to the text that is shown to visitors when they attempt to first visit a password-protected event page.

The password was set up using the following method: https://eventespresso.com/features/password-protected-events/

The default text reads:

This content is password protected. To view it please enter your password below:

I couldn’t find it anywhere in the EE settings or WP settings, nor could I figure out where the page is generated to edit the source directly.

Thanks in advance for all your help

–Udi


Tony

  • Support Staff

January 31, 2018 at 3:28 am

Hi Udi,

Please don’t edit core files directly, be it EE or WP core files, it will just cause you more headaches in the long run.

The above text is actually generated by WordPress and not EE, its displayed on any password protected post. There’s a filter you can use to change the output completely:

apply_filters( 'the_password_form', $output );

However if all you want to do is change the text, I’d recommend using a plugin such as:

https://wordpress.org/plugins/change-password-protected-message/

Install and activate that plugin, go to Dashboard -> Settings -> Reading and you can then set the text used on that output – http://take.ms/XYVqf

Outputs to the page – http://take.ms/wDznf

Obviously I added ‘Tony -‘ to that string 🙂


ICECadmin

January 31, 2018 at 9:15 am

Beautiful and simple, thank you Tony for your help

The support post ‘Change text on password "Protected:" landing page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso