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]
Assuming you’re open to customizing the user interface, you could use [https://sweetalert2.github.io/]) and the the_password_form hook –