Hi Syam, adding the ‘delete_posts’ capability, all works correctly. Thanks.
I am experienced with PHP and WordPress, is there a way to identify blocked pages? I can do a custom redirect on 404 page maybe…?
Hi Syam, thank you for your answer.
Yes, I managed to use shortcodes but many people have edit access to these pages and it’s really risky. If they accidentally delete the shortcodes, the content will be visible… there are some very private informations, so it’s not a good idea.
No way to redirect to wp-login or custom page instead?