Hello, I have a website with a blog on WordPress, I am using Enfold theme. I decided I want to create a membership section where only members will see the full articles of the blog. I have been trying to solve the problem of hiding the sales button in the article from members for a month now. I have been communicationg with the support of the membership plugin about it but their advice dont work beacause I dont use gutenberg to create my pages with block, I use Enfold builder. Would you be able to help me with this?
Basically I need the sales button to be in the text of the article before custumer buys the memberhip but after that when he is able to read the full article, the button should not be displayed anymore.
Thank you in advance for you reply.
Hey katek05,
I’m not sure if that can be done, since I can’t see a specific class added by the plugin. Maybe you could ask if that is something they could add? If not, then you can use the .logged-in class in order to hide the button, but that would hide it for all users which are logged in to your site.
Best regards,
Rikard
Thank you for the clue it seems to be working.
Best regards Kate
Hi Kate,
We’re happy to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko