- This topic has 10 replies, 2 voices, and was last updated 10 years, 3 months ago by Sakin.
-
AuthorPosts
-
August 3, 2014 at 11:04 pm #41883Signal512Member
Hey there,
I hope someone can point me in the right direction. I am having some bit of difficulty adding an Aweber form to a text widget on my sidebar. I have tried a few things with no real luck.
first I tried to use the Aweber official plugin, but it seems to be somewhat broken. not all of the options are available to actually pull the form on to the page. At any rate, I went back to what i usually do: install the form script in a text widget.
So, second, I moved a text widget to my side bar, copied the script from Aweber and pasted it into the widget. Click save and when I view the webpage, the form DOES appear, however, its not in the sidebar. It drops all the way down to the bottom of the website, BELOW the footers of my web page.
I tested the script on a couple of different themes including thesis and genesis and all the those themes display the form in the proper position. This seems to only be related to the Everest Pro theme that I am using.
So, I MUST be overlooking something here obviously and I am hoping someone here can point me in the right direction.
For reference the js that I am using for the text widget is as follows:
<div class=”AW-Form-1379976796″></div>
<script type=”text/javascript”>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “http://forms.aweber.com/form/96/1379976796.js”;
fjs.parentNode.insertBefore(js, fjs);
}(document, “script”, “aweber-wjs-2bhvmzz4g”));
</script>Thanks for any guidance you have!
August 3, 2014 at 11:29 pm #41886SakinKeymaster@Signal512: Can you add the code in “2. Catch Everest: Advertisement” widget to Main Sidebar from “Appearance => Widgets”. As it’s working for me. I added your code and it’s working fine. So, just code the following code in
2. Catch Everest: Advertisement
and send me your site URL if it is not working.<div class="AW-Form-1379976796"></div> <script type="text/javascript">(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "http://forms.aweber.com/form/96/1379976796.js"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "aweber-wjs-2bhvmzz4g")); </script>
August 3, 2014 at 11:42 pm #41890Signal512MemberHi,
thanks for the tip, I placed an advertisement widget and pasted the code, but the form is not showing. Just text for the script.
url:
http://www.maxworkoutsguide.comThanks so much for your help!
August 3, 2014 at 11:53 pm #41892SakinKeymaster@Signal512: I check in your site and I don’t see any code there. You just have 3 widgets: Awesome Posts, Awesome Categories and Awesome Comment. But I don’t see any Advertisement widgets there.
Ok I just see that WP Super Cache plugin activate. Can you go to WP Super Cache plugin settings and clear your cache.
August 4, 2014 at 12:13 am #41895Signal512MemberHi,
I just deleted the cache from WP Super Cache. The widgets you mentioned above do show and so does the script text just above them for the form.
This is a bit odd, eh? I must be missing something.
August 4, 2014 at 12:21 am #41896SakinKeymaster@Signal512: Looks like you making mistake while you paste in your code. You need to paste the exact code. Even a single quotes make mistake. For example it should be
"
and not”
. So, just copy the following code and paste it. Also after you paste in the code and save change. You need to go to Wp Super Cache and clear the cache.<div class="AW-Form-1379976796"></div> <script type="text/javascript">(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "http://forms.aweber.com/form/96/1379976796.js"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "aweber-wjs-2bhvmzz4g")); </script>
August 4, 2014 at 12:29 am #41899Signal512MemberHey there,
So I copied the text from above like this into the advert widget:
<div class="AW-Form-1379976796"></div> <script type="text/javascript">(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "http://forms.aweber.com/form/96/1379976796.js"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "aweber-wjs-2bhvmzz4g")); </script>
The error of just showing a script text went away, but the form still does not show in the side bar even after clearing the cache.
Does it happen to show for you?
August 4, 2014 at 12:34 am #41900SakinKeymaster@Signal512: I just check in your site and it is showing for me. Clear you WP Super Cache plugin and also clear your browser cache and check in.
August 4, 2014 at 12:56 am #41903Signal512MemberI am viewing from firefox and killed the cache of both WP Super Cache and Firefox. No Luck.
Just installed Chrome to see if a fresh browser would work and no luck there either. If it is working from your view, it has to be something to do on my end.
I really appreciate your help – because it appears to be working ok as far as you can see. I can take a look from another pc once I have access to one from another place.
August 4, 2014 at 12:59 am #41904Signal512MemberActually, it is working now!
I have to thank you for your support. It’s not often that people just “help out” and I am expressing my sincere appreciation for your guidance.
I will be passing this forward and help someone else in some way today for good luck.
I appreciate it!
August 4, 2014 at 1:22 am #41905SakinKeymaster@Signal512: Yes it happen when you have cache all over. There are 3 levels of Cache, one is Server Level of Cache, second browser level cache and then ISP level cache. So, it’s all confusing. Yes, it’s working fine.
-
AuthorPosts
- The topic ‘Aweber Forms Using a Text Widget’ is closed to new replies.