embed adsense in article
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: embed adsense in article
Philipp Esselbach
From: -
Editor
0From: -
You need to edit the template articles_pages:
Replace *** Ad Code here *** with the Google Adsense code
<!-- Template: articles_pages -->
<h1>{$insert['article_title']} {$insert['article_edit']} {$insert['article_rating_line']}</h1>
<h2>Posted by: {$insert['article_author']} on: {$insert['article_date']} [ <a href="https://www.contentteller.com/index.php{$insert['param_ct']}articles{$insert['param_action']}pagesprinter{$insert['param_page']}{$insert['article_seo']},{$insert['articlepage_page']}.html" rel="nofollow">Print</a> | <a href="https://www.contentteller.com/index.php{$insert['param_ct']}articles{$insert['param_action']}summary{$insert['param_page']}{$insert['article_seo']}.html">{$insert['article_comments']} comment(s)</a> ]</h2>
<div class="content">{$insert['article_teaserimage']} *** Ad Code here *** {$insert['articles_pages_title']}{$insert['articlepage_text']}{$insert['article_toc']}{$insert['article_social']}</div>
<br />
Replace *** Ad Code here *** with the Google Adsense code
1 Re: embed adsense in article
error
OP
232
From: -
From: -
I want to put it in articles page not in article sumary. Also how to move comment in article page. Now it is in article sumary.
1 Re: embed adsense in article
error
OP
232
From: -
From: -
I did that and it doesn't work.
1 Re: embed adsense in article
Philipp Esselbach
From: -
Editor
0From: -
I see . You need to do basically the same in template articles_summary and articles_summary_advertisement.
and
Btw your site looks great . You may want to post it in the show case section.
<!-- Template: articles_summary_advertisement -->
<div style="display: block; float: left; padding-top: 5px; padding-left: 10px;">
{$insert['advertisement_middle']}
</div>
and
<!-- Template: articles_summary -->
<h1>{$insert['article_title']} {$insert['article_edit']} {$insert['article_rating_line']}</h1>
<h2>Posted by: {$insert['article_author']} on: {$insert['article_date']} [ <a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}articles{$insert['param_action']}summary{$insert['param_page']}{$insert['article_seo']}.html">{$insert['article_comments']} comment(s)</a> ]</h2>
<div class="content">{$insert['article_teaserimage']}{$insert['article_advertisement']}{$insert['article_summary']}<br /><br />
<a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}articles{$insert['param_action']}pages{$insert['param_page']}{$insert['article_seo']},1.html">Read article</a>
{$insert['article_social']}{$insert['article_tags']}</div>
<br />
Btw your site looks great . You may want to post it in the show case section.
How to embed adsense in a left uper corner of an article?