Answers.Body: <p>Two separate problems with the same source, which is that your widget is static HTML and Javascript that you copied and pasted in place.  It <em>does not</em> update by itself when you make changes.</p>
  
  <p>If you just see the placeholder text, it means that the Javascript is failing to get the current totals.</p>
  
  <ol>
  <li><p>Your widget may be trying to connect to your site, failing because it's not connecting through HTTPS.  Depending upon how you implemented HTTPS, these sorts of connections may fail unless you specify the https://... URL.</p></li>
  <li><p>Your browser may be refusing to connect via an insecure protocol.  Recent versions of browsers will simply exclude Javascript and CSS that comes through HTTP when you're on an HTTPS page.</p></li>
  </ol>
  
  <p>The solution to either problem is the same: fix the widget.  You can read through the widget's code and replace each instance of "http://" with "https://".  Alternatively, you can simply go manage your contribution page, go to the widget tab, copy the code, and paste it in place of the old code.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-13T20:23:56.040Z
Answers.Text: thanks. the crm is at crm.mydomain.com
  however this subdomain is not https
  do I have to change that to make it work?
Answers.UserDisplayName: conte
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-13T23:18:38.630Z
Answers.Text: You might--in this case you're probably dealing with issue #2.  Connecting to a script via an insecure protocol from a secure page undermines the security of the page as a whole.  The solution would be to implement HTTPS on your CRM domain.  However, while you're at it, you might consider moving your CiviCRM site to your WordPress installation. By having them separate, you're giving up valuable integration options such as the CiviCRM Contribution Page Widget plugin, which would handle all of this automatically. https://wordpress.org/plugins/civicrm-contribution-page-widget/
Answers.UserDisplayName: Andie Hunt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-14T13:58:29.373Z
Answers.Text: With my server I have no change to make the subdomain https too and I also cannot get a second certificate. Any other ideas?
Answers.UserDisplayName: conte
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-14T14:01:57.467Z
Answers.Text: It sounds like you should switch hosting.  Also, do you know why you don't have CiviCRM running on your WordPress site?  Running from a single site would solve your problem as well.
Answers.UserDisplayName: Andie Hunt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T10:59:26.033Z
Answers.Text: had civicrm on drupal before it even came out for wordpress. works so well :)
Answers.UserDisplayName: conte
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-13T20:09:06.390Z
Answers.LastActivityDate: 2015-10-13T20:09:06.390Z
Answers.UserDisplayName: Andie Hunt
Body: <p>I changed my wordpress site to use https
  Now the widgets for donations do not load anymore. they only display the placeholder text</p>
  
  <p>any ideas?</p>
  
  <p>thanks
  Conte</p>
  
Tags: <civicontribute>
Title: Widget broken after site switched to https
ThreadText: # Widget broken after site switched to https
  
  (Asked by: username_0 on 2015-10-13)
  
  I changed my wordpress site to use https
  Now the widgets for donations do not load anymore. they only display the placeholder text
  
  any ideas?
  
  thanks
  Conte
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-10-13. Score: 3
  
  Two separate problems with the same source, which is that your widget is static HTML and Javascript that you copied and pasted in place. It *does not* update by itself when you make changes.
  
  If you just see the placeholder text, it means that the Javascript is failing to get the current totals.
  
  1. Your widget may be trying to connect to your site, failing because it's not connecting through HTTPS. Depending upon how you implemented HTTPS, these sorts of connections may fail unless you specify the https://... URL.
  2. Your browser may be refusing to connect via an insecure protocol. Recent versions of browsers will simply exclude Javascript and CSS that comes through HTTP when you're on an HTTPS page.
  
  The solution to either problem is the same: fix the widget. You can read through the widget's code and replace each instance of "http://" with "https://". Alternatively, you can simply go manage your contribution page, go to the widget tab, copy the code, and paste it in place of the old code.
  
  > **Comments:**
  > **username_0**: thanks. the crm is at crm.mydomain.com however this subdomain is not https do I have to change that to make it work?  
  > **username_1**: You might--in this case you're probably dealing with issue #2.  Connecting to a script via an insecure protocol from a secure page undermines the security of the page as a whole.  The solution would be to implement HTTPS on your CRM domain.  However, while you're at it, you might consider moving your CiviCRM site to your WordPress installation. By having them separate, you're giving up valuable integration options such as the CiviCRM Contribution Page Widget plugin, which would handle all of this automatically. https://wordpress.org/plugins/civicrm-contribution-page-widget/  
  > **username_0**: With my server I have no change to make the subdomain https too and I also cannot get a second certificate. Any other ideas?  
  > **username_1**: It sounds like you should switch hosting.  Also, do you know why you don't have CiviCRM running on your WordPress site?  Running from a single site would solve your problem as well.  
  > **username_0**: had civicrm on drupal before it even came out for wordpress. works so well :)  
  
  ---
  
  