Oh, äh
Soviel zu meinen Suchkünsten ;)
Nochmals Danke.
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 erstellenOh, äh
Soviel zu meinen Suchkünsten ;)
Nochmals Danke.
Das ging ja fix!
Also Respekt,
1. hast du gleich verstanden was ich wollte,
2. hast du es in einem ganz kurzen Satz so rübergebracht, dass keine Fragen offen standen.
Läuft nun so wie es soll danke nochmal!
Hallo zusammen!
Habe folgendes Problem, wenn ich auf der Seite
http://wanderfieber.hoerack.com (Achtung funkt. nur mit FF :() eine Kategorie auswähle, werden die Artikel genau so ausgegeben wie auf der Startseite.
Das Gleiche gilt auch für Artikel im Archiv.
So weit so gut...
Da ich nun auf ein anderes Theme umsteigen will, habe ich das Problem, dass die Artikel anders dargestellt werden, als auf der Startpage.
Sprich das sieht so aus, als wären alle Artikel im Archiv und somit werden z.B. keine Bilder mehr angezeigt etc.
http://www.wanderfieber.at
Ich möchte es aber wieder so haben wie auf der alten Seite -> alle Artikel sollen per Kategorie auswählbar sein und auch mit Bildern und allem drum und dran dargestellt werden.
Ich hoffe jemand weiß was ich meine ;)
Verwende WP 2.0.5 und auf der alten Seite das gr-deutsch1.2 und auf der neuen das andreas0112 Theme.
Hoffe mir kann jemand helfen, bis dann Tom.
Noch nicht ganz...
Hi mastermind,
hab den Teil rausgenommen, bleibt alles beim Alten nur werden beim erstenmal die vorhandenen Kommentare nicht ausgegeben.
Denke mal dass comments.php 2x aufgerufen wird, aber wieso weißt du wo die comments.php aufgerufen wird ?
Dachte du meinst die Google Links ;)
Arbeite auf einem Mac, hab eh Highlighting, aber das hilft nicht, wenn man nicht genau schaut...
Hm, an den Links liegts nicht...
Naja bissal Werbung muss schon sein ;)
Hab die Links rausgenommen, die comments.php hab ich schon mal durchgesehen, irgendeine Schleife wird anscheinend doppelt durchlaufen...
<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p><?php _e('Enter your password to view comments.'); ?></p>
<?php return; endif; ?>
<?php if ( comments_open() ) : ?>
<h3 class="kommentarhead"><?php comments_number(__('0 Kommentare'), __('1 Kommentar'), __('% Kommentare')); ?></h3>
<?php else : // If there are no comments yet ?>
<?php endif; ?>
<?php if ( $comments ) : ?>
<ol class="comments">
<?php foreach ($comments as $comment) : ?>
<li>
<h4><?php if (function_exists("gravatar")) { ?><img src="<?php gravatar("R", 23); ?>" alt="Gravatar" class="gravatar" /> <?php } ?>
<?php comment_author_link() ?> schrieb am <?php comment_date(); ?>:</h4>
<?php comment_text() ?><?php edit_comment_link(__("bearbeiten"), ' |'); ?>
<?php if ($comment->comment_approved == '0') : ?><br /><p><em>Kommentar muss erst freigegeben werden - bitte Geduld.</em></p><?php endif; ?>
</li>
<?php endforeach; ?>
</ol>
<p><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr>-Feed für Kommentare dieses Beitrags.')); ?></p>
<?php else : // If there are no comments yet ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<h3 id="postcomment"><?php _e('Leave a comment'); ?></h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>Man muss <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">angemeldet</a> sein, um zu kommentieren.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<fieldset>
<textarea name="comment" id="comment" class="commentinput" cols="25" rows="5" tabindex="1"></textarea>
<p><small>Erlaubte Tags: <?php echo allowed_tags(); ?></small></p>
<?php if ( $user_ID ) : ?>
<p>Angemeldet als <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="<?php _e('Log out of this account') ?>">Logout »</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="25" class="comment_name_input" tabindex="2" />
<label for="name">Name <?php if ($req) _e('(required)'); ?></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="25" tabindex="3" />
<label for="email">E-Mail (will not be published<?php if ($req) _e(', notwendig'); ?>)</label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="25" class="comment_web_input" tabindex="4" />
<label for="web">Url</label></p>
<?php endif; ?>
<p><br /><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" class="button" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
</fieldset>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php else : // Comments are closed ?>
<p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
<?php endif; ?>
<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p><?php _e('Enter your password to view comments.'); ?></p>
<?php return; endif; ?>
<?php if ( comments_open() ) : ?>
<h3 class="kommentarhead"><?php comments_number(__('0 Kommentare'), __('1 Kommentar'), __('% Kommentare')); ?></h3>
<?php else : // If there are no comments yet ?>
<?php endif; ?>
<?php if ( $comments ) : ?>
<ol class="comments">
<?php foreach ($comments as $comment) : ?>
<li>
<h4><?php if (function_exists("gravatar")) { ?><img src="<?php gravatar("R", 23); ?>" alt="Gravatar" class="gravatar" /> <?php } ?>
<?php comment_author_link() ?> schrieb am <?php comment_date(); ?>:</h4>
<?php comment_text() ?><?php edit_comment_link(__("bearbeiten"), ' |'); ?>
<?php if ($comment->comment_approved == '0') : ?><br /><p><em>Kommentar muss erst freigegeben werden - bitte Geduld.</em></p><?php endif; ?>
</li>
<?php endforeach; ?>
</ol>
<p><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr>-Feed für Kommentare dieses Beitrags.')); ?></p>
<?php else : // If there are no comments yet ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<h3 id="postcomment"><?php _e('Leave a comment'); ?></h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>Man muss <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">angemeldet</a> sein, um zu kommentieren.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<fieldset>
<textarea name="comment" id="comment" class="commentinput" cols="25" rows="5" tabindex="1"></textarea>
<p><small>Erlaubte Tags: <?php echo allowed_tags(); ?></small></p>
<?php if ( $user_ID ) : ?>
<p>Angemeldet als <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="<?php _e('Log out of this account') ?>">Logout »</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="25" class="comment_name_input" tabindex="2" />
<label for="name">Name <?php if ($req) _e('(required)'); ?></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="25" tabindex="3" />
<label for="email">E-Mail (will not be published<?php if ($req) _e(', notwendig'); ?>)</label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="25" class="comment_web_input" tabindex="4" />
<label for="web">Url</label></p>
<?php endif; ?>
<p><br /><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" class="button" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
</fieldset>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php else : // Comments are closed ?>
<p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
<?php endif; ?>
Alles anzeigen
singel.php kommt sofort
Oje nicht schon wieder, das Theme wurde wohl nur auf Firefox optimiert, mit anderen Browsern läut das Desing Amok :-(
<?php get_header(); ?>
<div id="content" class="widecolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="navigation">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<p class="postmetadata alt">
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You'll need to download this plugin, and follow the instructions:
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
and is filed under <?php the_category(', ') ?>.
You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link('Edit this entry.','',''); ?>
</small>
</p>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>
<?php get_footer(); ?>
Alles anzeigen
Danke für deine schnelle Antwort !
Hallo zusammen!
Bin kein vollkommener DAU, aber folgendes Problem macht mir wirklich zu schaffen :sad:
Um zwar wenn ich einen Beitrag kommentieren möchte, dann wird der Kommentarbereich doppelt ausgegeben und ich komme einfach nicht darauf warum.
Verwende das Theme GR-deutsch Version 1.2
Fehler rekunstrierbar, wenn man auf der Seite einen Beitrag kommentieren will:
http://www.wanderfieber.at
Danke schon mal im Voraus, ein Worpressbegeisteter