반응형
구글 애드센스를 메인에 2개다는 방법
티스토리에는 고수들이 많다.
이제 막 시작한 티스토리 사용자로서 고수들의 화려한 기술을 따라 가려니 아직은 힘들다.
어느 티스토리를 보니 메인에 구글 애드센스가 이쁘게 2개 달려 있었다..
어찌달지,.......... 어떻게 달지, 혼자서는 아무리 생각해 보아도 답이없다.
그러다 고수의 홈페이지를 소스보기 모드에서 살펴보고서야 정답을 찾았다.
관리자모드에서 구글 애드센스를 나타내고 싶은곳에 빈화면을 만든다.
아이템에서 아무거나 하나 선택하고 바로 디자인을 클릭한다.
그리고 여기에 있는 내용을 모두 미련없이 지워 버리고 아래의 코드를 입력한다.
<table cellpadding="0" cellspacing="0" table width="700">
<tr>
<td width="350">
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 에프링크 본문 왼쪽 -->
<ins class="adsbygoogle"
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-2267434402681464"
data-ad-slot="1162791099"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
</td>
<tr>
<td width="350">
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 에프링크 본문 왼쪽 -->
<ins class="adsbygoogle"
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-2267434402681464"
data-ad-slot="1162791099"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
</td>
<td width="350">
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 에프링크 본문 오른쪽 -->
<ins class="adsbygoogle"
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-2267434402681464"
data-ad-slot="5402308810"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
</td>
</tr>
</table>
<br />
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 에프링크 본문 오른쪽 -->
<ins class="adsbygoogle"
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-2267434402681464"
data-ad-slot="5402308810"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
</td>
</tr>
</table>
<br />
여기에서 본인의 구글 애드센스 코드로 변경만 하면 끝...
글을 쓰는 이시점에는 아직 본인의 구글 애드센스가 없다.
일단은 남의 코드로 이것저것 테스트를 해보는 중이다.
다 입력했으면 상단의 적용을 살포시 클릭한다.
티스토리로 가보면 메인에 배너2개가 예쁘게 달려 있는것을 확인할 수 있다.
반응형
'IT,WEB' 카테고리의 다른 글
주소창 앞에 나만의 아이콘달기 (0) | 2014.06.08 |
---|---|
티스토리에 네이버 이웃커넥트 다는방법 (0) | 2014.06.07 |
티스토리글을 페이스북,트위터로 내보내기 - 모르면 왕고생 (0) | 2014.06.07 |
될때로 되라는 식의 낚시 블로그가 과연될까? (0) | 2014.06.07 |
블로그상위노출 - 왜 내가 쓴글은 상위 노출이 안될까? (0) | 2014.06.07 |