Hi @demian85,
Thank you for contacting us and considering the Password Protected plugin.
Currently, we don’t have such plans in our future roadmap to let the file in the theme folder work as a child theme template. Let me discuss your case with our technical team if there’s a filter available through which you can use custom templates.
Let us know if you need further assistance.
Thanks and regards,
Support Team – WPExperts
Hi @demian85,
You can use the following filter of password protected plugin to attach your template file for password protected login page.
add_filter(
'password_protected_theme_file',
function ( $file ) {
$file = your_template_file;
return $file;
}
)
I hope this will help you!
Let me know if you need further assistance we are here to help you.
Thanks and regards,
Support Team – WPExperts
Thread Starter
Demian
(@demian85)
Thank you. Is the variable $file a path or direct location of active theme?
Hi @demian85,
It’s the path of the file you want to use.
Thanks and regards,
Support Team – WPExperts
Thread Starter
Demian
(@demian85)
Hi,
I couldn’t get the filter for the variable $file path to work. But I discovered if I add the customized ‘password-protected-login.php’ file into the active theme path, it picks it up by itself. It means that this function is already present in the plugin.
Demian
-
This reply was modified 2 years ago by
Demian.
Hi @demian85,
Thank you for updating us!
Let us know if you need further assistance.
Thanks and regards,
Support Team – WPExperts