hast pn..
Läuft alles 100%
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenhast pn..
Läuft alles 100%
hat ja prima geklapt , danke =)
jetzt noch 2 sachen:
unter : ?cat=65 steht (oben)
Archiv für die Kategorie „XXX“
-----------------------------------------------
unter ?p=276 steht (oben)
« Weiter (Kategorie)
Zurück (Kategorie) »
Wie bekomme ich das weg?
ok..
mit dem background klappt das nicht:
CSS
[B]/* Begin Typography & Colors */
body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
<body style="background:#FFFFFF url(<?php bloginfo('http://www.xxx.de/wp-content/themes/default/') ?>images/background.jpg) fixed left top no-repeat">
color: #333;
text-align: center;
}
[/B]
Alles anzeigen
muss ich :
[COLOR=Magenta]<?php while (have_posts()) : the_post(); ?>[/COLOR] mit [COLOR=Red] <?php $withcomments = 1; while (have_posts()) : the_post(); ?>[/COLOR]
ersetzen?
ok, meister jetzt kommt keine fehler meldung... was mache ich weiter?? wie gesagt habe leider keine category.php und home..
für die ganze hilfe schicke ich dir zu Weihnachten was *kein witz* aber erst muss alles laufen
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
[B] <?php $withcomments = 1; while (have_posts()) : the_post(); ?>[/B]
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2 class="pagetitle"><?php printf(__('Archive for the ‘%s’ Category', 'kubrick'), single_cat_title('', false)); ?></h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2 class="pagetitle"><?php printf(__('Posts Tagged ‘%s’', 'kubrick'), single_tag_title('', false) ); ?></h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'kubrick'), get_the_time(__('F jS, Y', 'kubrick'))); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'kubrick'), get_the_time(__('F, Y', 'kubrick'))); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'kubrick'), get_the_time(__('Y', 'kubrick'))); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2 class="pagetitle"><?php _e('Author Archive', 'kubrick'); ?></h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2 class="pagetitle"><?php _e('Blog Archives', 'kubrick'); ?></h2>
<?php } ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')); ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')); ?></div>
</div>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time(__('l, F jS, Y', 'kubrick')) ?></small>
<div class="entry">
<?php the_content() ?>
</div>
<p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick'), ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p>
</div>
<?php endwhile; ?>
[B] <?php comments_template() ?>[/B]
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Older Entries'), 'kubrick'); ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')); ?></div>
</div>
<?php else : ?>
<h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Ausgabe:
Parse error: syntax error, unexpected T_ELSE in /var/www/web58/html/wp-content/themes/default/archive.php on line 56
EDIT: Version 2.6.5
Dann musst du das auch in deiner archive.php eintragen, in deiner category.php, deiner home.php, ...
Schau mal hier:
Das Geheimnis der WP Template Hierarchie - Template Sheet zum Ausdrucken
habe leider keine category.php und home
* image.php (image.php)
* links.php (links.php)
* Archive (archive.php)
* Fußbereich (footer.php)
* Kopfbereich (header.php)
* Seitenleiste (sidebar.php)
* Suchergebnis (search.php)
* Seitenvorlage (page.php)
* Suchformular (searchform.php)
* Hauptbereich (index.php)
* archives.php (archives.php)
* Kommentare-Popup (comments-popup.php)
* 404 (Fehlerseite) (404.php)
* Kommentare (comments.php)
* Einzelansicht (single.php)
* Theme-Funktionen (functions.php)
archive.php - habe es selber probiert aber es wurde ein fehler verursacht..
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2 class="pagetitle"><?php printf(__('Archive for the ‘%s’ Category', 'kubrick'), single_cat_title('', false)); ?></h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2 class="pagetitle"><?php printf(__('Posts Tagged ‘%s’', 'kubrick'), single_tag_title('', false) ); ?></h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'kubrick'), get_the_time(__('F jS, Y', 'kubrick'))); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'kubrick'), get_the_time(__('F, Y', 'kubrick'))); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'kubrick'), get_the_time(__('Y', 'kubrick'))); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2 class="pagetitle"><?php _e('Author Archive', 'kubrick'); ?></h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2 class="pagetitle"><?php _e('Blog Archives', 'kubrick'); ?></h2>
<?php } ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')); ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')); ?></div>
</div>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time(__('l, F jS, Y', 'kubrick')) ?></small>
<div class="entry">
<?php the_content() ?>
</div>
<p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick'), ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Older Entries'), 'kubrick'); ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')); ?></div>
</div>
<?php else : ?>
<h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
wegen background nur weiß erscheint
Bei /?p=276 wird das angezeigt aber nicht bei cat=133 :mrgreen:
Ja, stimmt :)
Mein aktueller code: (was soll ich hier verändern?)
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content(__('Read the rest of this entry »', 'kubrick')); ?>
</div>
<p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')) ?></div>
</div>
<?php else : ?>
<h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
<p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Mit dem Hintergrund komme ich auch nicht klar:
/* Begin Typography & Colors */
body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
background: #d5d6d7 url('images/background.jpg');
color: #333;
text-align: center;
}
habe ich durch
ersetzt aber ohne erfolg...
http://forum.wordpress-deutschland.org/design/36403-k…gen-lassen.html[/quote]
Leider funktioniert das bei mir nicht ;( , vielleicht mache ich auch was falsch..
gibst da ein Plugin für?
Guten Morgen,
Hintergrundbild soll "festgefroren" und nicht vervielfältigen, also beim scrollen unten&oben soll es sich nicht bewegen. Oder halt mitgehen..
Bei Artikeln sollen kommentare direkt angezeigt sein genau so bei kommentar schreiben. Die Felder sollen sich sofort zeigen..
Mfg
stimmt, wunderbar :mrgreen:
Zweite Glaskugelantwort wäre: Wie kann ich im Standard DE-Theme (Kubrick) immer die vollständige Sidebar anzeigen lassen? « WordPress Deutschland FAQ
Die Beschreibung ist für eine ältere Version :neutral:
Ist heute meine 2 Frage :) hehe
Das Problem, wenn man was bei google sucht.. kommt man zb. auf meinem blog aber die seite wird nicht vollständig angezeigt.. Das Menü Rechts fällt, also nur der Artikel..
/?p=276 (ist die url)
Was kann ich da tuen?
Gruß
wow, das ging ja schnell vielen dank :)
Hallo,
die liste rechts bei Wordpress, wie ist es möglich die per Hand zu sortieren?
Es wird ja der anfangsbuchstabe standardmässig benutzt, aber dann ist alles durch einander..
Mfg