Forums

Can't insert my optin form into the sidebar. (7 posts)

  1. pastortg
    Member
    Posted 2 years ago #

    I have a custom wordpress template and I cant figure how to insert my aweber optin form into the sidebar. When I do it looks superimposed over the sidebar.

  2. Samuel B
    moderator
    Posted 2 years ago #

    did you put it in a text widget? or what?

  3. pastortg
    Member
    Posted 2 years ago #

    Wow! What a quick response. Let me try it again.

  4. pastortg
    Member
    Posted 2 years ago #

    Yes I tried it again and it's doing the same thing. I inserted this into the text widget...<script type="text/javascript" src="http://forms.aweber.com/form/93/1983870293.js"></script>.

    This is my site http://freebiessamplesandtrials.com/tomgregorio/

  5. Samuel B
    moderator
    Posted 2 years ago #

  6. pastortg
    Member
    Posted 2 years ago #

    Well I installed it, but I can't find the darn thing.

  7. pastortg
    Member
    Posted 2 years ago #

    On line 27 I added my aweber form to my existing sidebar.php and the form still looks superimposed over the sidebar. Can you take a quick look at where I added the form and let me know if there is something I did wrong. I new at coding.

    Also, will I need to edit my style.css?

    Thanks Sam.

    <!-- BEGIN sidebar -->
    <div id="sidebar">

    <!-- begin search -->
    <div class="box">
    <form action="<?php echo get_option('home'); ?>/">
    <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" />
    <button type="submit">Search</button>
    </form>
    </div>
    <!-- end search -->

    <!-- begin subscribe -->
    <div class="box">
    <div class="subscribe">
    <h2>Subscribe To This Site!</h2>
    <p>
    ">RSS |
    Email |
    ">Comments
    </p>
    </div>
    </div>
    <!-- end subscribe -->

    <!-- begin aweber optin form -->
    <h2>Subscibe Here</h2>
    <div class="aweberForm">
    <script type="text/javascript" src="http://forms.aweber.com/form/93/1983870293.js"></script>
    </div>
    <!-- end aweber optin form -->

    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(1) ) : ?>

    <!-- begin popular articles -->
    <h2>Popular Articles</h2>

      <?php dp_popular_posts(6); ?>

    <!-- end popular articles -->

    <!-- begin flickr photos -->
    <h2>Flickr Photos</h2>
    <div class="flickr">
    <?php if (function_exists('get_flickrRSS')) get_flickrRSS(); ?>
    </div>
    <!-- end flickr photos -->

    <!-- begin featured video -->
    <h2>Featured Video</h2>
    <div class="video">
    <script type="text/javascript">showVideo('<?php echo dp_settings("youtube") ?>');</script>
    </div>
    <!-- end featured video -->

    <!-- begin recent posts -->
    <h2>Recent Posts</h2>
    <?php
    query_posts('showposts=6&order=date&orderby=DESC');
    if (have_posts()) :
    ?>

    <?php endif; ?>
    <!-- end recent posts -->

    <!-- begin recent comments -->
    <h2>Recent Comments</h2>

      <?php dp_recent_comments(4); ?>

    <!-- end recent comments -->

    <!-- begin tags -->
    <h2>Tags</h2>
    <div class="tags">
    <?php if (function_exists('wp_widget_tag_cloud')) wp_widget_tag_cloud(array('before_title'=>'<!--','after_title'=>'-->')); ?>
    </div>
    <!-- end tags -->

    <?php endif; ?>

    <!-- BEGIN left -->
    <div class="l">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(2) ) : ?>

    <!-- begin pages -->
    <h2>Pages</h2>

      <?php dp_list_pages(); ?>

    <!-- end pages -->

    <!-- begin archives -->
    <h2>Archives</h2>

      <?php wp_get_archives('type=monthly'); ?>

    <!-- end archives -->

    <!-- begin blogroll -->
    <?php wp_list_bookmarks('category_before=&category_after=&title_before=<h2>&title_after=</h2>'); ?>
    <!-- end blogroll -->

    <?php endif; ?>
    </div>
    <!-- END left -->

    <!-- BEGIN right -->
    <div class="r">
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(3) ) : ?>

    <!-- begin categories -->
    <h2>Categories</h2>

      <?php wp_list_categories('title_li='); ?>

    <!-- end categories -->

    <!-- begin meta -->
    <h2>Meta</h2>

    <!-- end meta -->

    <?php endif; ?>
    </div>
    <!-- END right -->

    <div class="break"></div>
    </div>
    <!-- END sidebar -->

Topic Closed

This topic has been closed to new replies.

About this Topic