Nie otwiera się single page na blogu
-
Chciałam usunąć autora wpisu na blogu. W tym celu usunęłam wyrazy 'autor wpisu’ w single page. Teraz po kliknięciu poszczególnych stron na blogu ukazuje mi się blank page. Dodam, że przywróciłam do kodu wyrazy 'autor wpisu’, ale dalej nie działa. Co robić? Gdzie popełniłam błąd?
Podaję poniżej kod do single page:
<?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)', '', ''); ?> </div> <?php the_content(__('Read more'));?><div style="clear:both;"></div> <!-- <?php trackback_rdf(); ?> --> <div class="postmeta"> <p><?php the_tags('') ?> </p> </div> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); </p><?php endif; ?> <h3>Komentarze</h3> <?php comments_template(); // Get wp-comments.php template ?> </div> <?php include(TEMPLATEPATH."/l_sidebar.php");?> <?php include(TEMPLATEPATH."/r_sidebar.php");?> </div> <!-- The main column ends --> <?php get_footer(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- Temat ‘Nie otwiera się single page na blogu’ jest zamknięty na nowe odpowiedzi.