• Resolved tiicaa

    (@tiicaa)


    I’m testing a feature on my site that would create a page automatically, but I still need to password protect the page, but I haven’t found any latest shortcode for this, I tried to do it with the shortcode
    ?

    [ppwp passwords=”123456 678910 234567″]content [/ppwp]

    However, it doesn’t protect in the same way as using the block on the settings toggle button on the Edit page screen.
    I’d like to be able to use a shortcode with the same functionality. Is that possible?

    • This topic was modified 4 months, 2 weeks ago by tiicaa.
    • This topic was modified 4 months, 2 weeks ago by tiicaa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author BWPS Team

    (@buildwps)

    Hi @tiicaa ,

    Thank you for reaching out to us.

    The protection offered by using the shortcode (Partial Content Protection (PCP)) will differ from single-page protection.

    If you want to automatically protect the page upon publishing or creating it, you may want to consider using custom code.

    References: https://passwordprotectwp.com/password-protect-any-posts-automatically-upon-publish/

    Let us know if it works.

    Thread Starter tiicaa

    (@tiicaa)

    Hi @buildwps

    I tried it but I don’t see that it works for multiple passwords, isn’t there some shortcode that protects the whole page? I don’t want to do this for all pages, just some. I didn’t understand how the information in the link could help

    • This reply was modified 4 months, 2 weeks ago by tiicaa.
    • This reply was modified 4 months, 2 weeks ago by tiicaa.
    Plugin Author BWPS Team

    (@buildwps)

    Hi @tiicaa ,

    Unfortunately, we haven’t supported shortcodes that protect the whole page. as the shortcode mainly used for partial content.

    Could you help to take a look on Section Protection and check if it meet your requirement please?

    Creating a section will automatically password-protect it, then you just need to embed your protected section into the content of your page/post to use.

    Let us know if it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.