Ra-mota
Новичок
Ребенок случайно добрался до компа и что-то сделал в коде single.php блога на вордпресс. Помогите найти ошибку, а то при таком:
<?php get_header(); ?>
<div id="content">
<div id="post-entry">
<?php if (have_posts()) : ?>
<div class="path"><a href="/">Главная</a> / <?php the_category(', '); ?> /</div>
<?php if (have_posts()) : ?>
<?php
while (have_posts()) : the_post();
if(function_exists('increment_views')) { increment_views(get_the_ID()); }
?>
<h2><?php the_title(); ?></h2>
<div class="temi"><span>Темы: <?php the_tags(''); ?></span></div>
<div class="calendar"><?php
//the_time(__('j F Y', 'readdle'));
echo get_month_name(the_date('Y-m-d','','', false));
?></div>
<div class="clear"></div>
<?php the_content(__('', 'redial')); ?>
<div class="clear"></div>
<div class="line_1"></div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php endif;
get_sidebar();
?>
</div>
</div>
</div>
</div>
<div class="bot_line"></div>
</div>
</div>
</div>
</div>
</div>
<?php
get_footer();
?>
<?php
/*
<div id="content">
<div class="column466 txt blog">
<h2></h2>
<div class="note">
<p class="smallest"></p>
<p class="small"><em><?php the_category(', '); ></em></p>
</div>
<div id="previous" class="mtn">
<p class="small"><?php next_posts_link(__('<span>Older</span>', 'readdle')) ></p>
</div>
<div id="next" class="mtn">
<p class="small"><?php previous_posts_link(__('<span>Newer</span>', 'readdle')) ></p>
</div>
<hr />
<div class="comments" id="comments">
</div>
</div>
*/
?>
выдает Parse error: syntax error, unexpected $end in /kunden/295815_66117/webseiten/moda/wp-content/themes/redial/single.php on line 65 при попытке просмотреть запись, все остальное работает нормально.
<?php get_header(); ?>
<div id="content">
<div id="post-entry">
<?php if (have_posts()) : ?>
<div class="path"><a href="/">Главная</a> / <?php the_category(', '); ?> /</div>
<?php if (have_posts()) : ?>
<?php
while (have_posts()) : the_post();
if(function_exists('increment_views')) { increment_views(get_the_ID()); }
?>
<h2><?php the_title(); ?></h2>
<div class="temi"><span>Темы: <?php the_tags(''); ?></span></div>
<div class="calendar"><?php
//the_time(__('j F Y', 'readdle'));
echo get_month_name(the_date('Y-m-d','','', false));
?></div>
<div class="clear"></div>
<?php the_content(__('', 'redial')); ?>
<div class="clear"></div>
<div class="line_1"></div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php endif;
get_sidebar();
?>
</div>
</div>
</div>
</div>
<div class="bot_line"></div>
</div>
</div>
</div>
</div>
</div>
<?php
get_footer();
?>
<?php
/*
<div id="content">
<div class="column466 txt blog">
<h2></h2>
<div class="note">
<p class="smallest"></p>
<p class="small"><em><?php the_category(', '); ></em></p>
</div>
<div id="previous" class="mtn">
<p class="small"><?php next_posts_link(__('<span>Older</span>', 'readdle')) ></p>
</div>
<div id="next" class="mtn">
<p class="small"><?php previous_posts_link(__('<span>Newer</span>', 'readdle')) ></p>
</div>
<hr />
<div class="comments" id="comments">
</div>
</div>
*/
?>
выдает Parse error: syntax error, unexpected $end in /kunden/295815_66117/webseiten/moda/wp-content/themes/redial/single.php on line 65 при попытке просмотреть запись, все остальное работает нормально.
