Beiträge von maxe
-
-
Ob der Text im Frontend deutsch oder englisch ist, ist Theme abhängig. Hat dein Theme eine Sprachdatei, dann kannst du diese mit PoEdit bearbeiten. Falls nicht, sollten die engl. Texte hardcodiert in den einzelnen Templates stehen, wo du sie manuell übersetzten kannst.
Und was meinst du mit Title in der Quelle? Den Website-Titel (Blogtitel)? Den kannst du in den Einstellungen -> Allgemein ändern.
-
ich kann deinen Blog sehen, hat's sich erledigt?
-
ja es gibt einen Unterschied zum Admin ... aber du bist ja als Admin angemeldet. Deaktiviere testweise mal alle Plugin, vielleicht versaut eins davon dein Backend.
-
...aaaaaber, die "Ecke" sieht in meiner comments.php, von Freshy2, etwas anders aus.
hmm, die Ecke sieht doch genau so aus
... du musst eindeutig experimentierfreudiger werden!PHP
Alles anzeigen<!-- You can start editing here. --> <?php if ( have_comments() ) : ?> <div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div> [COLOR=Red]<?php if ( ! empty($comments_by_type['comment']) ) : $ccount = count($comments_by_type['comment']); ($ccount !== 1) ? $txt = "Kommentare" : $txt = "Kommentar" ; ?> <h3><?php echo $ccount . " " . $txt; ?> zu “<?php the_title(); ?>”</h3> [COLOR=Black]<ol class="commentlist">[/COLOR][/COLOR] [COLOR=Red][COLOR=Black] <?php wp_list_comments('type=comment'); ?> </ol>[/COLOR] <?php endif; ?>[/COLOR] [COLOR=Red]<?php if ( ! empty($comments_by_type['pings']) ) : $pcount = count($comments_by_type['pings']); ($pcount !== 1) ? $ptxt = "Ping-/Trackbacks" : $ptxt = "Ping-/Trackback"; ?> <h3><?php echo $pcount . " " . $ptxt; ?> zu “<?php the_title(); ?>”</h3>[/COLOR] <ol class="pinglist"> <?php wp_list_comments('type=pings&callback=list_pings'); ?> </ol> [COLOR=Red]<?php endif; ?>[/COLOR] <div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div> <?php else : // this is displayed if there are no comments so far ?> <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <p class="nocomments">Kommentarfunktion ist deaktiviert!</p> <?php endif; ?> <?php endif; ?> -
-
-
oki, möchtest du jetzt noch den Zähler von Kommentaren und Pingbacks trennen?
Na dann mal los, der Code könnte ungefähr so aussehen ... siehst ja hoffentlich selber wo was hingehört.PHP
Alles anzeigen<?php if ( ! empty($comments_by_type['comment']) ) : $ccount = count($comments_by_type['comment']); ($ccount !== 1) ? $txt = "Kommentare" : $txt = "Kommentar" ; ?> <h3><?php echo $ccount . " " . $txt; ?> zu “<?php the_title(); ?>”</h3> <ol class="commentlist"> <?php wp_list_comments('type=comment'); ?> </ol> <?php endif; ?> <?php if ( ! empty($comments_by_type['pings']) ) : $pcount = count($comments_by_type['pings']); ($pcount !== 1) ? $ptxt = "Ping-/Trackbacks" : $ptxt = "Ping-/Trackback"; ?> <h3><?php echo $pcount . " " . $ptxt; ?> zu “<?php the_title(); ?>”</h3> <ol class="pinglist"> <?php wp_list_comments('type=pings&callback=list_pings'); ?> </ol> <?php endif; ?> -
-
-
-
Auch in WP3 gibt es noch die "Einstellungen - Allgemein": /wp-admin/options-general.php
-
-
Da gibt es z.b. das Plugin CryptX was automatisch aus Email-Adressen klickbare Links macht und diese gleichzeitig verschlüsselt: http://weber-nrw.de/wordpress/cryptx/
-
-
You are very welcome Ammaletu!
Schön, dass das Team so kompetent unterstützt wird. -
-
da gibt es z.B. noch die AntispamBee als Plugin. Das löscht zukünftig dann autom. allen Spam raus. So kannst du dann alle übrigen Kommentare freigeben.
-
um es jetzt noch schöner anzupassen, kannst du über die callback-funktion gehen:
PHP<ol class="pinglist"> <?php wp_list_comments('type=pings[COLOR=Red]&callback=list_pings[/COLOR]'); ?> </ol>In der functions.php deines Themes (falls nicht vorhanden einfach eine erstellen) kannst du dann die Ausgabe der Pingbacks bearbeiten, z.B. so:
PHP<?php // formatiert ueber die callback-Funktion die Pings in den Kommentaren function list_pings($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li id="comment-<?php comment_ID(); ?>"> <?php comment_author_link(); ?> <?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?> <?php comment_text() ?> <?php } ?>Und wenn das dann funktioniert hat, kannst du auch noch über die css class .pinglist das css nach deinen Wünschen formatieren, musst du aber nicht.
-
Da geht das Eintragen des Texts im Template direkt aber schneller ;-))
da geb ich Mauki aber recht, eleganter wäre es, wenn man den Artikel übers Backend schreiben/ändern könnte
