hallo,
ich möchte gern wassup auf meinem blog einbinden. wie kann ích das widget anpassen und wo bette ich folgenden code ein?
in der readme ist folgendes angegeben:
PHP
if (function_exists('wassup_sidebar')) {
wassup_sidebar('');
}
Valid option values for wassup_sidebar function are:
* before_widget - html before the widget
* after_widget - html after the widget
* before_title - html before the title (default <h2>)
* after_title - html after the title (default </h2>)
* wtitle - the title (default "visitors online")
* wulclass - the ul style class (default "links")
* wchars - the max width of sentences (default 18 characters)
* wsearch - set 1 to show last searched terms (default 0)
* wsearchlimit - how many searched terms to show (default 5)
* wref - set 1 to show last referers (default 0)
* wreflimit - how many referers to show (default 5)
* wtopbr - set 1 to show top browsers (default 0)
* wtopbrlimit - how many top browsers to show (default 5)
* wtopos - set 1 to show top OS (default 0)
* wtoposlimit - how many top OS to show (default 5)
You have to put every 15 values, leave them empty if you don't want to use them, for example:
if (function_exists('wassup_sidebar')){
wassup_sidebar('','','<h2>','</h2>','Online Visitors','links',20,1,5,1,5,1,10,1,10);
}
Alles anzeigen
mein blog
gruss
dornensplitter