Support » Fixing WordPress » I cannot open single page

  • I wanted to remove name of author in single page, so I removed it form the code. After that I have no access (blank page) to single page on my blog. I entered again ‘Autor wpisu’ into code, but it doesn’t work.
    I put down the whole code of the single page in my WP. Where ist the mistake?

    <?php get_header(); ?>
    <div id="content">
    	<div id="contentleft">
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<h1><?php the_title(); ?></h1>
    		<div class="date">
    			<?php the_time('F j, Y'); ?> · Autor wpisu:  <?php the_author_posts_link();?> · <?php the_author_posts_link(); ?>Tematyka: <?php the_category(', ') ?> <?php edit_post_link('(Edit)', '', ''); ?>
    		<?php the_content(__('Read more'));?><div style="clear:both;"></div>
    		<?php trackback_rdf(); ?>
    		<div class="postmeta">
    			<p><?php the_tags('') ?> </p>
    		<?php endwhile; else: ?>
    		<p><?php _e('Sorry, no posts matched your criteria.'); </p><?php endif; ?>
    		<?php comments_template(); // Get wp-comments.php template ?>
    <?php include(TEMPLATEPATH."/l_sidebar.php");?>
    <?php include(TEMPLATEPATH."/r_sidebar.php");?>
    <!-- The main column ends  -->
    <?php get_footer(); ?>


    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘I cannot open single page’ is closed to new replies.