How to Display Elements (Ads) Only On (Or Only Not At) Individual Single Post Item View 을 표시하는 방법 요소 (광고)에서만 (또는 유일한 전혀) 개별 단일 게시물 상품이 문서가 적용되는

Blogger.com, a popular free blog publishing service from Google, has a extremely easy to use and convenient template system that allows users to design the blog user interface presentations by selecting a theme and then drag and drop various page elements such as poll, newsreel, video bar, feed, label, logo, AdSense, HTML/JavaScript and more to align them according to users’ preference on blog layout. blogger.com, 구글에서 인기있는 무료 블로그 게시 서비스가 있는데, 아주 간단하고 편리한 템플릿 시스템을 사용하는 사용자 인터페이스를 프레 젠 테이션을 통해 사용자의 블로그를 디자인의 테마를 선택하여 다음과 같은 페이지 구성 요소를 드래그 앤 드롭 각종 여론 조사, 뉴스 , 비디오 바, 피드, 상표, 로고, 애드 센스 데스크톱 / 자바 스크립트와 더 정렬 그들에 따르면 사용자가 환경 설정에 블로그 레이아웃을합니다. However, it also comes with serious limitations, such as when you want to make certain elements (ie Google AdSense ad unit) to appear and show when visitors visit single post item individually, or just want to shown the widget component block on homepage, archive and label or category pages. 그러나, 또한 함께 심각한 제한 사항과 같은 특정 요소를하려는 경우 (예 : 구글 애드 센스 광고 단위)를 표시 단일 게시물을 보여주 방문하면 상품을 개별적, 아니면 그냥 위젯 구성 요소를 블록을 표시 싶어 홈페이지를 기록 보관소 및 레이블 또는 카테고리 페이지를합니다.

Blogger.com allows users to manually the XML-based template HTML, thus allows a hack which enables users to manually edit the HTML code to achieve the aim to display and show certain widgets or part of webpages on individual post page view only. blogger.com을 통해 사용자를 수동으로 the xml - 기반 템플릿, 따라서 해킹을 사용하면 코드를 사용하면 사용자가 수동으로 편집하여 달성을 목표로하고 특정 위젯 또는 일부를 표시하고 웹 페이지를 표시 개별 게시물 페이지를보기 전용. However, you have need to have a basic HTML knowledge to modify the HTML code of Blogger’s template, which as editable by clicking on Template tab (or Layout of the blog you want to change if at Dashboard), and then click on Edit HTML . 그러나, 당신은 기본 지식을 수정할 필요가있습니다 블로그의 코드를 템플릿을 클릭하여 서식 파일을 편집할 수있는 탭 (또는 블로그의 레이아웃을 변경하려는 경우 대시보드)를 입력한 다음 찾기를 클릭하십시오 html합니다.

The trick is show a widget in single post item view only is to add the following two lines of code to the top and bottom of the code block respectively: 그 트릭은 단일 게시물을 보여주는 위젯을 추가하는 항목이 문서가 적용되는 전용은 다음과 같은 두 줄의 코드를 코드 블록의 위쪽과 아래쪽에 각각 :

<b:if cond='data:blog.pageType == "item"'> <b:if cond='data:blog.pagetype == "item"'>
</b:if> </ b : 만약>

The above lines will add in a condition which value is negative is the blog is not showing individual post content page. 위의 라인은 어떤 상황에서 추가 값이 음수는 개별 게시물의 블로그의 콘텐츠 페이지가 표시되지 않습니다. Thus anything that are wrapped inside it won’t be shown on homepage, label or category pages, or archive pages. 그래서 아무것도가가 게재되지 않음을 홈페이지에 내부 포장, 라벨 또는 카테고리 페이지 또는 아카이브 페이지합니다. For example, while 예를 들어, wrapping the AdSense ads manually beside the post content 게시물 내용을 수동으로 옆에있는 애드 센스 광고를 배치 , you can make the ads displayed only when individual posts are viewed by adding above 2 lines to the code, so that it will has the following structure: 하실 수있습니다 게재되는 광고를 본 경우에만 개별 게시물은 위의 2 개의 선에있는 코드를 추가하여, 그래서하겠다고은 다음과 같은 구조 :

