Toggle content when logged in
-
I am trying to control PDF’s. When visitor is not logged in, they should see this embedded ‘secure’ PDF, with the download button “off”.
[pdf-embedder url="https://rickvv.com/ntwjazz/wp-content/uploads/securepdfs/2021/08/1972NTWJazzEuropeMemberBiography-1.pdf" title="1972NTWJazzEuropeMemberBiography" download="off"]
But, when they’re logged in, they should see only THIS PDF (in a viewer with a download button) and not the ‘other’ PDF in that viewer.
[content_control message="" roles="administrator,subscriber"] [pdf-embedder url="https://rickvv.com/ntwjazz/wp-content/uploads/securepdfs/2021/08/1972NTWJazzEuropeMemberBiography-1.pdf" title="1972NTWJazzEuropeMemberBiography" download="on"][/content_control]
When user is logged in, he now sees both PDF’s. Is there a way to toggle that view, with your plugin?
Thanks for any guidance…
rickvvThe page I need help with: [log in to see the link]
- The topic ‘Toggle content when logged in’ is closed to new replies.