Wenn ich seitenzahlen klicke, werde ich immer auf das index hingeführt.
>hier die komplette index.php datei..
PHP
<?php get_header(); ?>
<div id="content-wrap2">
<div id="pane">
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
<div style="height:15px;"></div>
<form style=" padding: 0px; margin-top: 0px; margin-bottom: 0px;" id="searchform" method="get" action="<?php bloginfo('url'); ?>">
<p style="padding: 0px; margin-top: 0px; margin-bottom: 0px;"><input type="text" id="st-txt" name="s" id="search" size="15" />
<input id="st-ok" name="submit" type="submit" tabindex="5" value="<?php _e('GO'); ?>" /></p>
</form><br><br>
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
<li>
<h2>
Identification
</h2>
<form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post">
<div>
<label>
<input class="textinput" type="text" onclick="value=''" name="log" id="log" value="Username" size="20" tabindex="7" />
</label>
<label>
<input class="textinput" type="password" onclick="value=''" name="pwd" id="pwd" value="Password" size="20" tabindex="8" />
</label>
<label>
<input type="submit" class="button" name="submit" value="" tabindex="10" />
</label>
<label style="display:none;">
<input type="checkbox" name="rememberme" value="forever" tabindex="9" />
</label>
<br>Don't have an account? <a href="<?php echo get_settings('siteurl'); ?>/wp-register.php">Register</a>
<br><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php echo $thepasslostfound; ?>" rel="nofollow"><?php echo $thelostpass; ?>Passwort vergessen?
</a>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
</div>
</form>
</li>
<?php
else:
?>
<li>
<h2>Logged in as <?php echo $user_identity; ?></h2>
<ul>
<li><a href="<?php bloginfo('url') ?>/wp-admin/">Dashboard</a></li>
<?php if ( $user_level >= 1 ) : ?>
<li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">Write an article</a></li>
<?php endif // $user_level >= 1 ?>
<li><a href="<?php bloginfo('url') ?>/wp-admin/profile.php">Profile and personal options</a></li>
<li><a href="<?php echo wp_logout_url(); ?><?php echo '&redirect_to='.$_SERVER['REQUEST_URI']; ?>">Logout</a></li>
</ul>
<?php
endif;
?>
<h2>
Webmiss
</h2>
<center><img src="http://i53.tinypic.com/a3gw41.jpg" border="0" ></center>
<h2>.</h2>
<p>
<div id="twitter_div">
<img src="http://i27.tinypic.com/x37cdz.jpg" />
<ul id="twitter_update_list"></ul>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/shelamorgan.json?callback=twitterCallback2&count=7"></script>
<p>
</div>
<div id="content">
<div id="fContent">
<div>
<!--Please see documentation to change category excluder-->
<?php query_posts('cat-=-3,-4'); ?>
<!--Edit editing-->
<?php while (have_posts()) : the_post(); ?>
<h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute() ?>">
<?php
$altitle = (get_post_meta($post->ID, "custom_title", true));
if($altitle !="") echo $altitle;
else the_title_attribute() ?></h2>
<div class="post-info">
<?php the_time("jS F, Y") ?> | <span class="post-comments"><a href="http://web.shelamorgan.de/official_eng/?p=937&preview=1&template=genesis&stylesheet=genesis#respond" rel="nofollow">Leave a Comment</a></span> <?php edit_post_link(); ?>
</div><p>
<div style="clear: both"></div>
<?php the_content(); ?>
<?php endwhile; ?><p>
</div>
<?php query_posts('cat=-139'); // ausschließen einer Kategorie ?>
</div>
</div>
</div>
<div style="clear: both"></div>
<div id="whitespace"></div>
<div style="clear: both"></div>
<div id="feed"><span class="icon">Get updates as often as we post! Subscribe to our <a href="<?php bloginfo('url'); ?>/feed">full feed</a> or <a href="<?php bloginfo('url'); ?>/comments/feed">comments feed</a>.</span></div>
<?php get_footer(); ?>
Alles anzeigen