Hi there, Is there a way to change the "Protected:" wording in portfolio titles in the main portfolio archive page.
I tried the Say What plug in, as mentioned in this old ticket https://themenectar.ticksy.com//ticket/2237289/; it didn't work. (tried both "Protected:" and "Protected: " strings, salient and salient-core text domain)
Hi there,
Is there a way to change the "Protected:" wording in portfolio titles in the main portfolio archive page.
I tried the Say What plug in, as mentioned in this old ticket
https://themenectar.ticksy.com//ticket/2237289/; it didn't work.
(tried both "Protected:" and "Protected: " strings, salient and salient-core text domain)
Thank you.
Found a solution online:
Add this to Functions.php
/**
* Removes or edits the 'Protected:' part from posts titles
*/
add_filter( 'protected_title_format', 'remove_protected_text' );
function remove_protected_text() {
return __('%s');
}