• Hello,

    We are using WordPress and are using the “gear” theme. We would like to put an opt-in box in the right hand side of the header or just below it.

    We have the the opt-in box available but it is in coded (html) form, provided to us by Aweber. How do we insert it? Any suggestions how to get started or who we may ask?

    Steve.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    You can add it into your header template file.

    /wp-content/themes/{themename}/header.php

    I’m not familiar with that theme. basically paste the code in. If it’s not wrapped in a Div it will be easiest if you do wrap it in a Div and assign a class or ID to the div

    <div id="signup-form">
    .... aweber code here ...
    </div>

    The reason for the div is you probably need to position the code box using CSS. In your style sheet you can assign margin/padding to the new Div until it is positioned where you want it.

    Thread Starter sbfine1

    (@sbfine1)

    To stvwif: Thank you for your help. Steve.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to add an opt-in box to a WordPress template’ is closed to new replies.