Na, spätestens jetzt weißt du warum man immer Backups (Dateien und Datenbank) machen sollte ![]()
Beiträge von maxe
-
-
Im Moment laden die Seiten (z.B. http://www.time-news.de/2010/10/20/vfb…ainer-gesprach/) unter 2 Sek..
Evtl. doch ein Engpass gewesen?
Ansonsten könntest du auch mal alle Plugins deaktivieren, zumindest die GoogleAds, und schauen was die Ladezeiten dann machen. -
ich hatte dir extra den Link gepostet, wo das manuelle Upgrade via FTP-Client erklärt wird:
Lad dir das aktuelle WP Paket runter und lade den Themes-Ordner daraus wieder rauf. Dann solltest du zumindest wieder ins Backend kommen. Und danach mach ein Upgrade von WP auf 3.0.1.
-
-
Bin grad mal den gezeigten Loop überflogen, sollte noch aktuell sein: http://forum.wordpress-deutschland.org/lexikon/loop-1…intraege-1.html
Was genau im Loop angezeigt werden soll (Autor, Datum, Überschriften, Kategorien, the_content() oder the_excerpt() etc.) ist jedem selbst überlassen.
-
die comments.php sieht von Theme zu Theme verschieden aus. Und nein, funktioniert natürlich nicht, wenn du die Kommentarfunktion global deaktiviert hast.
-
das liest sich so, als ob dein Theme eine Funktion für WP 3.0.1 aufrufen will, du aber noch eine ältere Version von WordPress installiert hast. Kann das sein? Dann bitte auf die aktuelle Version upgraden: http://faq.wordpress-deutschland.org/wie-fuhre-ich-ein-upgrade-durch/ oder das Theme über deinen FTP-Client löschen.
-
Code
[COLOR=#000000][COLOR=#ff8000]// action hook creating the index loop [/COLOR][COLOR=#0000bb]thematic_indexloop[/COLOR][COLOR=#007700](); [/COLOR][/COLOR]hast du aber aus dem Template gelöscht, oder?
Komplizierter heißt, dass das Theme viele eigene Funktionen zu verwenden scheint.
Ganz radikal könntest du es noch mal so versuchen:
PHP
Alles anzeigen[COLOR=#000000] [COLOR=#0000bb]<?php [/COLOR][COLOR=#ff8000]/* Template Name: Referenzen */ [/COLOR][COLOR=#0000bb]?> [/COLOR] [COLOR=#0000bb]<?php [/COLOR][COLOR=#ff8000]// calling the [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=header"]header[/URL].php [/COLOR][COLOR=#0000bb]get_header[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#007700] [/COLOR][COLOR=#0000bb]?> [/COLOR] <div id="container"> <div id="content"> [COLOR=#007700] [/COLOR][/COLOR][COLOR=#000000][COLOR=#0000bb]<?php query_posts[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'cat=referenzen'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000bb]?>[/COLOR] [COLOR=#0000bb]<?php [/COLOR][COLOR=#007700]if ([/COLOR][COLOR=#0000bb]have_posts[/COLOR][COLOR=#007700]()) : while ([/COLOR][COLOR=#0000bb]have_posts[/COLOR][COLOR=#007700]()) : [/COLOR][COLOR=#0000bb]the_post[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000bb]?>[/COLOR] [COLOR=#0000bb]<?php the_excerpt[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000bb]?>[/COLOR] [COLOR=#0000bb]<?php [/COLOR][COLOR=#007700]endwhile; endif; [/COLOR][COLOR=#0000bb]?> [/COLOR][/COLOR][COLOR=#000000][COLOR=#007700] [/COLOR][COLOR=#007700] [/COLOR][COLOR=#ff8000]// calling the [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=widget"]widget[/URL] area 'index-bottom' [/COLOR][COLOR=#0000bb]get_sidebar[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'index-bottom'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#ff8000]// create the navigation below the [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=content"]content[/URL] [/COLOR][COLOR=#0000bb]thematic_navigation_below[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000bb]?> [/COLOR] </div><!-- #content --> </div><!-- #container --> [COLOR=#0000bb]<?php[/COLOR][COLOR=#007700] [/COLOR][COLOR=#ff8000]// calling the standard [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=sidebar"]sidebar[/URL] [/COLOR][COLOR=#0000bb]thematic_sidebar[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#ff8000]// calling [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=footer"]footer[/URL].php [/COLOR][COLOR=#0000bb]get_footer[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000bb]?>[/COLOR] [/COLOR]Wenn jetzt einige Funktionen fehlen, kannst du sie nach und nach ins Template kopieren und schauen wo's ursprünglich hakte.
-
Mrz. ist IMHO die korrekte Abkürzung für März
JAN/FEB/MRZ/APR/MAI/JUN/JUL/AUG/SEP/OKT/NOV/DEZ
-
und da liegt der Hund begraben, das Theme ist etwas aufwändiger.
Versuch es mal so:PHP
Alles anzeigen[LEFT] [COLOR=#000000] [COLOR=#0000BB]<?php [/COLOR][COLOR=#FF8000]/* Template Name: Referenzen */ [/COLOR][COLOR=#0000BB]?> [/COLOR] [COLOR=#0000BB]<?php [/COLOR][COLOR=#FF8000]// calling the header.php [/COLOR][COLOR=#0000BB]get_header[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#FF8000]// action hook for placing content above #container [/COLOR][COLOR=#0000BB]thematic_abovecontainer[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?> [/COLOR] <div id="container"> [COLOR=#0000BB]<?php thematic_abovecontent[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?> [/COLOR] <div id="content"> [COLOR=#0000BB]<?php [/COLOR][COLOR=#FF8000]// create the navigation above the content [/COLOR][COLOR=#0000BB]thematic_navigation_above[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#FF8000]// calling the widget area 'index-top' [/COLOR][COLOR=#0000BB]get_sidebar[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'index-top'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#FF8000]// action hook for placing content above the index loop [/COLOR][COLOR=#0000BB]thematic_above_indexloop[/COLOR][COLOR=#007700](); [/COLOR][/COLOR][COLOR=#000000][COLOR=#0000BB]<?php query_posts[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'cat=referenzen'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#0000BB]?>[/COLOR] [COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]if ([/COLOR][COLOR=#0000BB]have_posts[/COLOR][COLOR=#007700]()) : while ([/COLOR][COLOR=#0000BB]have_posts[/COLOR][COLOR=#007700]()) : [/COLOR][COLOR=#0000BB]the_post[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR] [COLOR=#0000BB]<?php the_excerpt[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR] [COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]endwhile; endif; [/COLOR][COLOR=#0000BB]?> [/COLOR][/COLOR][COLOR=#000000][COLOR=#007700][/COLOR][COLOR=#007700] [/COLOR][COLOR=#FF8000]// action hook for placing content below the index loop [/COLOR][COLOR=#0000BB]thematic_below_indexloop[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#FF8000]// calling the widget area 'index-bottom' [/COLOR][COLOR=#0000BB]get_sidebar[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'index-bottom'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#FF8000]// create the navigation below the content [/COLOR][COLOR=#0000BB]thematic_navigation_below[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?> [/COLOR] </div><!-- #content --> [COLOR=#0000BB]<?php thematic_belowcontent[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR] </div><!-- #container --> [COLOR=#0000BB]<?php [/COLOR][COLOR=#FF8000]// action hook for placing content below #container [/COLOR][COLOR=#0000BB]thematic_belowcontainer[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#FF8000]// calling the standard sidebar [/COLOR][COLOR=#0000BB]thematic_sidebar[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#FF8000]// calling footer.php [/COLOR][COLOR=#0000BB]get_footer[/COLOR][COLOR=#007700](); [/COLOR][COLOR=#0000BB]?>[/COLOR] [/COLOR] [/LEFT] -
Wie gesagt, oft liegt so eine Verzögerung an externen Einbindungen wie GoogleAds, facebook, twitter oder auch Logos (z.B. von Bloggeramt).
Habe gerade noch festgestellt, dass es beim zweiten Aufrufen des Artikels dann schnell geht.
Ja, das liegt dann am Cache-Plugin. -
-
Deine Site lädt lt. Firebug in ca. 11,5 Sek.
Schuld daran ist z.B. der Abruf des Bloggeramt-Logos, aber auch eine nicht zu findende Grafik -
zeig uns mal bitte deinen Versuch mit the_excerpt(), also den gesamten Code des Seitentemplates.
-
Jetzt hast du wohl zu wenig php memory_limit: http://faq.wordpress-deutschland.org/exhausted-php-memory/
-
die comments.php hab ich mal ungetestet umgeschrieben:
PHP
Alles anzeigen<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?> <div class="art-post"> <div class="art-post-body"> <div class="art-post-inner art-article"> <div class="art-postcontent"> <!-- article-content --> <!-- /article-content --> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <?php return; } ?> <!-- You can start editing here. --> [COLOR=Red]<!-- Anfang Formulareingabe -->[/COLOR] <?php if ('open' == $post->comment_status) : ?> <div class="art-post"> <div class="art-post-body"> <div class="art-post-inner art-article"> <div class="art-postcontent"> <!-- article-content --> <div id="respond"> <h3>Dein Gästebuch-Eintrag</h3> <div class="cancel-comment-reply"> <small><?php cancel_comment_reply_link(); ?></small> </div> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'kubrick'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'kubrick'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'kubrick'); ?>"><?php _e('Log out »', 'kubrick'); ?></a></p> <?php else : ?> <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="author"><small><?php _e('Name', 'kubrick'); ?> <?php if ($req) _e("(required)", "kubrick"); ?></small></label></p> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="email"><small><?php _e('Mail (will not be published)', 'kubrick'); ?> <?php if ($req) _e("(required)", "kubrick"); ?></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><?php _e('Website', 'kubrick'); ?></small></label></p> <?php endif; ?> <!--<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'kubrick'), allowed_tags()); ?></small></p>--> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <p> <span class="art-button-wrapper"> <span class="l"> </span> <span class="r"> </span> <input class="art-button" type="submit" name="submit" tabindex="5" value="<?php _e('Submit Comment', 'kubrick'); ?>" /> </span> <?php comment_id_fields(); ?> </p> <?php do_action('comment_form', $post->ID); ?> </form> <?php endif; // If registration required and not logged in ?> </div> <!-- /article-content --> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <?php endif; // if you delete this the sky will fall on your head ?> [COLOR=Red]<!-- Ende Formulareingabe -->[/COLOR] <div class="art-post"> <div class="art-post-body"> <div class="art-post-inner art-article"> <div class="art-postcontent"> <!-- article-content --> <?php ob_start(); previous_comments_link(__('Ältere Einträge »', 'kubrick')); $prev_comment_link = ob_get_clean(); ob_start(); next_comments_link(__('« Neuere Einträge', 'kubrick')); $next_comment_link = ob_get_clean(); ?> <?php if ($prev_comment_link || $next_comment_link): ?> <div class="navigation"> <div class="alignleft"> <?php echo $next_comment_link; ?> </div> <div class="alignright"> <?php echo $prev_comment_link; ?> </div> </div> <?php endif; ?> <!-- /article-content --> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <ul class="commentlist"> <?php wp_list_comments('type=all&callback=art_comment'); ?> </ul> <?php if ($prev_comment_link || $next_comment_link): ?> <div class="art-post"> <div class="art-post-body"> <div class="art-post-inner art-article"> <div class="art-postcontent"> <!-- article-content --> <div class="navigation"> <div class="alignleft"> <?php echo $next_comment_link; ?> </div> <div class="alignright"> <?php echo $prev_comment_link; ?> </div> </div> <!-- /article-content --> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <?php endif; ?> <?php if (!is_page()) : ?> <div class="art-post"> <div class="art-post-body"> <div class="art-post-inner art-article"> <div class="art-postcontent"> <!-- article-content --> <p class="nocomments"><?php _e('Comments are closed.', 'kubrick'); ?></p> <!-- /article-content --> </div> <div class="cleared"></div> </div> <div class="cleared"></div> </div> </div> <?php if ( have_comments() ) : ?> <?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. --> <?php endif; ?> <?php endif; ?> <?php endif; ?> -
-
Wechsel mal ins Standard-Theme und deaktiviere ALLE Plugins.
-
ich denke, dass du für deinen alten Blog dann auch die Blog-/Wordpress-URL in der alten Datenbank ändern musst: http://faq.wordpress-deutschland.org/wordpress-url-aendern/
-
Und das hab ich schon gefunden. Hab dort auch die Schriftart geändert.
Aber das nimmt der nicht für den ganzen Blog an.
Zu den anderen Schriftarten, da musst du halt mal deine css nach "font-family" durchsuchen und mit deiner ersetzen.Und wie füg ich jetzt den Background dazu?
Ich weiß ich muss irgendwo was mit background dazu machen.
Ich weiß nur nicht, wie der Code genau geht.
*sorry*
Wenn du mal bitte genau auf meinen letzten Post schaust (rot markiertes).