diff --git a/assets/javascripts/discourse/components/codefund-ad.js.es6 b/assets/javascripts/discourse/components/codefund-ad.js.es6
index c91b3e9..c149072 100644
--- a/assets/javascripts/discourse/components/codefund-ad.js.es6
+++ b/assets/javascripts/discourse/components/codefund-ad.js.es6
@@ -17,7 +17,7 @@ function loadCodeFund() {
return _promise;
}
- const url = "https://codefund.io/t/s/" + propertyId + "/details.json";
+ const url = "https://codefund.app/properties/" + propertyId + "/funder.json";
_promise = new Promise(function(resolve, reject) {
let xhr = new XMLHttpRequest();
diff --git a/assets/javascripts/discourse/templates/components/codefund/post-bottom.hbs b/assets/javascripts/discourse/templates/components/codefund/post-bottom.hbs
index 70461da..b7d990a 100644
--- a/assets/javascripts/discourse/templates/components/codefund/post-bottom.hbs
+++ b/assets/javascripts/discourse/templates/components/codefund/post-bottom.hbs
@@ -1,8 +1,9 @@
-
+
{{#if siteSettings.codefund_display_advertiser_labels}}
{{siteSettings.codefund_advertiser_short_label}}
{{/if}}
- {{adDetails.headline}} {{adDetails.description}}
+ {{adDetails.headline}} {{adDetails.body}}
+
diff --git a/assets/javascripts/discourse/templates/components/codefund/topic-above-post-stream.hbs b/assets/javascripts/discourse/templates/components/codefund/topic-above-post-stream.hbs
index cd6ea94..bcdba6b 100644
--- a/assets/javascripts/discourse/templates/components/codefund/topic-above-post-stream.hbs
+++ b/assets/javascripts/discourse/templates/components/codefund/topic-above-post-stream.hbs
@@ -1,11 +1,12 @@
-
+
{{#if siteSettings.codefund_display_advertiser_labels}}
{{siteSettings.codefund_advertiser_label}}
{{/if}}
- {{adDetails.headline}} {{adDetails.description}}
+ {{adDetails.headline}} {{adDetails.body}}
-
+
ads via codefund.io
+
diff --git a/assets/javascripts/discourse/templates/components/codefund/topic-above-suggested.hbs b/assets/javascripts/discourse/templates/components/codefund/topic-above-suggested.hbs
index 7d0a19c..f7923b6 100644
--- a/assets/javascripts/discourse/templates/components/codefund/topic-above-suggested.hbs
+++ b/assets/javascripts/discourse/templates/components/codefund/topic-above-suggested.hbs
@@ -1,11 +1,12 @@
-
+
{{#if siteSettings.codefund_display_advertiser_labels}}
{{siteSettings.codefund_advertiser_label}}
{{/if}}
- {{adDetails.headline}} {{adDetails.description}}
+ {{adDetails.headline}} {{adDetails.body}}
-
+
ads via codefund.io
+
diff --git a/assets/javascripts/discourse/templates/components/codefund/topic-list-top.hbs b/assets/javascripts/discourse/templates/components/codefund/topic-list-top.hbs
index 7ac35a7..b1fe950 100644
--- a/assets/javascripts/discourse/templates/components/codefund/topic-list-top.hbs
+++ b/assets/javascripts/discourse/templates/components/codefund/topic-list-top.hbs
@@ -1,11 +1,12 @@
-
+
{{#if siteSettings.codefund_display_advertiser_labels}}
{{siteSettings.codefund_advertiser_label}}
{{/if}}
- {{adDetails.headline}} {{adDetails.description}}
+ {{adDetails.headline}} {{adDetails.body}}
-
+
ads via codefund.io
+
diff --git a/plugin.rb b/plugin.rb
index fff2917..db72e3d 100755
--- a/plugin.rb
+++ b/plugin.rb
@@ -175,4 +175,14 @@ and (max-width : 775px) {
text-align: center;
}
+.codefund-wrapper.codefund-topic-above-suggested {
+ clear: both;
+}
+
+.codefund-wrapper .codefund-pixel {
+ visibility: hidden;
+ height: 1px;
+ width: 1px;
+}
+
CSS