This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9430724
commit ae5387c
Showing
5 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script data-ad-client="ca-<%= theme.plugins.google_adsense.publisher_id %>" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div class="widget-wrap widget-float"> | ||
<% if (theme.plugins.google_adsense && theme.plugins.google_adsense.publisher_id) { %> | ||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | ||
<!-- huemen sidebar --> | ||
<ins class="adsbygoogle" | ||
style="display:block" | ||
data-ad-client="ca-<%= theme.plugins.google_adsense.publisher_id %>" | ||
data-ad-slot="<%= theme.plugins.google_adsense.ad_slot %>" | ||
data-ad-format="auto" | ||
data-full-width-responsive="true"></ins> | ||
<script> | ||
(adsbygoogle = window.adsbygoogle || []).push({}); | ||
</script> | ||
<% } else { %> | ||
<h3 class="widget-title">Sponsored</h3> | ||
<div class="widget"> | ||
<a href="https://marcofranssen.nl?adsense_widget">This widget is sponsored by, Marco Franssen, main contributor to this theme.</a> | ||
</div> | ||
<% } %> | ||
</div> |