The user 1vernit3 is seeking a way to show a “Download” button only to users in a specific group after purchasing a subscription using the Tickets plugin. While the Custom Header Links component works, it lacks group-based visibility control. pfaffman suggests using a plugin outlet (e.g., before-header-panel) to customize visibility, referencing a guide on custom components. 1vernit3 notes the link appears on all pages, including the admin interface, and asks how to restrict it. pfaffman advises using a more specific plugin outlet or CSS to hide it in unwanted areas. The user thanks pfaffman for the help.
I’m using the Tickets plugin and want to show a “Download” button after a user purchases a subscription.
The location of the button doesn’t matter — it just needs to appear somewhere for users who are in a specific group.
I’m currently using the Custom Header Links component, which successfully displays the Download link, but the component has no built-in option to restrict visibility to a single group.
If it’s possible to extend or customize this component to only show a link to members of a specific group, I’d like to know how. If not, I’m open to alternative approaches that achieve the same result.