So I'm stuck with integrating this code into my wp theme. I have a one page landing page theme. I want to use the content locker feature of CPAgrip to lock specific buttons.
They gave me some code that I'm unfamiliar with. I believe I've put the javascript they provided in the proper location in the header.php file. However, there is a second part of the code that I'm unsure with.
The code is:
onclick="call_locker();"
I'm not sure but I think I need to wrap the code I want locked. Is that the case? If so, then I need to wrap the buttons I want locked?
However, I'm not sure how to go about finding the write code to wrap or even if I'm on the write path. Any suggestions? I'm not a coder. Google is my best friend when it comes to this side of wp. I'm getting better but taking time.
They gave me some code that I'm unfamiliar with. I believe I've put the javascript they provided in the proper location in the header.php file. However, there is a second part of the code that I'm unsure with.
The code is:
onclick="call_locker();"
I'm not sure but I think I need to wrap the code I want locked. Is that the case? If so, then I need to wrap the buttons I want locked?
However, I'm not sure how to go about finding the write code to wrap or even if I'm on the write path. Any suggestions? I'm not a coder. Google is my best friend when it comes to this side of wp. I'm getting better but taking time.