Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1473383

    Hi
    quick question: I have created a protected (wordpress password) page that should be only visible and visited for users with password.
    Access to this page should be given by a QR code that means the link to the page incl. the password… so the user should be directed to the open page without adding the password manually.

    I can create a regular QR Code with the page link but this link does not contain the password … any ideas how to solve this?
    as sample like: wwww.domain.de/protectedpage&password

    Thx

    • This topic was modified 1 week, 4 days ago by xeovision.
    #1473398

    Hey Sebastian,

    Thank you for the inquiry.

    Are you using a plugin for this? Please provide the name of the plugin and the site URL in the private field. For additional assistance, please contact the plugin developers.

    Best regards,
    Ismael

    #1473416

    Hi, no plugin.
    I use the basic passwort page protection from wordpress (in page settings: publish, private, password).
    The protection words with the added password.

    i need to know if there is a possibility to send someone a link to his page but in the links should the password be included so the use click on this link and the page opens directly without typing the password to the password field.

    e.g. http://www.domain.de/protectedpage&password OR https: (Email address hidden if logged out) /protectedpage

    Hope this is more clear

    #1473421

    The keyword here is: bypass
    Bypass a WordPress Password Protected Page via url

    Found a solution:
    Add into function.php

    
    add_filter( 'post_password_required', function( $returned, $post ) {   
    if ( !is_admin() ) {
        if (strpos($_SERVER['REQUEST_URI'], 'password') !== false){  
            if( $returned && ( $_GET['passwordd'] ==  $post->post_password ) )
                $returned = false;          
        }   
    } else {        
        $returned = true;   
    }
    return $returned;
    }, 10, 2 );
    

    Now, you can access the page with the url:
    https://your-page.de/page?password=your-password

    Sure,not the best protection but just for simple hidden pages

    • This reply was modified 1 week, 4 days ago by xeovision.
    #1473444

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘QR Code for password hidden page’ is closed to new replies.