Hast du denn überhaupt ein Menü im Backend unter Design - Menüs angelegt?
Beiträge von maxe
-
-
Du kannst zu jeder Seite bei Sichtbarkeit "Passwortgeschützt" wählen.
-
Und wo ist dann die Frage samt Lösung ?
-
HAuch bei den Artikeln selber habe ich über Optionen die Kommentare zugelassen*grübel..
Wie hat man das zu verstehen? Nicht nur oben in den Optionen musst du den Haken setzen, dieser blendet lediglich die Box "Disskussion" im Artikel ein, du musst dann auch in der Box "Disskussion" selber die Kommentare erlauben anhaken.
-
Du kannst 1x allgemeine Einstellungen vornehmen und dann noch mal gesondert pro Artikel. Hast du bei beidem auch noch mal genau geschaut?
-
Hast du im Backend oben rechts auch die richtigen Optionen eingeblendet/angehakt?
-
schau mal in die functions.php nach automatic_feed_links(). Die Funktion kannst du dann rauslöschen, ist eh veraltet: http://codex.wordpress.org/Function_Refer…port#Feed_Links
-
Naja, vielleicht verträgt sie sich ja nicht mit dem Theme o.ä.
Man liest hier ja die dollsten Sachen
-
Existiert die Datenbank nur und stimmen die Datenbankdaten in der wp-config.php noch? Läuft PHP5? Evtl. löschst du auch mal die .htaccess (falls vorhanden) bzw. legst eine neue .htaccess an mit PHP5 Anweisung.
-
Ach so, das ist gar nicht der 2te Loop, sondern der erste.
Lass den ersten so wie er ist und leg darunter deinen 2ten Loop an. Du musst dich aber im richtigen Template befinden:PHP
Alles anzeigen<?php if ( have_posts() ) : ?> [COLOR=Red]<?php query_posts($query_string . "&[/COLOR][COLOR=Red]orderby=rand") ?>[/COLOR] <?php $i = 0; ?> <?php while ( have_posts() ) : the_post(); $i++; ?> <div class="post_home"> <a href="<?php the_permalink() ?>" class="thumb" title="<?php the_title(); ?>"> <?php if (has_post_thumbnail()) : ?> <?php the_post_thumbnail(array(145,145)); ?> <?php else : ?> <img src="<?php bloginfo('template_url'); ?>/i/noimage.jpg" width="145" height="145" alt=""/> <?php endif; ?> </a> <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> </div> <?php if ($i % 6 == 0) echo '<div style="clear: both;"></div>'?> <?php endwhile; ?> <?php endif; ?>[FONT=monospace] [/FONT][LEFT][COLOR=#000000][COLOR=Red]<?php $random_query [/COLOR][COLOR=Red]= new [/COLOR][COLOR=Red]WP_Query[/COLOR][COLOR=Red]([/COLOR][COLOR=Red]'orderby=rand&showposts=1'[/COLOR][COLOR=Red]); while ([/COLOR][COLOR=Red]$random_query[/COLOR][COLOR=Red]->[/COLOR][COLOR=Red]have_posts[/COLOR][COLOR=Red]()) : [/COLOR][COLOR=Red]?> <div class="post_home"> <a href="[/COLOR][COLOR=Red]<?php the_permalink[/COLOR][COLOR=Red]() [/COLOR][COLOR=Red]?>" class="thumb" title="[/COLOR][COLOR=Red]<?php the_title[/COLOR][COLOR=Red](); [/COLOR][COLOR=Red]?>"> [/COLOR][COLOR=Red]<?php [/COLOR][COLOR=Red]if ([/COLOR][COLOR=Red]has_post_thumbnail[/COLOR][COLOR=Red]()) : [/COLOR][COLOR=Red]?> [/COLOR][COLOR=Red]<?php the_post_thumbnail[/COLOR][COLOR=Red](array([/COLOR][COLOR=Red]145[/COLOR][COLOR=Red],[/COLOR][COLOR=Red]145[/COLOR][COLOR=Red])); [/COLOR][COLOR=Red]?> [/COLOR][COLOR=Red]<?php [/COLOR][COLOR=Red]else : [/COLOR][COLOR=Red]?> <img src="[/COLOR][COLOR=Red]<?php bloginfo[/COLOR][COLOR=Red]([/COLOR][COLOR=Red]'template_url'[/COLOR][COLOR=Red]); [/COLOR][COLOR=Red]?>/i/noimage.jpg" width="145" height="145" alt=""/> [/COLOR][COLOR=Red]<?php [/COLOR][COLOR=Red]endif; [/COLOR][COLOR=Red]?> </a> <h2><a href="[/COLOR][COLOR=Red]<?php the_permalink[/COLOR][COLOR=Red]() [/COLOR][COLOR=Red]?>">[/COLOR][COLOR=Red]<?php the_title[/COLOR][COLOR=Red](); [/COLOR][COLOR=Red]?></a></h2> </div> [/COLOR][COLOR=Red]<?php [/COLOR][COLOR=Red]if ([/COLOR][COLOR=Red]$i [/COLOR][COLOR=Red]% [/COLOR][COLOR=Red]6 [/COLOR][COLOR=Red]== [/COLOR][COLOR=Red]0[/COLOR][COLOR=Red]) echo [/COLOR][COLOR=Red]'<div style="clear: both;"></div>'[/COLOR][COLOR=Red]?> [/COLOR][COLOR=Red]<?php [/COLOR][COLOR=Red]endwhile; [/COLOR][COLOR=#0000BB][COLOR=Red]?>[/COLOR] [/COLOR][/COLOR][/LEFT]Oder gibt es schon einen 2ten Loop für den ETC-Bereich im entsprechenden Template ?
-
Das ist das selbe Spielchen wie bei dem anderen Theme. Du musst erst ein neues Seitentemplate (<-klick) erstellen und dort query_posts() verwenden.
Und danach auch wieder in der index.php über query_posts() die eine Kategorie rausnehmen.
-
dass du evtl. ein falsches Verzeichnis im Browser aufrufst, z.B. mit/ohne /wordpress/
-
einfach genau vor den Loop.
PHP
Alles anzeigen<?php if ( have_posts() ) : ?> <?php $i = 0; ?> <?php $random_query = new WP_Query('orderby=rand&showposts=1'); while ($random_query->have_posts()) : $random_query->the_post(); $i++; ?> <div class="post_home"> <a href="<?php the_permalink() ?>" class="thumb" title="<?php the_title(); ?>"> <?php if (has_post_thumbnail()) : ?> <?php the_post_thumbnail(array(145,145)); ?> <?php else : ?> <img src="<?php bloginfo('template_url'); ?>/i/noimage.jpg" width="145" height="145" alt=""/> <?php endif; ?> </a> <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> </div> <?php if ($i % 6 == 0) echo '<div style="clear: both;"></div>'?> <?php endwhile; ?> <?php endif; ?> -
ungetestet würde ich es mal mit bloginfo() probieren:
PHP<?php if(is_home() && !is_paged() || is_front_page()) { ?> <h3><a class="widget-title" href="<?php bloginfo('wpurl'); ?>" title="Startseite">Willkommen</a></h3> <?php } ?>die Parameter dazu findest du im codex: http://codex.wordpress.org/Function_Reference/bloginfo
-
Das Menü kannst du im WP-Backend unter Design -> Menüs selber nach deinen Wünschen zusammenstellen.
-
dass evtl. noch eine index.html im Verzeichnis liegt.
-
-
-
je nach dem wo du es raushaben willst. Startseite=index.php, Kategorien=archive.php oder category.php ... mach dich mal mit der Template Hierarchy von WP vertraut.
-
Du redest aber nicht von der neuen Admin Bar die WP 3.1 mitgebracht hat. Sie ist nur im eingeloggten Zustand zu sehen.