This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

embed adsense in article


avatar
error 232
From: -
embed adsense in article

How to embed adsense in a left uper corner of an article?

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
avatar
Editor
0
From: -
You need to edit the template articles_pages:

<!-- 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
avatar
OP 232
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
avatar
OP 232
From: -
I did that and it doesn't work.
1 Re: embed adsense in article
avatar
Editor
0
From: -
I see Smiling Face. You need to do basically the same in template articles_summary and articles_summary_advertisement.

<!-- 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 Smiling Face. You may want to post it in the  show case section.
1 Re: embed adsense in article
avatar
Editor
0
From: -
Where? In the news section?  This should still work.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.