How To Use AdRotator Within Your WordPress Post / Page 당신의 시간을 사용하는 방법에 어떤 wordpress 포스트 / 페이지
AdRotator Overview 어떤 개요
WordPress plugin AdRotator 플러그 접속식 어떤 enables you to display an advertisement (which is randomly selected from a group of advertisements specified in a text file) at your chosen location anywhere in your WordPress blog (other 를 표시하는 광고를 사용하면 (이것은 그룹의 광고를 무작위로 선택된에서 지정되어있는 텍스트 파일)에 선택하신 위치를 어디에 wordpress 블로그 (기타 free WordPress plugins we provide 무료 wordpress를 제공 플러그인 ).
Adding ad code is trvial. 광고 코드가 trvial를 추가합니다. You simply add this code in your template, where you want to show the advertisement: 여러분의 템플릿에서이 코드를 추가하기만하면, 원하는 위치를 표시합니다 광고 :
bannerad '); ?> bannerad ');?>
It searches for the file wp-content/ bannerad .txt, chooses one ad randomly from it and displays it. 해당 파일을 검색 백린 - 콘텐츠 / bannerad합니다. txt, 무작위로 하나의 광고를 선택하고 그것을 표시합니다. You should replace bannerad with the name of your actual text file without the ending txt extension. bannerad를 교체해야 귀하의 실제 텍스트 파일의 이름을 txt 확장자를 종료합니다.
Ref: 심판 : AdRotator User Manual 어떤 사용자 매뉴얼
How to display rotating ads directly in your WordPress posts or pages? 회전하는 광고를 표시하는 방법을 귀하의 wordpress 게시물이나 페이지에서 직접?
The key problem is that WordPress doesn’t allow php code in your posts and pages. wordpress의 열쇠 문제는 귀하의 게시물을 허용하지 않습니다 코드와 페이지를합니다. And the code above is php code. 그리고 위의 코드는 코드합니다. The solution is very simple. 해결 방법은 매우 간단합니다.
You should use any one of the available plugins for this. 중 하나를 사용할 수있는 플러그인을 사용해야 해당합니다. One such plugin is 하나의 플러그인은 Priyadi’s php-exec priyadi의 php - 실행 . 합니다. It allows you to execute php code within your posts. 이 프로그램을 사용하면 귀하의 게시물에서 코드를 실행합니다. To install php-exec follow these simple steps: 를 설치하는 php - 실행 다음과 같이 간단한 단계 :
- Download the plugin: 다운로드하여 플러그 접속식 : phpexec.txt
- Rename the plugin to phpexec.php and put it into your wp-content/plugins directory phpexec.php의 이름을 변경하고 플러그인을 wp-content/plugins 디렉토리를 넣을
- Activate the plugin from WordPress administration menu 플러그인을 활성화 wordpress 관리 메뉴에서
Now all you have to do is use this code within your WordPress post, to display rotating ads: 지금은이 모든 것들이 당신의 시간이 코드를 사용 할 수있는 일은 wordpress 게시, 회전을 표시 광고 :
Filed under 밑에 CMS Software cms 소프트웨어를 , Headline News 헤드 라인 뉴스 , How To 하는 방법을 , Open Source Software 오픈 소스 소프트웨어 , PHP php , Pro Blogging 직업적인 블로깅 , Tech Note 기술 참고 사항 , Web 웹 , Web Services 웹 서비스 , WordPress wordpress | |
| |
RSS 2.0 rss 2.0 | |
Trackback 트랙백 this Article | 이 문서 |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |





November 17th, 2006 at 10:21 am 2006년 11월 17일에서 오전 10시 21분
[...] It can also be used to randomly include any other code or even to randomly display images, text messages etc. The usage is limited by your imagination only. [...] 그것은 또한 다른 코드를 포함하지를 무작위로 사용될도를 무작위로 디스플레이 이미지, 텍스트 메시지가 등등의 사용은 당신의 상상력에 의해 제한에만합니다. You can also use it to display rotating advertisement within your posts or pages. 또한이 도구를 사용하여 회전하는 광고를 귀하의 게시물 또는 페이지를 표시합니다. [...]
November 21st, 2006 at 5:17 am 2006년 11월 21일에서 오전 5시 17분
All this is good. 이것은 좋은합니다. But can be exists ad-rotator to show advertising with a binding to categories? 광고 - 회전 장치가 존재하지만 수있습니다 바인딩을 카테고리를 통해 광고를 게재?
December 7th, 2007 at 9:05 am 2007년 12월 7일에서 오전 9시 5분
I activated the above plug in but whenever I add the addrotator PHP code, wordpress strips it out and makes it a comment. 나는 위의 플러그인을 활성화하지만 addrotator 때마다 코드를 추가합니다, wordpress에 부착된 해해서 만들어 코멘트합니다.
How do I correct this? 해결하려면 어떻게해야합니까?
December 7th, 2007 at 9:21 am 2007년 12월 7일에서 오전 9시 21분
You cannot include it in post directly. 에 직접 게시를 포함시킬 수없습니다. You have to use a plugin which allows you to insert PHP code within a post or page. 이 플러그인을 사용하는 코드를 삽입할 수있는 페이지로 게시하거나합니다. You can however use it freely in your template. 그러나 귀하의 템플릿을 자유롭게 사용할 수있습니다.
March 26th, 2008 at 8:05 pm 2008년 3월 26일에서 오후 8시 5분
Hi! 안녕! I am a little confused. 나는 약간 혼란스러워합니다. I am not finding out how to use your plug in to display graphical ads. 나는 당신의 플러그인을 사용하는 방법을 찾지 못하는 아웃 그래픽 광고를 표시합니다. From what I read here and in your User Manual, you can only display text ads. 여기에서 읽어 보니 귀하의 사용자 매뉴얼, 텍스트 광고에만 표시하실 수있습니다. What if I wanted to display an animated .gif or .swf file with a link to one of my advertiser’s sites? 애니메이션을 표시하려면 어떻게해야합니까. gif 또는. swf 파일을 내 광고주의 사이트에 대한 링크를 하나? What information goes in the .txt file? 어떤 정보에 간다. txt 파일을?
Also, you say that you can use this anywhere .php is supported. 또한, 그렇게 말하지이 어디를 사용할 수있습니다. php를 지원합니다. So, how do I use this outside of a blog - on a regular .php page? 그래서,이 밖으로 블로그를 사용하려면 어떻게해야합니까 -을 정기적으로합니다. 붙입니다?