Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Bibs Random Content

Apraksts

Takes a random quote, picture or adcode from a text file and displays it anywhere in a WordPress Blog Template. To display the content, use <?php randomcontent();> anywhere in the template.

The data is stored in the file random.dat one line per content block (see sample). You can use text, html, adsense code, whatverver you want. Chmod the random.dat file to 777.

Uzstādīšana

Install

  1. Upload all the files in the zip to the /wp-content/plugins/bibs-random-content directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the code into your template . Done

BUJ

Question: How to i place content into the random.dat file?

Answer: Put all the code you like to display in one line. So if you have an ad code with 4 lines as example, delete the line braks, so that the code is in one line, thats all.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Bibs Random Content” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Bibs Random Content&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.