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.
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.
did you put it in a text widget? or what?
Wow! What a quick response. Let me try it again.
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/
add this plugin and try it
http://wordpress.org/extend/plugins/php-code-widget/
Well I installed it, but I can't find the darn thing.
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>
<!-- 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 endwhile; ?>
<?php endif; ?>
<!-- end recent posts -->
<!-- begin recent comments -->
<h2>Recent Comments</h2>
<!-- 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>
<!-- end pages -->
<!-- begin archives -->
<h2>Archives</h2>
<!-- 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>
<!-- end categories -->
<!-- begin meta -->
<h2>Meta</h2>
<?php wp_meta(); ?>
<!-- end meta -->
<?php endif; ?>
</div>
<!-- END right -->
<div class="break"></div>
</div>
<!-- END sidebar -->
This topic has been closed to new replies.