You actually gave some advice to someone in April who was wondering how to change the text “Protected” before a protected page. You said to change this using a function such as:
add_filter(‘protected_title_format’, ‘blank’);
function blank($title) {
return ‘%s’;
}
This may seem strange but can you double check the single quotes (‘) in use within that function please, the forum alters the format and styles them here but it looks like there are 2 different types (which will prevents the function from working).
I’ve just added that function to my child theme and it removed ‘Protected: ‘ from the title.
I see that you are using WP Engine which is great! I did want to mention that the staging site does not use the caching solution whereas the live/production site does.
If you have not already done so, then please create a support ticket with WP Engine to have them exclude your Event Espresso pages from the caching solution:
Whilst that code will work, you will likely run into other problems (unrelated to the Protected string) on the production version of the site if you have not excluded EE from WPEngines server side caching.
So we are trying to prevent that before it happens, you’ll just need to follow the steps given in the link Lorenzo provided 🙂
Viewing 5 reply threads
The support post ‘Removing the word Protected from title’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.