Ab wievielen Artikeln eine 2. Seite anfängt, kannst du in den WP-Einstellungen vornehmen.
Beiträge von maxe
-
-
Also ich halt von so einer Captcha-Abfrage eh nicht so viel. Aber kannste ruhig so machen. Musst halt nur den Code vom Plugin weiter runter außerhalb des Loops setzen.
PHP
Alles anzeigen<?php // Do not delete these lines. Nicht löschen. 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"><?php _e('This post is password protected. Enter the password to view comments.','simpson'); ?><p> <?php return; } } /* This variable is for alternating comment background */ $oddcomment = 'alt'; ?> <!-- You can start editing here. Ab hier kannst du die Datei bearbeiten. --> <?php if ($comments) : ?> <h3 id="comments"><?php comments_number(__('No Comments','simpson'), __('1 Comment','simpson'), __('% Comments','simpson'));?></h3> <ol class="commentlist"> <?php foreach ($comments as $comment) : ?> <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>"> <small class="commentmetadata"> <span class="smallbig"><?php comment_author_link() ?></span> <?php _e('wrote on','simpson'); ?> <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date(__('F jS, Y','simpson')) ?> <?php _e('at','simpson'); ?> <?php comment_time() ?></a>: <?php edit_comment_link('e','',''); ?> <?php if ($comment->comment_approved == '0') : ?> <br /><em><?php _e('Your comment is awaiting moderation.','simpson'); ?></em> <?php endif; ?></small> <div class="commenttext"><?php comment_text() ?></div> </li> <?php endforeach; /* end for each comment */ ?> </ol> [COLOR=Red]<?php /* Changes every other comment to a different class */ /****** Math Comment Spam Protection [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=Plugin"]Plugin[/URL] ******/ if ( function_exists('math_comment_spam_protection') ) { $mcsp_info = math_comment_spam_protection(); ?> <p><input type="text" name="mcspvalue" id="mcspvalue" value="" size="22" tabindex="4" /> <label for="mcspvalue"><small>Spam protection: Sum of <?php echo $mcsp_info['operand1'] . ' + ' . $mcsp_info['operand2'] . ' ?' ?></small></label> <input type="hidden" name="mcspinfo" value="<?php echo $mcsp_info['result']; ?>" /> </p> <?php } // if function_exists... ?>[/COLOR] <?php else : // this is displayed if there are no comments so far. Wenn noch keine Kommentare vorhanden sind ?> <?php if ('open' == $post->comment_status) : ?><!-- If comments are open, but there are no comments. Kommentare offen, aber keine vorhanden. --> <?php else : // comments are closed ?><!-- If comments are closed. Kommentare geschlossen. --> <p class="nocomments"><?php _e('Sorry, comments are closed for this item.','simpson'); ?></p> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <h3 id="respond"><?php _e('Leave a Reply','simpson'); ?></h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> $redirect_url = get_option('siteurl').'/wp-login.php?redirect_to='.get_permalink(); <p><?php _e('You must be','simpson'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('logged in','simpson'); ?></a> <?php _e('to write a comment.','simpson'); ?></p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p> <?php _e('Logged in as','simpson'); ?> <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="Logout">Logout »</a> </p> <?php else : ?> <p><input type="text" class="sendclass" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <label for="author"><small><?php if ($req) _e('Name (required)','simpson'); else _e('Name','simpson'); ?></small></label></p> <p><input type="text" class="sendclass" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <label for="email"><small><?php if ($req) _e('Mail (will not be published) (required)','simpson'); else _e('Mail (will not be published)','simpson'); ?></small></label></p> <p><input type="text" class="sendclass" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url"><small><?php _e('Website','simpson'); ?></small></label></p> <?php endif; ?> <div class="quicktags"><script type="text/javascript">displayQuicktags('comment');</script></div> <!-- <p><small><strong>XHTML:</strong> <?php _e('You can use these [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=tags"]tags[/URL]:','simpson'); ?> <?php echo allowed_tags(); ?></small></p> --> <p> <textarea name="comment" class="commentclass" id="comment" cols="80" rows="10" tabindex="4"></textarea> </p> <p> <input name="submit" class="sendclass" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment'); ?>" /> <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. Wenn Registrierung erforderlich und nicht eingeloggt. ?><?php endif; // if you delete this the sky will fall on your head. Nicht löschen, wichtig ?> -
-
Ich bin bei Host-Europe und habe gar keine .htaccess. Nun habe ich es einfach so gemacht, dass ich als Permalink /index.php/%year%/%postname%/ eingestellt hab. Funzt auch super

Dann hast du jetzt auch eine .htaccess
[size=8](vielleicht versteckt)[/SIZE] -
Geht auch ohne Plugin mit dem query_posts() und dessen Parameter offset: http://doku.wordpress-deutschland.org/Template_Tags/query_posts
-
keine Ahnung, wir kennen ja dein Theme nicht :-/
Link zum Blog? -
-
die Ecken sind so komisch wg. dem Bild was ich gepostet habe. Das hängt im header als background drin.
-
da nimm ein Plugin (z.B. Feedstats) bzw. Feedburner für.
-
Wie hast du denn im WP-Backend die Permalinks eingstellt?
-
ach so, nur für die Startseite. Hmm, dann musst du dir am besten die index.php in eine home.php kopieren. Dort musst du dann den DIV #frame umbenennen, z.B. #frame_home
Danach über css alles mit #frame zu tun hat kopieren und die width anpassencustom_my_style.css (Zeile 21)
layout.css (Zeile 68 )
-
meinst du den Background vom #header: http://blog.asphalt-home.com/wp-content/the…brickheader.gif
-
Mach dir doch verschiedene Seitentemplate [size=8](<-klick)[/SIZE], die du dann den Seiten immer wieder zuordnen kannst.
-
wir haben auch einen FAQ-Artikel dazu: http://faq.wordpress-deutschland.org/wordpress-trot…chnis-aufrufen/
Aber warum hast du WP im Unterverzeichnis installiert und nicht direkt ins Root?
-
Problem scheint ja gelöst zu sein. Hast den Link ja wieder gelöscht.
-
also du musst, wie in der Doku eigentlich ausführlich beschrieben, vor den Loop die Kategorie-ID ausschließen:
-
du musst den Code nicht finden, sondern selber einfügen

-
die Werte von width ändern

Merkst du nicht, dass ohne Link zum Blog keine genauen Aussagen gemacht werden können?
-
Alternativ könnte ich auch damit leben, den RSS-Feed komplett da oben aus der Adressleiste zu geben, gibt es da irgendeinen Eintrag für die functions.php?
Da brauchst du nur den von dir geposteten Code aus der header.php löschen.
-
Okay, ich sehe allerdings kein Positionsfehler. Mal etwas genauer beschreiben.