Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #760915

    Hi. I’m using an ad manager for ads on my site, and I want to add a banner image to the bottom and top of my pages and posts. I want different ad code for pages vrs posts.

    I’ve created a child theme with single.php and page.php which I can now edit. I know I need to add the ad code somewhere but I’m not sure how or where.

    The ad code looks like this: [sam_pro id=”0_1″ codes=”true”]

    I’m reading a tutorial about this and it says to add the code right after this code: <?php while ( have_posts() ) : the_post(); ?>

    But I cannot find that code. Also do I just add the code as is, or do I need to wrap it in certain tags? What am I doing wrong? Thanks! –eric

    #760948

    okay. I think I got it working for my posts but not my pages.

    And now my header logo is messed up. Does adding a child theme mess up the quick CSS I added earlier? Thanks.

    #761735

    Hi,

    Thanks for the feedback. Where did you add the CSS, in the Quick CSS box? If so you might have to copy it into the child theme again.

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.