Zurück   WordPress Deutschland Forum > Support > Design

Antwort
 
Themen-Optionen Ansicht
Alt 02.09.2005, 17:16   #1 (permalink)
PostRank: 0
 
Registriert seit: 02.09.2005
Beiträge: 14
Navigation - Vorherige Einträge / Nächste Einträge

Hallo,

hab noch einen fehler, der mich leicht zur verzweiflung bringt momentan

http://www.dvdjunkies.de/wordpress/

unten steht nach vorherige Einträge folgendes:

"Project-Id-Version: WordPress 1.5 POT-Creation-Date: 2005-03-06 PO-Revision-Date: 2005-05-27 22:49+0100 Last-Translator: Olaf Language-Team: WordPress.de MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit "

es ist ebenfalls ein link zu den vorherigen Einträgen, allerdings habe ich keine Ahnung, wo der herkommt

Hier ist meine index.php wenn ich mich nicht irre, müsste es da hinterlegt sein:

Code:
<?php get_header(); ?>

	<?php if (have_posts()) : ?>
		
		<?php while (have_posts()) : the_post(); ?>
		
		<div class="post">

			<?php setlocale (LC_ALL, 'de_DE'); the_date('l, d.m.y', '<h1 class="storydate">', '</h1>'); ?> 
			

<h2 id="post-<?php the_ID(); ?>" class="storytitle"> <?php the_title(); ?>"><?php the_title(); ?></h2>
			<p class="meta"><?php _e('Abgelegt unter'); ?> <?php the_category(', ') ?> <?php _e('um'); ?> <?php the_time(); ?> <?php _e('von'); ?> <?php the_author(); ?></p>
		
			<?php if (is_search()) { ?>
				<?php the_excerpt() ?>
			<?php } else { ?>
				<?php the_content(__('Read the rest of this entry &raquo;')); ?>
			<?php } ?>

			<p class="feedback">
			<?php comments_popup_link(__('Kommentare'), __('1 Kommentar'), __('% Kommentare'), 'commentslink', __('Comments off')); ?>
			<?php edit_post_link(__('Edit'), ' · ', ''); ?>
			</p>
			
			<!--
			<?php trackback_rdf(); ?>
			-->

			</div>
	
		<?php endwhile; ?>

		


			<?php posts_nav_link('', __(''), __('&laquo; vorherige Einträge')); ?>
			<?php posts_nav_link('', __('nächste Einträge &raquo;'), __('')); ?>
		</p>
		
	<?php else : ?>

		<h2><?php _e('Nicht gefunden'); ?></h2>

		

<?php _e('Sorry, but no posts matched your criteria.'); ?></p>
		
		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

	<?php endif; ?>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
"



diese beiden dürften wohl die entscheidenen zeilen sein, wenn ich mich nicht irre ?!

Code:
<?php posts_nav_link('', __(''), __('&laquo; vorherige Einträge')); ?>
			<?php posts_nav_link('', __('nächste Einträge &raquo;'), __('')); ?>

Geändert von Olaf (22.11.2005 um 01:17 Uhr).
SeriaL_KilleR ist offline   Mit Zitat antworten
Alt 02.09.2005, 18:57   #2 (permalink)
PostRank: 0
 
Registriert seit: 26.08.2005
Beiträge: 16
Re: Navigation - Vorherige Einträge / Nächste Einträge

Zitat:
Zitat von SeriaL_KilleR
diese beiden dürften wohl die entscheidenen zeilen sein, wenn ich mich nicht irre ?!

"<?php posts_nav_link('', __(''), __('&laquo; vorherige Einträge')); ?>
<?php posts_nav_link('', __('nächste Einträge &raquo;'), __('')); ?>"
das ist richtig...
evtl. liegt hier auch schon der fehler, denn posts_nav_link() macht schon einen zurück und vor link

versuch mal die zielen mit
Code:
<?php posts_nav_link(' ', __('nächste Einträge &raquo;'), __('&laquo; vorherige Einträge')); ?>
zu ersetzen..
Wenn das nix bringt versuch folgendes:
Code:
<?php previous_post(' &laquo; %', '', 'yes'); ?> <?php next_post('% &raquo; ', '', 'yes'); ?>
robs@6grad ist offline   Mit Zitat antworten
Alt 02.09.2005, 19:05   #3 (permalink)
PostRank: 0
 
Registriert seit: 02.09.2005
Beiträge: 14
Wow

ich danke dir

die erste Variante funktioniert bestens
SeriaL_KilleR ist offline   Mit Zitat antworten
Alt 02.09.2005, 19:17   #4 (permalink)
PostRank: 0
 
Registriert seit: 26.08.2005
Beiträge: 16
freut mich das ich dir helfen konnte
robs@6grad ist offline   Mit Zitat antworten
Alt 06.02.2006, 17:18   #5 (permalink)
PostRank: 2
 
Benutzerbild von Angelcurse
 
Registriert seit: 03.02.2006
Ort: Berlin
Beiträge: 91
Thx, hat mir auch geholfen
Angelcurse ist offline   Mit Zitat antworten
Alt 27.07.2007, 02:03   #6 (permalink)
PostRank: 0
 
Registriert seit: 25.07.2007
Beiträge: 14
bei mir geht's leider nich...

http://www.alexanderschindel.com/blog
noch imaufbau alles...

meine index.php
Zitat:
<?php
get_header();
?>
<?php get_sidebar(); ?>
<div id="content">
<?php //include("wp-content/adsense.txt");?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry">
<h3 class="entrytitle" id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a> <span id="commentlink"><?php comments_popup_link('0','1','%'); ?></span></h3>
<div class="entrymeta">
Posted <?php
the_time('F j, Y ');
$comments_img_link= '<img src="' . get_stylesheet_directory_uri() . '/images/comments.gif" title="comments" alt="*" />';
if (function_exists('enp_edit_link')) { enp_edit_link(__(' Edit This')); }
else { edit_post_link(__('Edit This')); } ?>
</div>
<div class="entrybody">
<?php the_content(__('Read more &raquo;'));?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<p>
<?php posts_nav_link(' ', __('nächste Einträge &raquo;'), __('&laquo; vorherige Einträge')); ?>
</p>
</div>
<?php get_footer(); ?>
habt ihr ne erklärung?

vielen dank schonmal!




lg, alex.
avantxgarde ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist aus.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Neue Seite bei Theme Blix ohne Navigation anlegen ültje Konfiguration 20 06.12.2005 23:40
Einträge unabhängig von der startseite Swoop Konfiguration 1 25.09.2005 13:24
Horizontale Navigation Bix Konfiguration 0 29.08.2005 19:59
Nur Einträge einer bestimmten Kategorie anzeigen Livia Allgemeines 3 05.08.2005 08:26
index.php als Link in Pages Navigation ilnowa Allgemeines 15 25.03.2005 10:41


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:43 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 | Impressum | Ein Inpsyde.com Projekt