jean-francoisB
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Dieser Benutzer hat keine Lieblingsthemen.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Conditional output if wpv-post-author is a administrator
Gestartet von: jean-francoisB
in: Toolset Professional Support
Problem: I'm creating a directory where info on each profile is different if the author of the listing have a specific role. To make it simple, this is a short exemple. If the author of this listing is an administrator, show "This author is an administrator of the site". Solution: There isn't "info" attribute in shortcode [wpv-post-author], see our document: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author In your case, you can setup a custom shortcode to get user role of post author, then use it as condition of shortcode [wpv-conditional] , see similar thread here: https://toolset.com/forums/topic/conditional-display-based-on-user-role-of-post-author/#post-543582 Relevant Documentation: |
2 | 3 | vor 5 Jahre, 1 Monat | ||
Limit number of checkbox checked for a specific custom fields
Gestartet von: jean-francoisB
in: Toolset Professional Support
Problem: I'm trying to limit user on the number of checkbox they can check for a specific custom fields. Solution: It needs custom JS codes, for example: Relevant Documentation: |
2 | 3 | vor 5 Jahre, 1 Monat | ||
Not showing a Custom field if it’s empty
Gestartet von: jean-francoisB
in: Toolset Professional Support
Problem: I have a view inside my product template that show custom repeatable field groups. I would like to hide the full section if there's no items in that custom field groups. Solution: Toolset repeatable field group is based on one-to-many relationship, each item of "Price variation" is an actual post. I suggest you try to move those outer HTML tags into the post view, within shortcode [wpv-items-found] ... [/wpv-items-found] , for example: https://toolset.com/forums/topic/not-showing-a-custom-field-if-its-empty/#post-1208064 Relevant Documentation: |
2 | 7 | vor 5 Jahre, 1 Monat |