hallo marX
hat wunderbar funktioniert.
vielen dank für deine hilfe.
gruss axel
Beiträge von bydlo
-
-
vielen dank.
aber irgendwas hab ich wohl wiedermal falsch gemacht.auf der Index geht es...aber
ich finde in meinem theme keine category.datei wo ich dieses hier einfügen könnte:Codeif (is_category('Glossary')) { $posts = query_posts($query_string . '&orderby=title&order=asc&posts_per_page=-1'); }
kann mir mal jemand sagen wo das hingehört?
gruss axel -
moin moin,
gibt es eine möglichkeit alle beiträge sowohl in den kategorien als auch auf der startseite in alphabetischer reihenfolge statt in chronologischer anzeigen zu lassen?wenn ja..was muss ich tun?
gruss axel -
hallo spickzettel,
fehlanzeige , daran lags leider nicht.siehe :
» Bildaufbereitung für den Offsetdruck - Foto-News »
&
site:axellauer.de/fotografie-news/ - Google-Suchenoch ne idee jemand?
gruss axel -
habs geändert.
dann bin ich mal gespannt auf den nächsten crawl.sag dir bescheid obs geholfen hat.
gruss axel -
ich kann dir grad nicht folgen.
was hat denn der menueintrag zum forum damit zu tun das google in den SERPs den seitentitel des beitrags falsch anzeigt?
und zum validator:
OK:aber wie ändere ich das?
gruss axel -
moin moin,
schaut mal hier:
site:axellauer.de/fotografie-news/ - Google-Suchein den links bei google sind die sonderzeichen nicht richtig umgewandelt.
wenn man aber die entsprechende seite aufruft und mal nach oben in den seitentitel eschaut dann werden sie schon richtig angezeigt.kennt jemand den effekt und weiss eine lösung?
042-clean-umlauts von Scott hanson ist aktiviertgruss axel
-
wechseln?
Alpträume! günstige Alpträume!?nee nee , mein lieber.
dat kenn ick schon.
sidebar verschwunden, plugins kaputt,
mysteriöse fehler.lieber lass ich da die wilde mischung drauf laufen als mir wieder drei tage arbeit einzuhandeln :-)
willl sagen ich habe es noch nie geschaftt irgendwetwas was mit nachnamen update oder upgrade hiess fehlerfrei zu erledigen.
gruss axel -
du kannst dich gerne selbst überzeugen.
hab dir mal das ursprungs-zip auf den server geschoben.
http://www.tuerkei-heute.de/desert_theme.zipauch die neue überarbeitete version die ich auf meiner platte gespeichert habe hat keine comments.php.
nur die green-version von d2k hat eine.gruss
axel -
hängt vom theme ab.
habe ca 30 verschiedene installationen zu laufen und manche brauchen das default und einige nicht.2:das default kommt mit der installation.
hattest du also mal aber dann halt gelöscht.wenn ich das default hier lösche... / DIE TÜRKEI -- Reise Informationen (das ist das dessert_theme) sieht es wesentlich ;-) anders aus als jetzt.
-
hallo alphawolf,
dank für deine hilfe
hatte es bereits kurz vor deinem post schon gefunden.
siehe oben.zu der frage ob sich ein theme was aus default holt würde ich sagen:
doch, das tut es.1: es gibt im dessert theme keine comments.php
2:wenn ich das verzeichnis "default" lösche oder umbenenne verändern sich sowohl funktionen als auch erscheinungsbild.in meinem eingeschränkten verständnis bez. PHP lässt das nur den schluss zu das von dort funktionen herangezogen werden die nicht im dessert_theme notiert sind.
oder verstehe ich da wiedermal was falsch?
-
EDIT
wenn ich diese stelle entferne:
<cite><?php comment_author_link() ?></cite> schreibt:dann verschwindet zwar der link ...aber auch die ganze zeile.
was ich erreichen möchte ist:
"Username" schreibt:
darf schon stehen bleiben, aber das "Username" soll nicht mehr als LINK zur website erscheinenwie heisst denn der php-befehl wenn ich hier nur den Author_Name ausgeben lassen will?
das ist es schonmal nicht:
<?php comment_author_name() ?>ERLEDIGT !!
<cite><?php comment_author() ?></cite> schreibt:vielen dank
-
das habe ich befürchtet.
an diesen stellen hab ich schonmal erfolglos rumgeschraubt.
hier mal der code der comments.php aus dem default.
die site nutzt das dessert-theme welches sich aber auch bestimmte sachen aus dem default holtPHP
Alles anzeigen<?php // Do not delete these lines if ('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 ?> <p class="nocomments">This post is password protected. Enter the password to view comments.<p> <?php return; } } /* This variable is for alternating comment background */ $oddcomment = 'alt'; ?> <!-- You can start editing here. --> <?php if ($comments) : ?> <h3 id="comments"><?php comments_number('Kein Kommentar', 'Ein Kommentar', '% Kommentare' );?> zu “<?php the_title(); ?>”</h3> <ol class="commentlist"> <?php foreach ($comments as $comment) : ?> <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>"> <cite><?php comment_author_link() ?></cite> schreibt: <?php if ($comment->comment_approved == '0') : ?> <em>Dein Kommentar wird bald freigeschaltet.</em> <?php endif; ?> <br /> <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small> <?php comment_text() ?> </li> <?php /* Changes every other comment to a different class */ if ('alt' == $oddcomment) $oddcomment = ''; else $oddcomment = 'alt'; ?> <?php endforeach; /* end for each comment */ ?> </ol> <?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">Die Kommentarfunktion ist momentan deaktiviert.</p> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <h3 id="respond">Schreibe einen Kommentar</h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p>Du musst Dich <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">anmelden</a> um einen Beitrag zu kommentieren.</p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p>Angemeldet als <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Abmelden »</a></p> <?php else : ?> <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <label for="author"><small>Name <?php if ($req) echo "(erforderlich)"; ?></small></label></p> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <label for="email"><small>Mail (wird nicht veröffentlicht) <?php if ($req) echo "(erforderlich)"; ?></small></label></p> <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> <?php endif; ?> <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Kommentar abschicken" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> <?php do_action('comment_form', $post->ID); ?> </form> <?php endif; // If registration required and not logged in ?> <?php endif; // if you delete this the sky will fall on your head ?>habe hier schon einiges ausprobiert aber nix erfolgreich.
welche stelle ist es denn?
gruss axel -
das habe ich befürchtet.
an diesen stellen hab ich schonmal erfolglos rumgeschraubt.
hier mal der code der comments.php aus dem default.
die site nutzt das dessert-theme welches sich aber auch bestimmte sachen aus dem default holtPHP
Alles anzeigen<?php // Do not delete these lines if ('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 ?> <p class="nocomments">This post is password protected. Enter the password to view comments.<p> <?php return; } } /* This variable is for alternating comment background */ $oddcomment = 'alt'; ?> <!-- You can start editing here. --> <?php if ($comments) : ?> <h3 id="comments"><?php comments_number('Kein Kommentar', 'Ein Kommentar', '% Kommentare' );?> zu “<?php the_title(); ?>”</h3> <ol class="commentlist"> <?php foreach ($comments as $comment) : ?> <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>"> <cite><?php comment_author_link() ?></cite> schreibt: <?php if ($comment->comment_approved == '0') : ?> <em>Dein Kommentar wird bald freigeschaltet.</em> <?php endif; ?> <br /> <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small> <?php comment_text() ?> </li> <?php /* Changes every other comment to a different class */ if ('alt' == $oddcomment) $oddcomment = ''; else $oddcomment = 'alt'; ?> <?php endforeach; /* end for each comment */ ?> </ol> <?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">Die Kommentarfunktion ist momentan deaktiviert.</p> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <h3 id="respond">Schreibe einen Kommentar</h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p>Du musst Dich <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">anmelden</a> um einen Beitrag zu kommentieren.</p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p>Angemeldet als <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Abmelden »</a></p> <?php else : ?> <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <label for="author"><small>Name <?php if ($req) echo "(erforderlich)"; ?></small></label></p> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <label for="email"><small>Mail (wird nicht veröffentlicht) <?php if ($req) echo "(erforderlich)"; ?></small></label></p> <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> <?php endif; ?> <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>--> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Kommentar abschicken" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> <?php do_action('comment_form', $post->ID); ?> </form> <?php endif; // If registration required and not logged in ?> <?php endif; // if you delete this the sky will fall on your head ?>habe hier schon einiges ausprobiert aber nix erfolgreich.
welche stelle ist es denn?
gruss axel -
das dachte ich mir schon fast :)
hättest du noch eine dezidierte meinung dazu? ;-)
oder möglicherweise eine hilfestellung für einen php-deppen wie so eine zeile aussehen könnte? -
moin moin,
an welcher stelle im code von welcher datei kann ich denn dafür sorge tragen das die angegebene URL eines Kommentares nicht ausgegeben wird?Hintergrund: Spam (Logo)
vorbeugend sei gesagt: wo ich das feld zum eintragen der URL finde weiss ich.
es geht aber um die ausgabe.
gruss axel -
hat denn wirklich niemand eine idee wie man das behebt?
:-? -
das hätte ich vielleicht erwähnen sollen.
<?php get_sidebar();?> ist vorhanden.
ich poste hier mal die ganze single.php.
vielleicht hilfts ja.ZitatAlles anzeigen<?php get_header();?>
<div id="content">
<div id="content-main">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="posttitle">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p class="post-info"><?php the_time('j. F Y') ?> von <?php the_author_posts_link() ?> <?php edit_post_link('Bearbeiten', '', ' | '); ?> </p>
</div>
<div class="entry">
<?php the_content(); ?>
<?php wp_link_pages(); ?>
</div>
<hr>
<div class="verwandte"><?php
if ( is_single() ) {
echo '<ul><b>Verwandte Beiträge</b>';
similar_posts();
echo '</ul>';
} ?></div>
<hr>
<p class="postmetadata">Geschrieben in <?php the_category(', ') ?> | <?php comments_number('0 Kommentare', ' Kommentar','% Kommentare')?></p>
<?php comments_template(); ?>
</div>
<?php endwhile; ?><p align="center"><?php posts_nav_link(' - ','« Zurück','Nächste »') ?></p>
<?php else : ?><h2 class="center">Nicht Gefunden</h2>
<p class="center">Endschuldige, doch was du hier Suchst gibt es nicht.</p><?php endif; ?>
</div><!-- end id:content-main -->
<?php get_sidebar();?>
<?php get_footer();?>gruss axel
-
moin moin,
in den beiträgen meines blogs fehlt in den beiträgen die sidebar (bezws. das Menu).
Ebenso fehlt der footer.
- Foto-Newswie krieg ich die navigation im beitrag angezeigt?
ich vermute mal das hat rgendwas mit "the_excerpt" zu tun .
habe aber zu wenig ahnung um dem ganzen selbst auf die schliche zu kommengruss axel
-
so schauts aus.
ein kraut & rüben-mix aus englisch & deutsch
und das auf allen seiten im adminUsual settings for an article:
(These settings may be overridden for individual articles.)- Attempt to notify any blogs linked to from the article (slows down posting.)
- Allow link notifications from other blogs (pingbacks and trackbacks.)
- Erlaube Besuchern Beiträge zu kommentieren.
Mir eine E-Mail schicken, wenn
- jemand einen Kommentar schreibt.
- ein Kommentar auf Freischaltung wartet.
Bevor ein Kommentar erscheint,
- An administrator must always approve the comment
- muss der kommentierende Autor Name und E-Mail hinterlassen.
- muss der Autor bereits einen zugelassenen Kommentar geschrieben haben.
Kommentarmoderation Hold a comment in the queue if it contains or more links. (A common characteristic of comment spam is a large number of