1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where can I put my CPA surveys in wordpress theme?

Discussion in 'CPA' started by tonib, Oct 10, 2013.

  1. tonib

    tonib Power Member

    Joined:
    May 1, 2009
    Messages:
    541
    Likes Received:
    395
    Yo! I want to put the cpa code so when somebody opens any of my subpages they will get the CPA locked content popup. Where exactly in the theme should I put it? Under the <head>? Over the </head>? In the footer?
     
  2. cookiemonste

    cookiemonste Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 9, 2009
    Messages:
    209
    Likes Received:
    91
    In your header.php file put this between the <head></head> tags
    Code:
    <?php if(is_single()) : ?>
    Locker code
    <?php endif; ?>
     
    • Thanks Thanks x 2
  3. ContentLockPro

    ContentLockPro Power Member Premium Member

    Joined:
    Nov 7, 2012
    Messages:
    723
    Likes Received:
    129
    Yes, it's better for you to put in the header, not in the footer.
     
  4. H4CKCIDBURN

    H4CKCIDBURN Newbie

    Joined:
    Jul 28, 2013
    Messages:
    17
    Likes Received:
    0
    Location:
    France
    Yeah put it in the header, so that'll be one of the first thing to be loaded, and of course will come before the body.
     
  5. m.rvs2141

    m.rvs2141 Power Member

    Joined:
    Feb 22, 2011
    Messages:
    756
    Likes Received:
    691
    You can put it on header of footer, most themes have place under settings tab for an extra code, such as google analytics, you can put your code there as well. Check tools with your cpa network they probably made an plugin to use with wordpress.
     
  6. mannnoj

    mannnoj Junior Member

    Joined:
    Sep 21, 2012
    Messages:
    179
    Likes Received:
    11
    Put that in header
     
  7. socialmediakicks

    socialmediakicks BANNED BANNED

    Joined:
    Feb 23, 2013
    Messages:
    61
    Likes Received:
    0
    Put it in the headder its better