AdRotator Overview AdRotator generale
WordPress plugin AdRotator 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 consente di visualizzare un annuncio pubblicitario (che è scelti a caso da un gruppo di pubblicità specificate in un file di testo) a vostra località scelta ovunque nel tuo blog di WordPress (altri free WordPress plugins we provide libero di WordPress forniamo ).

Adding ad code is trvial. Aggiungendo il codice degli annunci trvial. You simply add this code in your template, where you want to show the advertisement: È sufficiente aggiungere questo codice nel tuo modello, in cui si desidera visualizzare l'annuncio:
bannerad '); ?> bannerad ');?>

It searches for the file wp-content/ bannerad .txt, chooses one ad randomly from it and displays it. Cerca il file wp-content / bannerad. Txt, sceglie un annuncio in modo casuale da essa e la mostra. You should replace bannerad with the name of your actual text file without the ending txt extension. È necessario sostituire bannerad con il nome del tuo file di testo senza la fine txt.
Ref: AdRotator User Manual AdRotator Manuale Utente

How to display rotating ads directly in your WordPress posts or pages? Come visualizzare gli annunci di rotazione direttamente nella casella di posti di WordPress o pagine?
The key problem is that WordPress doesn’t allow php code in your posts and pages. Il problema principale è che WordPress non permette php codice nel tuo post e pagine. And the code above is php code. E il codice di cui sopra è il codice php. The solution is very simple. La soluzione è molto semplice.

You should use any one of the available plugins for this. Si dovrebbe usare uno qualsiasi dei plugin disponibili per questo. One such plugin is Uno di questi plugin è Priyadi’s php-exec Priyadi's PHP-exec . It allows you to execute php code within your posts. Esso consente di eseguire codice php all'interno del tuo post. To install php-exec follow these simple steps: Per installare php-exec seguire questi semplici passaggi:

  1. Download the plugin: Scarica il plugin: phpexec.txt
  2. Rename the plugin to phpexec.php and put it into your wp-content/plugins directory Rinominare il plugin a phpexec.php e metterlo nella tua directory wp-content/plugins
  3. Activate the plugin from WordPress administration menu Attivare il plugin dal menu di amministrazione di WordPress

Now all you have to do is use this code within your WordPress post, to display rotating ads: Ora tutto ciò che dovete fare è utilizzare questo codice nel tuo post di WordPress, per visualizzare gli annunci a rotazione: