Portfolio with password protected pages

[ad_1]

Hi everyone,

I’m trying to make a portfolio page where on click of the portfolio item an overlay or a pop-up appears asking for a password before loading the page linked.

I’m using the Avada theme and I tried both wordpress standard password restriction and few plugins but haven’t found any that does what I need. Everytime a new page is loaded and password is asked then and sometimes it even only hides the page content.

The output I’m going for is just a password request before loading a new page so that the user doesn’t have the password can just close the pop-up or the overlay and will remain on the same page. I’d like no login involved.

Should I manually write some code for this or anyone has another solution? Thanks in advance.

This is an example of what i’d like to achieve when a portfolio item is clicked. [https://www.sophiebritt.com/])

[ad_2]
1 Comment
  1. Assuming you’re open to customizing the user interface, you could use [https://sweetalert2.github.io/]) and the the_password_form hook –

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer