Du kannst dir verschiedene Seitentemplate (<-klick) anlegen.
Beiträge von maxe
-
-
-
-
Schau mal ob deine Mail-Adresse noch bei einem Benutzer angegeben ist. Wenn ja, ob dieser Autor noch Arktikel im Blog hat. Ich meine nämlich, dass der jeweilige Autor des Artikels die Mail-Benachrichtigungen bekommt.
Ansonsten wie Narcanti schreibt, Akismet benutzen und auch AntispamBee.
-
Zweiteres: in PHP herumwurschteln

schau dir mal if in_category(xx) an: http://doku.wordpress-deutschland.org/Template_Tags/in_category
Damit kannst du deine single.php so ändern, dass nur der Text bei entsprechenden Artikeln erscheint. -
und wie geht es dann weiter? Was möchstest du dann wo und wie abfragen? Geht es um die andere Frage von dir mit is_page() in der Sidebar? Was hast du dann in der sidebar.php für eine Abfrage drin?
Jetzt hab ich mir den Tipp doch anschauen müssen
Ich täts dann so in die sidebar.php schreiben (habs net getestet) : -
Hab den Tipp jetzt nicht gelesen ...
die Datei muss aber auf jeden Fall function[COLOR=Red]s[/COLOR].php heißen. -
mach aus
einfach
Warum, siehe hier: http://faq.wordpress-deutschland.org/keine-bilder-k…iv-the_excerpt/
-
Also meine Thumbs sind 150x150, egal ob hoch oder quer. Bei ihm sind die Thumbs ja mal quer und mal hoch, ich kann aber in den Einstellungen immer nur eine Größe eingeben, hoch oder quer ist hier egal und wird nicht beachtet!?
Du hast sicherlich den Haken bei "Beschneide die Thumbnails in die richtige Größe (Thumbnails sind normalerweise proportional)" in den Mediathek-Einstellungen drin. Nimm den mal raus.ZitatÄndert sich denn die Größe der Thumbs im Nachhinein, wenn ich das jetzt umstelle?
Nein, nur für neue Bilder.
-
wo fügst du den Code ein? Muss natürlich direkt in Template (page.php).
-
1. schau dir mal query_posts() mit dem Parameter "order" an: http://codex.wordpress.org/Template_Tags/query_posts
2. Entweder hat dein Theme extra Theme-Optionen wo du einen Header einstellen kannst, oder du musst in der http://pc-21-blog.22tools.de/blog/wp-conten…der-default.css für den #header-wrap das background Bild ändern. Allerdings musst du dann auch beim #header den background löschen.
Ich vermute aber, dass es da Einstellungen für gibt.3. Da gibt's ne Menge an Plugins:
http://wordpress.org/extend/plugins/search.php?q=stats
http://wordpress.org/extend/plugins/search.php?q=counterz.B. http://wordpress.org/extend/plugins/statpress-reloaded/
-
das kannst du mit dem Template-Tag wp_list_pages erreichen. Ist im codex ganz gut beschrieben: http://codex.wordpress.org/Template_Tags/…#List_Sub-Pages
-
Warum setzt du dann in die header.php nicht einfach neben wp_list_categories() noch einen statischen Link zum Forum.
-
was bist du denn an einem Sonntag Nachmittag so ungeduldig

Schau dir mal in der header.php das Template-Tag wp_list_categories() und dessen Parameter exclude und orderby an: http://doku.wordpress-deutschland.org/Template_Tags/wp_list_categories
-
kann es sein, dass die .htaccess jetzt ganz wech ist ... also auch der Code für die Permalinks :confused:
-
Hast du irgendwas sticky gesetzt? Hast du das selbe im Default-Theme?
Poste doch mal die single.php des jetzigen Themes. -
Ab wievielen Artikeln eine 2. Seite anfängt, kannst du in den WP-Einstellungen vornehmen.
-
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]