[Résolu] view condition if post permission for group subscriber
This support ticket is created Il y a 1 année et 9 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Hello. Thank you for contacting the Toolset support.
Do you mean that you have created access group for your roles and assigned that group to your post type and you want to check if that if the assigned access group has the subscriber role assigned - is that correct? if no: Can you please share few screenshot that should help me to understand you query and once I review that I will be able to guide you in the right direction.
If a post has only permissions for show only a group like "subscribers" (standardgroup of wordpress) then show a icon with "only for subscribers" in view. i dont want to show "if user logged in as.." i would show "is post protected by permissions".
now i have a checkbox in posttype, which is manual activiated from user direkt in posttype. -> Field wpcf-exklusiver-beitrag-fur-mitglieder
As I understand you have created a post group that is assigned to subscriber role and if that post group is assigned to individual post then you want to show/hide some content conditionally - is that correct?