Okay
  Public Ticket #152784
Password protect individual portfolio items
Closed

Comments

  • Ali started the conversation
    Hi there, I was looking into setting a password for an individual project in the portfolio. After searching through some tickets, the closest answer I saw was here: http://themeforest.net/item/salient-responsive-multipurpose-theme/4363266/comments?page=85 ( User jschwerdtfeger asked). When I set the visibility to the project in the portfolio section, you can still click the project and only the description is password restricted. Any suggestions? Thanks
  •  1,077
    ThemeNectar replied

    Hey Ali!

    As of recent releases all of the content should correctly hide when that's set to be password protected - can you confirm you're on at least 2.6? If you are and it's still not working, please supply me a URL to where it's failing.

    Cheers :)

  •   Ali replied privately
  •  1,077
    ThemeNectar replied

    Hey again!

    1. Try pasting this into your functions.php after the first line:

    add_filter('protected_title_format', 'blank');
    function blank($title) {
           return '%s';
    }

    2. It also hides the extra content box but it seems you're just looking to hide the featured content - in this case try using the full width portfolio option as everything will get hidden in that and you can still have all the aspect of your current setup (social icons have a shortcode/page builder element)

    Cheers :)

  • Ali replied

    Hi there,

    Apologies for the delay, thought I responded with the following but I guess I didn't post it. 

    We were able to hide the "Protected" text but couldn't get the videos/pictures to remain hidden until the password was entered. We decided to make the vimeo videos password protected since it won't be many to start. 

    Thank you again!

    Ali

     

  • Ali replied

    Didn't mean to re-open. Closing post.