CPAgrip Content Locker Problem

martyyyy

Regular Member
Joined
Aug 28, 2013
Messages
374
Reaction score
138
anyone have a solution i have put the code into my wordpress "head" and have inserted the onclick="call_locker();" code to lock my download image for when its clicked but what happens is my content locker pops up but also my mediafire download link opens in another tab?

where do i insert the onclick="call_locker();" without it opening the medifire page in another tab.

I'm using wordpress and my image uses the "Enter the destination URL" with my mediafire link inserted, below is my link for my image useing the text tab.

NEED HELP!


<p style="text-align: center;"><a href="mediafir link" target="_blank"><img class="aligncenter size-full wp-image-40" src="http://mywebsite/wp-content/uploads/2014/01/download button" alt="name of image style="width: 380px" height="122" /></a></p>
 
Try to insert in the <a> tag like this:

<a href="mediafir link" target="_blank" onclick="call_locker();">
 
insert the cpagrip header code on header.php on your wordpress just within <head> and </head> tag

on calling the locker do this...

Code:
<a href="#" onclick="call_locker(); return false;">

let me know how that goes. Dont put the mediafire link.
 
insert the cpagrip header code on header.php on your wordpress just within <head> and </head> tag

on calling the locker do this...

Code:
<a href="#" onclick="call_locker(); return false;">

let me know how that goes. Dont put the mediafire link.

already did the HEAD, did what you said and it worked but how do get it to redirect to the mediafire link? its a multi-niche site so the redirect option in cpagrip's advanced tab isn't an option.
 
already did the HEAD, did what you said and it worked but how do get it to redirect to the mediafire link? its a multi-niche site so the redirect option in cpagrip's advanced tab isn't an option.

you should create locker each niche... this would also help you for tracking niches.
 
Back
Top