AdRotator Overview AdRotatorの概要
WordPress plugin AdRotator WordPressの差込式式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 Blog (他の 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.ファイルを検索しますWP内容/ bannerad 。 txtの、 1つの広告からランダムに選択し、表示します。 You should replace bannerad with the name of your actual text file without the ending txt extension. banneradの名前を置き換えて、あなたの実際のテキストファイルをtxt拡張子のエンディングです。
Ref:出所: AdRotator User Manual AdRotatorのユーザーズマニュアル

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の鍵は許可されませんPHPコードやページを使用して投稿します。 And the code above is php code.と、上記のコードは、 PHPコードです。 The solution is very simple.このソリューションは非常に簡単です。

You should use any one of the available plugins for this.のいずれかを使用する必要が利用可能なプラグインです。 One such plugin is 1つは、このような差込式 Priyadi’s php-exec priyadiのPHP -実行 .です。 It allows you to execute php code within your posts.これによりPHPコードを実行するにして投稿します。 To install php-exec follow these simple steps:幹部にPHPをインストールする、以下の簡単な手順を実行:

  1. Download the plugin:ダウンロードして差込式: phpexec.txt
  2. Rename the plugin to phpexec.php and put it into your wp-content/plugins directory phpexec.phpの名前を変更するとプラグインをwp-content/pluginsディレクトリに置くことをお勧め
  3. 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のポストに、回転の広告を表示する: