Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1377998

    I used the following function to remove the ‘Protected:’ part from posts’ titles and to add a lock icon instead:

    add_filter( ‘protected_title_format’, ‘remove_protected_text’ );
    function remove_protected_text() {
    return __(‘ %s’);
    }

    But this seems to remove the text that’s displayed on hover in Previous / Next arrows on the portfolio item page
    sample

    How can I fix this?
    Thanks!

    #1378003

    Hey sdim,
    Thanks for your question, try using a lock emoji like this:

    add_filter( 'protected_title_format', 'remove_protected_text' );
    function remove_protected_text() {
    return __('🔒%s');
    }

    Enfold_Support_0045.jpeg

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.