One thing I love about Wordpress is the great flexibility it offers in terms of designing custom themes and for this all the credit goes to Wordpress 나는 Wordpress에 대한 사랑이 한 일이 라곤, 사용자 정의 테마를 디자인하고이 모든 공로에 대한 측면에서 뛰어난 유연성을 제공합니다 Wordpress로 간다 Template Tags 템플릿 태그 .
Recently I ran into a problem where I wanted to monetize the posts in my Gadgets category with TTZmedia ads while keeping the normal Google Adsense ads on all other posts. 최근에 나는이 문제에 내가 어디 TTZmedia 광고를하는 동안 다른 모든 게시물에 대한 일반적인 구글 애드 센스 광고를 내 가제트 유지 게시물 카테고리에서 수익을 창출하고 싶었 쳤. This is when I found the 이 때 발견된입니다 in_category template function which lets you display category specific content in Wordpress. 당신이 Wordpress에 특정 콘텐츠를 표시할 수있는 범주 템플릿 기능.

The function is simple and very easy to use. 사용하기 쉬운 기능과 매우 간단하다. Just use it in the Loop on any template file and it should work file. 그냥 템플릿 파일에있는 루프에 그것을 사용하고 그것을 파일에서 작업을해야한다.
<?php if ( in_category('category_id') ): ?>
// Some category specific PHP/HTML here
<?php endif; ?>
More detailed info and examples can be found on the link below: 더 자세한 정보와 예제를 아래 링크를 찾을 수있습니다 :
http://codex.wordpress.org/Template_Tags/in_category
This can be helpful to monetize posts from certain categories with specific ads and can also be used to display information about a particular category. 특정 카테고리의 게시물이 특정 광고 수익을 창출하고 도움이 될 수 있으며 특정 범주에 대한 정보를 표시하는 데 사용할 수있습니다.
A live implementation of this template function can be seen here on Sizlopedia. 이 함수는 템플릿의 구현은 여기 Sizlopedia에 볼 수 살고있다. If you visit any post that belongs to the 당신은 그 어떤 게시물을 방문하는 경우에 속한다 Gadgets 가젯 category you will see targeted product ads while in other cases you will see the normal Google Adsense ads. 다른 카테고리 제품 타겟 광고를 볼 경우에는 정상적인 구글 애드 센스 광고를 보게됩니다.















Thats a good trick. 그게 좋은 속임수이다. You can also use templates for categories, then you can style or display information specific to that category 당신도 사용할 수있는 범주 템플릿, 그럼 스타일이나 표시하는 정보는 특정 카테고리에있습니다
Thanks a lot its really gonna help me in my search for latest stumbles for my site. 고마워 정말 내 사이트에 대한 최신 마련을 위해 내 검색에 날 도와주지는.
Interesting guide. 재미있는 가이드. Thanks for the detailed guide on how to embed Google Adsense Ads to categories. 에 대한 자세한 가이드를 주셔서 감사합니다 구글 애드 센스 광고를 분류하는 방법을 포함합니다. Is there other parts in Wordpress where you can embed Ads? 거기 어디에 삽입하실 수있습니다 광고 Wordpress에 다른 부분인가요?
@Rommel @ 롬멜
The best position to embed Google ads is above the content and below the title of article. 구글 광고를 삽입하는 가장 좋은 위치는 위의 내용이며 문서의 제목 아래. There you get the highest click through rates. 거기를 통해 최고 속도를 누릅니다.