<b:if cond='data:blog.pageType == "item"'> <b:if cond='data:blog.pagetype == "item"'>
Parsed Google AdSense Ad Code (guide to 구문 분석 구글 애드 센스 광고 코드 (안내 parse the HTML code of AdSense JavaScript with escape character 자바 스크립트와 구문 분석 애드 센스 코드를 이스케이프 문자 )
</b:if> </ b : 만약>

To display the page elements or ad units on every pages except individual post content view pages, wrap the following lines of code instead: 페이지 요소를 표시하는 모든 페이지에 광고 단위 또는 개별 게시물에 콘텐츠를 제외하고이 문서가 적용되는 페이지, 랩 대신에 다음과 같은 줄의 코드 :

<b:if cond='data:blog.pageType != "item"'> <b:if "item"'> != cond='data:blog.pagetype
</b:if> </ b : 만약>

The above statements make use of conditional statements similar to IF, ELSE, END IF in most programming languages. 위의 문장을 사용 조건문 유사하게 경우, 다른 사람, 끝 경우에는 대부분의 프로그래밍 언어로합니다. The Blogger XML support these three conditional statements too. 블로그 xml 지원이 3 조건문 너무합니다. Two already been used above, with the third one ELSE is <b:else>. 위의 두 개의 이미 사용과 제 3의 다른 사람이 <b:else>합니다. You can make use of <b:else> to instruct Blogger template to display this widget (eg AdBrite ads) on all pages except single post pages, and show another widget (eg AdSense ads) on individual post pages. 블로그의 사용 방법을 통해 만들 수있습니다 서식 파일을 표시 <b:else>이 위젯 (예 : Adbrite - 광고) 단 하나를 제외한 모든 페이지에 게재 페이지를, 그리고 또 다른 위젯 표시 (예 : 애드 센스 광고)에 개별 게시물 페이지를합니다.

Other than ads code or JavaScripts that are manually inserted into Blogger HTML, the above trick can be applied to widget based page elements that are added to the layout. 광고 코드 또는 브라우저가 아닌 다른 블로그를 수동으로 삽입 html, 위의 트릭을 기반 페이지 요소에 적용할 수있는 도구의 레이아웃에 추가합니다. But you need to study carefully the HTML code to identify which blocks of code is the element in order to add in above codes to wrap on top and bottom around them. 그러나주의 깊게 연구해야하는 코드를 블록의 코드는 해당 요소를 식별하기 위해 위의 코드를 포장에서 추가 윗면과 아랫면 주위에 그들을합니다.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 사항 : 이것은 기계 번역 페이지는 "있는 그대로"제공하지 않고 보증합니다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 를 참조하시기 바랍니다 original English article 원래 영어 자료 whenever possible. 언제 수있습니다.

Share and contribute or get technical support and help at 를 공유하고 기술 지원 및 도움을 공헌하지 않는다면 My Digital Life Forums 내 디지털 라이프 공개 토론 . 합니다.



8 Responses to “How to Display Elements (Ads) Only On (Or Only Not At) Individual Single Post Item View” 8 개의 응답을 "를 표시하는 방법을 요소 (광고)에서만 (또는 유일한 전혀) 개별 단일 게시물 상품보기"

  1. How to Wrap AdSense Ads Around and Inline Beside Blogger Post Content » My Digital Life 애드 센스 광고를 포장하는 방법을 게시 블로그 콘텐츠를 옆에 주위와 인라인»내 디지털 라이프
    October 3rd, 2007 01:17 2007년 10월 3일 01:17
    1

    [...] Note that you can also make the ads appear only on single post view. [...] 참고 사항을 할 수있습니다 게시물이 문서가 적용되는 단 하나의 광고에만 게재됩니다. [...]

  2. Indiaholic indiaholic
    November 5th, 2007 02:20 2007년 11월 5일 02:20
    2

    Thanks. thanks. That helped. 시키는 데 도움이되었던합니다.

  3. Sham @ Enhance Life @ 강화 삶을 모방
    January 2nd, 2008 16:45 2008년 1월 2일 16:45
    3

    Do u have any idea how the same thing can be done using the classic template in blogger? 어떤 생각을 들어 줄 수 있어요 같은 일을 할 방법 클래식 템플릿에서 블로그를 사용하여 수행할 수있습니다?

    The if condition to check for? the 경우 상태를 확인하기 위해?

  4. Rapidshare Bloggers 블로거 rapidshare
    January 13th, 2008 01:32 2008년 1월 13일 01:32
    4

    I used 예전
    (if(in_category(CATID)) (만약 (in_category (catid))
    { (
    } )

    Works great 작품 큰 :)

  5. Vlada vlada
    April 11th, 2008 01:29 2008년 4월 11일 01:29
    5

    I’ve tried but code is automatically set to: 발라봤하지만 코드가 자동으로 설정 :


    test display 시험 표시

    My aim is to display “test display” only on homepage. 내 목표는 표시 "테스트 표시"홈페이지에만 게재합니다.

  6. sheetal
    May 6th, 2008 22:19 2008년 5월 6일 22:19
    6

    Hi, 안녕,
    I like to play with html, and location of adsense on my blogs. 나는 놀 html, 그리고 애드 센스를 내 블로그의 위치합니다. I chanced upon your post and implemented the code to appear on a single post. 나는 귀하의 게시물을 일시 및 구현시의 코드에 게재될 수있는 하나의 게시물합니다. Then I got a new template and I had to start all over again.So now I have bookmarked your post, for future reference. 새로운 템플릿을 가지데와 나는 전체 again.so를 시작하여 지금은 즐겨찾기에 게시, 나중에 참조할 수 있도록합니다. Great post. 좋은 게시물합니다.

  7. gre
    May 30th, 2008 02:30 2008년 5월 30일 02:30
    7

    this is what i looking for. 이것은 무엇을 찾고 나는합니다. thanks for help. 도와 주셔서 감사합니다.

  8. Jmay88 jmay88
    August 16th, 2008 23:54 2008년 8월 16일 23:54
    8

    Thanks a lot..this trick is very useful to me.. 감사합니다 ..이 마술은 매우 유용하게 내 마음에 ...

Leave a Reply 남길 회신

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 태그를 사용할 수있습니다 : <a href="" title=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> <델 날짜 = ""> <em> <i> <strike> '<q cite="">

Subscribe without commenting 논평없이 구독 신청
이메일


Custom Search

New Articles 새로운 기사

Incoming Search Terms for the Article 이 문서에 대한 검색어를 수신

how to Display adsense is Only On Individual Single Post Item View 애드 센스는 개별 하나를 표시하는 방법을 게시할 상품이 문서가 적용되는 전용 - - display element at item page 디스플레이 요소를 항목 페이지 - - conditional google ads 조건부 구글 광고 - - display widgets only on label pages in blogger 블로그에만 레이블을 페이지에 표시 위젯 - - how to hide ads from main page but show at single page at blogger 메인 페이지에서 광고를 숨기는 방법은 단일 페이지를 방문하지만 블로그보기 - - make elements appear only in main page blogger 블로그 메인 페이지에서만 만들 요소를 나타납니다 - - html code to display a page only in mobile 코드를 표시하는 페이지를 전용 모바일 - - javascript conditional wihtout modifying adsense 자바 스크립트를 수정 조건부 wihtout 애드 센스 - - show blogger widgets home page not inside page 블로그보기 안쪽이 아니라 페이지를 위젯을 홈 페이지 - - block adbrite ads from a certain part of the page 블록 Adbrite - 특정 부분의 페이지에서 광고를 - - how to display widgets only on blogger homepage 블로그를 표시하는 방법을 홈페이지에서만 위젯 - - How to display widgets only certain pages wordpress? 특정 페이지를 표시하는 방법을 전용 wordpress 위젯? - - how to add an ad only on homepage if the template is paged 홈페이지에 광고를 추가하는 방법에만 서식 파일이 발견된 경우에는 - - Show ads only in wordpress single post wordpress 단일 게시물에만 광고를 게재합니다 - - 4 elements advertisment 4 원소 광고 - - display elements home blogger 디스플레이 요소를 처음으로 블로그 - - conditional javascript to display code based on page visited 조건부 자바 스크립트 코드를 기반으로 페이지를 방문한를 표시 - - show adsense only "post page" wordpress 애드 센스보기 전용 "포스트 페이지"wordpress - - conditional widget display wordpress 조건부 위젯 디스플레이 wordpress - - what is element of advertisment 무엇입니까 요소를 광고 - - widget only on homepage blogger 블로그에서만 홈페이지에 위젯 - - display html elements conditional html 요소를 표시 조건부 - - blogger conditional javascript 블로그 조건부 자바 스크립트 - - blogger conditional visitor 블로그 방문자 조건부 - - display blogger element blank 블로그 요소를 표시할 빈 - - show ads only on single posts view+wordpress 이 문서가 적용되는 단일 게시물에만 광고를 게재합니다 + wordpress - - display ad only on post pages 디스플레이 광고를 게재 페이지에만 게재 - - page element ads 페이지 요소가 광고를 - - download page elements for blogger ads 블로그 광고를 다운로드 페이지 요소를 - - element homepage blogger 요소를 홈페이지에 블로그 - - only display add comments 에만 표시 코멘트 - - display blogger element by label 블로그 요소를 표시 레이블 - - advertisment widget 광고 위젯 - - blogger layout conditional if single 블로그 레이아웃을 조건부 경우 단일 - - display in homepage only blog wordpress 홈페이지에 표시 전용 블로그 wordpress - - show ads in the post page only 게시물 페이지에 광고를 게재 전용 - - conditional statements in advertisments 광고에 조건문 - - conditional widget+blogger 조건부 위젯 + 블로그 - - html conditional display widgets html 조건부 디스플레이 위젯 - - how to hide widget from page in blogger 위젯에서 블로그를 숨기는 방법 페이지에서 - - how to hide ads widget from some pages in blogger 일부 페이지에서 광고를 숨기는 방법에서 블로그 위젯 - - how to display an advertisement on html 에 광고를 표시하는 방법을 html - - element ads 요소를 광고를 - - "windows mobile" "display test" "windows 모바일" "디스플레이 시험" - - ads only blogger post page 블로그 게시물 페이지에만 광고 - - javascript if condition for blogger 자바 스크립트 블로그 조건이 경우 - - elements of google 요소 구글 - - javascript display html only on certain pages 자바 스크립트의 특정 페이지에서만 표시 html - - Create HTML Advert Blocks in Blogger html 광고 블록에서 블로그 만들기 - - how to hide a post from homepage in blogger 홈페이지에서 블로그에서 게시물을하는 방법을 숨기기 - -