Beiträge von mrbuddy

    Hallo, bin mit meinem Blog zu einem anderen Anbieter gezogen. In diesem Zuge möchte ich auch einen Anfängerfehler beheben und dies mit htaccess regeln.

    Hatte in der Permalinkstruktur:

    https://wpde.org/www.example.com/index.php/%25postname%25

    habe in der htaccess bisher dies drin um die Webseite nur mit 'www' erreichbar zu machen:

    RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
    RewriteCond %{HTTP_HOST} !^example\.com$ [NC]

    Nun möchte ich auch das '/index.php/' raushaben. Die restliche Linkstruktur bleibt gleich eben nur ohne das 'index.php', das muss doch per redirect oder so mit der htaccess möglich sein?! Möchte von einem Plugi absehen.

    Danke für die Hilfe!

    So habe nun einen Anbieter gefunden. Habe einen Managed-Server (habe keine Zeit mich auch noch um dies zu kümmern).

    Nun würde der den Server nach meinen Vorgaben einstellen. Was muss ich dem sagen um den Server für Wordpress zu optimieren?

    Habe die Datenbank auf ner SSD-Festplatte. Habe gefragt ob das Memory-Limit eingstellt werden kann und die meinten ja so hoch wie ich möchte, wie hoch? Was sollte noch otimiert werden?

    Grüße aus dem Schwabenländle

    Ich möche auch umziehen oder einen größeren Server bei meinem aktuellen Anbieter bestellen. Ich bin derzeit bei Hetzner, meine Domains liegen dort,....

    Nun ist die Frage ich habe bisher eine Root Server (und das ohne Linux Kenntnisse).

    Da dachte ich mir nimmste doch lieber einen Managed-Linux Server (vServer möchte ich nicht) und zwar von Hetzner den: Managed-Server MX120-SSD hier der Link: http://www.hetzner.de/de/hosting/produkte_managed/mx120ssd

    ...oder wechsle ich zu Tophoster und nehme den: Managed-Linux-M3.0 hier der Link: https://www.tophoster.de/server/managed…managed-linux-m

    bei Umzug habe ich halt den Stress mit dem Domainumzug und so, bei Hetzner nicht. Was sagt Ihr zu den beiden Angeboten?

    Habe 2 Blogs laufen (werden bald noch mehr) am Tag bis zu 10K Besucher und zusammen 2000 Seiten mit ca. 10K Kommentare. Brauche ne hohe Memory-Limit und nen schnellen, optimal konfigurierten Server. Welchen Anbieter mit welchem Server würdet Ihr empfehlen? Wie siehts mit meinen genannten aus?

    Hallo bin mehr der Typ der von Plugins absieht um die Webseite nicht mit Javas und nochmal einer css auzublähen. Nun habe ich da ne Breadcrump im Theme in der functions.php und möchte die jetzt zu einer Rich Snippets - Breadcrump umformen aber ich bekomme es nicht hin!
    (P.S. die Breadcrump funzt so wie sie jetzt ist, den Code in die functions.php und dann nur noch write_breadcrumb(); in das Theme einbauen wo die hin soll und es klappt)

    function write_breadcrumb() {
    $pid = $post->ID;
    $trail = '<a href="/">Home</a>';
    if (is_front_page()) {
    // do nothing
    }
    elseif (is_page()) {
    $bcarray = array();
    $pdata = get_post($pid);
    $bcarray[] = ' &raquo; '.$pdata->post_title."\n";
    while ($pdata->post_parent) {
    $pdata = get_post($pdata->post_parent);
    $bcarray[] = ' &raquo; <a href="'.get_permalink($pdata->ID).'">'.$pdata->post_title.'</a>';
    }
    $bcarray = array_reverse($bcarray);
    foreach ($bcarray AS $listitem) {
    $trail .= $listitem;
    }
    }
    elseif (is_single()) {
    $pdata = get_the_category($pid);
    $adata = get_post($pid);
    if(!empty($pdata)){
    $data = get_category_parents($pdata[0]->cat_ID, TRUE, ' &raquo; ');
    $trail .= " &raquo; ".substr($data,0,-8;
    }
    $trail.= ' &raquo; '.$adata->post_title."\n";
    }
    elseif (is_category()) {
    $pdata = get_the_category($pid);
    $data = get_category_parents($pdata[0]->cat_ID, TRUE, ' &raquo; ');
    if(!empty($pdata)){
    $trail .= " &raquo; ".substr($data,0,-8;
    }
    }
    return $trail;
    }

    Google beschreibt wie es funktionieren soll hier: https://support.google.com/webmasters/answer/185417?hl=de

    Die Logic mit dem div itemscope... ist mir schon klar ich bekomme halt immer Syntaxfehler:
    <div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    <a href="http://www.example.com/kleider/echt" itemprop="url">

    <span itemprop="title">Echte Kleider</span>

    </a>

    Hallo habe gestern auf WP 3.4.1 upgedated.

    Beim Datenbankupdate ging es nicht mehr weiter?! Na gut gegoogelt und herausgefunden dass es an der object-cache.php im Ordner wp-content handelt (ist ne Datei von xcache Version 1.2.2)

    So die Datei gelöscht einwandfrei ging es weiter.

    Update war fertig Plugins erneuert,..., dann dachte ich lade die Datei wieder hoch und prombt diese Fehlermeldung:

    Fatal error: Call to undefined function wp_cache_add_non_persistent_groups() in /var/www/jugendaemter/wp-includes/class-wp-theme.php on line 177

    es handelt sich hierbei um folgendes Schnipsel, die Line 177 ist die rot markierte:

    // Initialize caching on first run.
    if ( ! isset( self::$persistently_cache ) ) {
    self::$persistently_cache = apply_filters( 'wp_cache_themes_persistently', false, 'WP_Theme' );
    if ( self::$persistently_cache ) {
    wp_cache_add_global_groups( 'themes' );
    if ( is_int( self::$persistently_cache ) )
    self::$cache_expiration = self::$persistently_cache;
    } else {
    [COLOR=#ff0000] wp_cache_add_non_persistent_groups( 'themes' );[/COLOR]
    }
    }

    $this->theme_root = $theme_root;
    $this->stylesheet = $theme_dir;

    Kann mir jemand helfen? Muss ich die object-cache.php ändern oder wie? Habe die Zeile 177 mal gelöscht und dann lief es,...?! Macht das was?

    Hallo,

    möchte Usern ermöglichen (in meinem Fall Rechtsanwälte) nach Bezahlung einer Gebühr, in der Form eines Steckbriefes, sich in eine Liste einzutragen .

    Also:

    ...gibt es ein Plugin wobei ein ein angemeldeter Besucher einen Artikel selber erstellen und bearbeiten kann - und nur diesen einen Artikel in einer zugewiesenen Kategorie.
    Am besten mit einem Bezahlmodul, bei dem erst nach erfolgter Bezahlung dieser Artikel freigeschaltet wird?!

    Falls nicht, würde ich von einem erfahrenen Softwareentwickler eine Programmierung eines solchen Plugins beauftragen, auf Angebote würde ich mich freuen.

    ...und heute mittag so:

    top - 11:18:04 up 2 days, 3:40, 1 user, load average: 43.82, 45.46, 47.98
    Tasks: 289 total, 41 running, 248 sleeping, 0 stopped, 0 zombie
    Cpu(s): 97.0%us, 2.9%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
    Mem: 12330784k total, 8160208k used, 4170576k free, 150416k buffers
    Swap: 2102456k total, 0k used, 2102456k free, 3165068k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    25594 www-data 20 0 1242m 48m 20m R 16 0.4 0:04.36 apache2
    24903 www-data 20 0 1273m 85m 36m R 16 0.7 2:42.79 apache2
    25226 www-data 20 0 1254m 67m 37m R 16 0.6 1:23.36 apache2
    25296 www-data 20 0 1251m 60m 33m R 16 0.5 1:09.84 apache2
    23826 www-data 20 0 1251m 63m 36m R 15 0.5 4:37.16 apache2
    24183 www-data 20 0 1253m 85m 55m S 15 0.7 4:54.10 apache2
    25021 www-data 20 0 1251m 78m 50m R 15 0.6 2:40.09 apache2
    25128 www-data 20 0 1270m 81m 36m S 15 0.7 1:53.10 apache2
    25435 www-data 20 0 1245m 49m 21m S 15 0.4 0:45.56 apache2
    25298 www-data 20 0 1269m 78m 32m R 15 0.7 1:11.63 apache2
    25320 www-data 20 0 1239m 38m 24m S 15 0.3 0:55.34 apache2
    25524 www-data 20 0 1253m 53m 25m R 15 0.4 0:26.40 apache2
    25527 www-data 20 0 1270m 78m 32m R 15 0.7 0:35.55 apache2
    24982 www-data 20 0 1265m 82m 33m S 14 0.7 2:09.96 apache2
    25287 www-data 20 0 1239m 38m 23m S 14 0.3 1:28.68 apache2
    25349 www-data 20 0 1245m 49m 21m S 14 0.4 1:14.47 apache2
    25528 www-data 20 0 1251m 51m 24m R 14 0.4 0:35.89 apache2
    25134 www-data 20 0 1239m 39m 24m R 14 0.3 1:41.43 apache2
    25126 www-data 20 0 1255m 68m 38m R 13 0.6 1:29.13 apache2
    23836 www-data 20 0 1253m 87m 58m R 13 0.7 4:46.75 apache2
    25131 www-data 20 0 1271m 81m 34m R 13 0.7 1:54.42 apache2
    25557 www-data 20 0 1228m 34m 20m S 13 0.3 0:31.00 apache2
    23747 www-data 20 0 1254m 86m 57m R 12 0.7 6:05.35 apache2
    25433 www-data 20 0 1254m 64m 34m R 12 0.5 0:44.17 apache2
    25440 www-data 20 0 1253m 51m 23m R 12 0.4 0:56.61 apache2
    25070 www-data 20 0 1271m 81m 34m R 12 0.7 1:50.93 apache2
    25400 www-data 20 0 1263m 78m 31m R 12 0.7 0:45.20 apache2
    25485 www-data 20 0 1264m 80m 33m R 12 0.7 0:47.09 apache2
    25492 www-data 20 0 1252m 53m 24m R 12 0.4 0:30.96 apache2
    23732 www-data 20 0 1254m 67m 37m R 11 0.6 5:29.26 apache2
    23880 www-data 20 0 1255m 88m 57m S 11 0.7 4:52.56 apache2
    24575 www-data 20 0 1253m 86m 56m R 11 0.7 4:17.10 apache2
    25160 www-data 20 0 1246m 63m 34m S 11 0.5 1:54.53 apache2
    25520 www-data 20 0 1238m 42m 21m R 11 0.4 0:32.16 apache2
    25572 www-data 20 0 1228m 34m 20m S 11 0.3 0:23.66 apache2
    25062 www-data 20 0 1273m 86m 36m S 11 0.7 2:01.41 apache2
    24860 www-data 20 0 1271m 99m 53m S 10 0.8 3:35.68 apache2
    25563 www-data 20 0 1232m 38m 20m R 10 0.3 0:20.36 apache2
    25565 www-data 20 0 1262m 73m 28m S 10 0.6 0:18.18 apache2
    25525 www-data 20 0 1271m 78m 31m S 9 0.7 0:31.46 apache2
    25396 www-data 20 0 1252m 52m 24m R 9 0.4 0:44.83 apache2
    25439 www-data 20 0 1245m 60m 31m S 9 0.5 0:29.14 apache2
    25136 www-data 20 0 1229m 36m 21m S 8 0.3 2:00.46 apache2
    25022 www-data 20 0 1269m 78m 32m S 8 0.6 2:37.59 apache2
    25066 www-data 20 0 1252m 52m 24m S 8 0.4 2:04.06 apache2
    25284 www-data 20 0 1250m 51m 24m S 8 0.4 1:19.01 apache2
    25436 www-data 20 0 1270m 81m 34m S 8 0.7 0:34.80 apache2
    25567 www-data 20 0 1238m 38m 23m S 8 0.3 0:21.90 apache2
    25571 www-data 20 0 1239m 38m 23m S 8 0.3 0:20.44 apache2
    24338 www-data 20 0 1271m 80m 33m S 8 0.7 4:13.43 apache2
    25344 www-data 20 0 1244m 58m 31m S 8 0.5 1:22.12 apache2

    ...sind noch längst nicht alle Abfragen!

    Wäre schön, wenn jemand mir Tipps oder Lösungen vorschlagen könnte!

    Hallo, mein Server ist ein root Server mit fogender Betriebssoftware:


    • Debian 6.0 LAMP
    • phpMyAdmin 3.3.7


    die top unter Linux schaut so aus:


    top - 15:13:13 up 2:31, 1 user, load average: 45.13, 47.57, 40.87
    Tasks: 288 total, 45 running, 243 sleeping, 0 stopped, 0 zombie
    Cpu(s): 97.2%us, 2.7%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 12330784k total, 4320652k used, 8010132k free, 36012k buffers
    Swap: 2102456k total, 0k used, 2102456k free, 236180k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    9600 www-data 20 0 1246m 60m 31m R 15 0.5 0:47.18 apache2
    10000 www-data 20 0 1252m 67m 31m R 15 0.6 0:48.17 apache2
    9192 www-data 20 0 1243m 58m 31m S 14 0.5 1:00.84 apache2
    9198 www-data 20 0 1260m 72m 34m R 14 0.6 0:46.67 apache2
    9676 www-data 20 0 1254m 64m 34m R 14 0.5 0:44.95 apache2
    9781 www-data 20 0 1245m 70m 41m R 14 0.6 0:47.12 apache2
    11019 www-data 20 0 1242m 48m 21m R 14 0.4 0:07.96 apache2
    8117 www-data 20 0 1246m 71m 41m R 13 0.6 2:17.73 apache2
    10715 www-data 20 0 1256m 65m 33m R 13 0.5 0:20.68 apache2
    11460 www-data 20 0 1237m 43m 20m R 13 0.4 0:01.06 apache2
    9390 www-data 20 0 1253m 74m 44m S 13 0.6 0:45.97 apache2
    9672 www-data 20 0 1246m 63m 33m R 13 0.5 0:35.13 apache2
    10393 www-data 20 0 1252m 66m 30m R 13 0.6 0:24.34 apache2
    10788 www-data 20 0 1229m 35m 20m R 13 0.3 0:21.54 apache2
    9826 www-data 20 0 1246m 63m 33m R 12 0.5 0:33.41 apache2
    9992 www-data 20 0 1242m 54m 26m R 12 0.4 0:34.09 apache2
    10002 www-data 20 0 1237m 43m 20m R 12 0.4 0:35.71 apache2
    10931 www-data 20 0 1237m 43m 20m R 12 0.4 0:09.08 apache2
    7963 www-data 20 0 1251m 64m 37m R 12 0.5 2:20.86 apache2
    8598 www-data 20 0 1256m 71m 39m R 12 0.6 1:24.58 apache2
    9065 www-data 20 0 1254m 70m 32m R 12 0.6 1:16.40 apache2
    9180 www-data 20 0 1246m 60m 31m S 11 0.5 0:53.44 apache2
    10373 www-data 20 0 1237m 43m 20m R 11 0.4 0:32.60 apache2
    10608 www-data 20 0 1245m 59m 30m R 11 0.5 0:08.00 apache2
    11113 www-data 20 0 1234m 40m 21m R 11 0.3 0:03.24 apache2
    9446 www-data 20 0 1261m 70m 33m R 11 0.6 0:39.57 apache2
    8578 www-data 20 0 1255m 66m 35m R 11 0.5 2:12.42 apache2
    10001 www-data 20 0 1242m 49m 21m R 11 0.4 0:27.50 apache2
    11082 www-data 20 0 1236m 42m 20m R 11 0.4 0:05.02 apache2
    11086 www-data 20 0 1252m 65m 30m R 11 0.5 0:03.20 apache2
    9683 www-data 20 0 1242m 48m 20m R 10 0.4 1:01.58 apache2
    10325 www-data 20 0 1242m 48m 20m S 10 0.4 0:27.88 apache2
    9115 www-data 20 0 1253m 52m 23m R 10 0.4 1:15.97 apache2
    9196 www-data 20 0 1245m 61m 32m R 10 0.5 0:53.53 apache2
    10928 www-data 20 0 1237m 43m 20m R 9 0.4 0:11.28 apache2
    10713 www-data 20 0 1225m 31m 20m S 9 0.3 0:17.46 apache2
    8558 www-data 20 0 1252m 73m 36m S 8 0.6 2:05.50 apache2
    9674 www-data 20 0 1254m 70m 39m R 8 0.6 0:30.74 apache2
    9990 www-data 20 0 1253m 52m 24m R 8 0.4 0:41.36 apache2
    10609 www-data 20 0 1242m 48m 20m R 8 0.4 0:24.12 apache2
    10697 www-data 20 0 1225m 31m 20m S 8 0.3 0:22.70 apache2
    10786 www-data 20 0 1235m 34m 23m S 8 0.3 0:04.74 apache2
    10910 www-data 20 0 1238m 44m 20m R 8 0.4 0:18.60 apache2
    11078 www-data 20 0 1242m 48m 20m S 8 0.4 0:03.60 apache2

    Meine Webseite: http://www.jugendaemter.com

    Ich habe im Dezember ein Wordpress Update und Plugin Updates gemacht aber im November - nichts gravierendes?!

    Hy, in der readme wirsd es wie folgt beschrieben, wie man sieht habe ich aber den div nicht und ich komme nicht klar was löschen und dann wohin?!

    Aus der readme:

    * Adding pagebar to your paged comments
    This pagebar can not be added automatically (there is no action indicating the end of the comment loop) so you have to edit the file "comments.php". If your theme contains the standard navigation for paged comments you first have to delete the following code:

    <div class="navigation">
    <div class="alignleft"><?php previous_comments_link() ?></div>
    <div class="alignright"><?php next_comments_link() ?></div>
    </div>

    (The code does not have to look necessarily exactly the same, this example is from the WordPress default theme.) Then you can add the commentbar to your pages:

    `if (function_exists('commentbar'))
    commentbar();`

    Hallo habe das Prob, dass ich steigend eine extrem hohe Serverauslastung habe. Gegen mittags geht gar nichts mehr und es kommt "Error establishing a database connection"!
    Habe seitdem massive Besuchereinbußen. Wie kriege ich das in den Griff? xcache ist installiert - sinnvoll?

    Mein Blog ist bei Hetzner gehostet. Habe erst im Okt 2010 zu einem schnelleren Server innerhalb Hetzner gewechselt.

    Bezeichnung EQ6

    • Intel® Core™ i7-920 Quad-Core (4x 2.67GHz)
    • 12 GB DDR3 RAM
    • 2 x 750 GB SATA II (Software-RAID 1)


    Hat alles gut geklappt bis Nov 2011.

    Habe derzeit 3500 Besucher und 12000 Seitenaufrufe p.Tag

    Schon Plugins deaktiviert oder ausgelagert, wie das Forum,...kein erfolg! Was ratet Ihr, noch schnelleren Server oder wie?

    Meine Plugins:

    Ajax Login
    Askimet
    All in one SEO Pack
    article2pdf
    Autocompleter
    AZIndex
    Broken Link Checker
    Contact Form 7
    Do Follow
    Email Users
    FeedBurner FeedSmith
    Google XML Sitemaps
    Gurken Subscripes to Comments
    No self Pings
    Pagebar 2
    Plista
    Quick Chat
    Rally Simple Captcha
    Search everyhing
    Simple Tags
    SlideDeck for Wordpress
    Sociable Zyblog Edition
    Thank me Later
    Tweet This
    WordPress Database Backup
    WP Ajax Edit Comments
    WP Cleanfix

    Wobei ich sagen muss, dass ich diese Plugins schon länger drauf habe und die Serverauslastung moderat war.

    Um Hilfestellung, Tipps,... wäre ich dankbar!

    Hallo,

    habe bei mir das Theme "German Newspaper" installiert. Da ich viel Kommentare pro Seite habe, möchte ich das Plugin "Pagebar2" in die comments.php integrieren. Habe es versucht aber es klappt irgendwie nicht. Die richtige Datei ist doch die comments.php oder?

    Meine URL hier!

    Kann jemand helfen? Vielen Dank im voraus!

    Hier meine comments.php, darunter den Codeschnipsel, den man laut elektroelch (Pagebar Plugin-Entwickler) einbauen muss.

    <?php

    // Do not delete these lines
    if ( isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) )
    die ('Please do not load this page directly. Thanks!');

    if ( !empty($post->post_password) )
    { // if there's a password
    if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password )
    { // and it doesn't match the cookie
    echo ' <p class="nocomments">' . __('This post is password protected. Enter the password to view comments.', 'german_newspaper') . '</p>' . "\n";

    return;
    }
    }

    /* This variable is for alternating comment background */
    $oddcomment = 'class="alt" ';


    // <!-- You can start editing here. -->


    if ( $comments )


    {
    echo ' <h3 id="comments">';
    comments_number(__('No Responses', 'german_newspaper'), __('One Response', 'german_newspaper'), __('% Responses', 'german_newspaper'));
    echo ' ';
    printf(__('to “%s”', 'german_newspaper'), the_title('', '', false));
    echo ' </h3>' . "\n\n";
    echo ' <ol class="commentlist">' . "\n";

    foreach ( $comments as $comment )
    {
    echo ' <li ' . $oddcomment . 'id="comment-' . get_comment_ID() . '">' . get_avatar( $comment, 32 ) . "\n";
    printf(__('<cite>%s</cite> Says:', 'german_newspaper'), get_comment_author_link());


    if ( $comment->comment_approved == '0' )
    {
    echo ' <em>' . __('Your comment is awaiting moderation.', 'german_newspaper') . '</em>' . "\n";
    }

    echo ' <br />' . "\n";
    echo ' <small class="commentmetadata"><a href="#comment-' . get_comment_ID() . '" title="">';
    printf(__('%1$s at %2$s', 'german_newspaper'), get_comment_date(__('F jS, Y', 'german_newspaper')), get_comment_time());
    echo '</a> ';
    edit_comment_link(__('edit', 'german_newspaper'),'&nbsp;&nbsp;','');
    echo '</small>' . "\n\n\n";

    comment_text();

    echo "\n\n\n" . ' </li>' . "\n";



    /* Changes every other comment to a different class */
    $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';

    }

    echo '</ol>' . "\n\n";


    }


    else
    {
    // this is displayed if there are no comments so far

    if ( 'open' == $post->comment_status )
    {
    // <!-- If comments are open, but there are no comments. -->
    }
    else
    {
    // comments are closed
    // <!-- If comments are closed. -->
    echo ' <p class="nocomments">' . __('Comments are closed.', 'german_newspaper') . '</p>' . "\n";
    }
    }


    if ( 'open' == $post->comment_status )
    {
    echo ' <h3 id="respond">' . __('Leave a Reply', 'german_newspaper') . '</h3>' . "\n";

    if ( get_option('comment_registration') && !$user_ID )
    {
    echo ' <p>';
    printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'german_newspaper'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink()));
    echo ' </p>' . "\n";
    }
    else
    {
    echo ' <form action="' . get_option('siteurl') . '/wp-comments-post.php" method="post" id="commentform">' . "\n";

    if ( $user_ID )
    {
    echo ' <p>';
    printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'german_newspaper'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity);
    echo ' <a href="' . get_option('siteurl') . '/wp-login.php?action=logout" title="' . __('Log out of this account', 'german_newspaper') . '">' . __('Log out &raquo;', 'german_newspaper') . '</a></p>' . "\n";
    }
    else
    {
    echo '<p><input type="text" name="author" id="author" value="' . $comment_author . '" size="22" tabindex="1" />' . "\n";
    echo '<label for="author"><small>' . __('Name', 'german_newspaper') . ' ';

    if ( $req ) _e("(required)", "german_newspaper");

    echo '</small></label></p>' . "\n";
    echo '<p><input type="text" name="email" id="email" value="' . $comment_author_email . '" size="22" tabindex="2" />' . "\n";
    echo '<label for="email"><small>' . __('Mail (will not be published)', 'german_newspaper') . ' ';
    if ($req) _e("(required)", "german_newspaper");

    echo '</small></label></p>' . "\n";
    echo '<p><input type="text" name="url" id="url" value="' . $comment_author_url . '" size="22" tabindex="3" />' . "\n";
    echo '<label for="url"><small>' . __('Website', 'german_newspaper') . '</small></label></p>' . "\n";
    }

    echo '<!--<p><small>';
    printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'german_newspaper'), allowed_tags());
    echo '</small></p>-->' . "\n";
    echo '<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>' . "\n";
    echo '<p><input name="submit" type="submit" id="comment_submit" tabindex="5" value="' . __('Submit Comment', 'german_newspaper') . '" />' . "\n";
    echo '<input type="hidden" name="comment_post_ID" value="' . $id . '" />' . "\n";
    echo '</p>' . "\n";

    do_action('comment_form', $post->ID);

    echo '</form>' . "\n\n";

    }



    // If registration required and not logged in
    }


    ?>


    Hier der Codeschnipsel:

    if (function_exists('commentbar')) commentbar();