• Resolved Andrea

    (@aneises)


    Greetings

    I want to restrict many posts (one by one) by Profile Builder.

    Since there are so many, it would be very tedious to do this via the frontend. Can I do this via the database or how are the settings saved in the database? Only registered users should be able to access the posts.

    KR, Andrea

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @aneises,

    This can be done by adding some post meta to these posts. You say you want them restricted for logged in users, so you just need to add a post meta with the key wppb-content-restrict-user-status and value as loggedin.

    The type of restriction will be the default one (from PB -> Settings -> Content Restriction). You could also set that on each post by adding the key wppb-content-restrict-type and values message or redirect.

    Regards.

    Thread Starter Andrea

    (@aneises)

    Thanks @raster02 that did the trick!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restrict posts by database’ is closed to new replies.