index.php
Код |
---|
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post();?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Смотреть <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postdata"><span class="category"><?php the_category(', ') ?></span> <span class="comments"><?php comments_popup_link('0 отзывов »', '1 отзыв »', '% отзыва(-ов) »'); ?></span></div>
</div>
<div class="entry">
<?php the_content('Читать полностью »'); ?>
<p class="submeta">автор: <strong><?php the_author(); ?></strong>
<?php
if(function_exists("the_tags"))
the_tags('\\\\ метки: ', ', ', '<br />');
?>
</p>
</div><!--/entry -->
</div><!--/post -->
<?php endwhile; ?>
<div class="page-nav"> <span class="previous-entries"><?php next_posts_link('Назад') ?></span> <span class="next-entries"><?php previous_posts_link('Далее') ?></span></div><!-- /page nav -->
<?php else : ?>
<h2>Не найдено!</h2>
<p>Извините, но ничего не найдено.</p>
<?php endif; ?>
</div><!--/content -->
<?php get_footer(); ?>
</div><!--/left-col -->
<?php
$current_page = $post->ID; // Hack to prevent the no sidebar error
include_once("sidebar-right.php");
?>
<?php get_footer(); ?> |
to
BugFix смотрел в настройках загрузки картинки. Там, ссылка на расположение картинки.
Цитата |
---|
смотрите в настройках в медиа библиотеке, когда загружаете файл есть пункт про ссылку - на пост, на картинку, без ссылки. |
Подскажите, не нашел такое