增加 Google Ad 代码

master
Jimmy Liow 1 year ago
parent 9057b6c687
commit 4f8f5465b8

@ -16,5 +16,9 @@
</div>
</div>
</div>
<?php if ($ads_by_google) { ?>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4231674166786366"
crossorigin="anonymous"></script>
<?php } ?>
</div>

@ -19,5 +19,9 @@
<h1><?php echo !empty($ic_title)?$ic_title:'H1 title Chinahighlights mobile first template'; ?></h1>
<!--<p class="subheadline">to do</p> -->
<div class="authorupdate">Written by <strong><?php echo !empty($author)?$author:''; ?></strong>Updated <?php echo date("M. j, Y",strtotime($ic_datetime)); ?></div>
<?php if ($ads_by_google) { ?>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4231674166786366"
crossorigin="anonymous"></script>
<?php } ?>
</section>
</div>
Loading…
Cancel
Save