Помощник
|
Как убрать материал с главной на WP |
MusTank |
16.2.2012, 14:23;
Ответить: MusTank
Сообщение
#12
|
|
|
вот файл index.php Развернуть/Свернуть
<?php get_header(); ?>
<div id="content"> <?php $options = get_option('themezee_options'); if(is_home() and isset($options['themeZee_show_slider']) and $options['themeZee_show_slider'] == 'true') { locate_template('/slide.php', true); } ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post_date"> <span class="post_day"><a href="<?php the_permalink(); ?>"><?php the_time('d'); ?></a></span> <span class="post_year"><?php the_time('M Y'); ?> </span> </div> <div class="postmeta"> <?php the_category(' • ') ?> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div class="clear"></div> <div class="entry"> <?php the_post_thumbnail('thumbnail', array('class' => 'alignleft')); ?> <?php the_content('<span class="moretext">' . __('Далее', 'themezee_lang') . '</span>'); ?> <div class="clear"></div> <?php wp_link_pages(); ?> </div> <div class="postinfo"> <?php the_author(); ?> | <a href="<?php the_permalink() ?>#comments"><?php comments_number(__('Ваш отзыв', 'themezee_lang'),__('Один отзыв','themezee_lang'),__('Отзывов (%)','themezee_lang')); ?></a> <?php if (get_the_tags()) echo ' | '; the_tags(__('Метки: ', 'themezee_lang'), ', '); ?> <?php edit_post_link(__( 'Править', 'themezee_lang' ), ' | '); ?> </div> </div> <?php endwhile; ?> <?php if(function_exists('wp_pagenavi')) { // if PageNavi is activated ?> <div class="more_posts"> <?php wp_pagenavi(); ?> </div> <?php } else { // Otherwise, use traditional Navigation ?> <div class="more_posts"> <span class="post_links"><?php next_posts_link(__('« Предыдущая страница', 'themezee_lang')) ?> <?php previous_posts_link (__('Следующая страница »', 'themezee_lang')) ?></span> </div> <?php }?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> а как то можно просто удалить код из index.php и вставить свой текст? кинь url в лс.
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Арбитражники, как ведете учет расходов и доходов? | 12 | Boymaster | 1920 | Вчера, 21:03 автор: MisterBit |
|
Как вывести деньги в Украине с заблокированного Юмани ? | 29 | freeax | 4814 | 17.4.2024, 1:19 автор: sergio11 |
|
Как вы отдыхаете от работы за компом | 148 | adw-kupon.ru | 19712 | 8.4.2024, 10:37 автор: Skyworker |
|
Как вы бросили работу и перешли на заработок с сайтов? | 18 | uahomka | 3104 | 5.4.2024, 5:53 автор: Skyworker |
|
Как бездомные хранят деньги? | 81 | metvekot | 13657 | 31.3.2024, 12:44 автор: Boymaster |
Текстовая версия | Сейчас: 20.4.2024, 3:26 |