zyzy

Украли панель

Привет всем. При редактирование записи, страницы была панель с возможностью отключить комменты или трекбеки так вот где она теперь?

Карусель на блоге

Есть плагин Featured Posts with thumbnails Подскажите код чтобы вывести его в теме.

Тема урезает сообщения

Поставил тему, а она отображает сообщения только на половину.
То есть урезает их. Как исправить?
index.php

<?php
get_header(); ?>

    <div id="content">
      <div class="content_block" style="padding-bottom:0px; padding-top:0px">
    <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>
        
           <div class="search_post">
            <div id="post-<?php the_ID(); ?>" class="search_postdata">
                <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><span>(<?php comments_popup_link('Ваш отзыв', '1 отзыв', 'Отзывов: %'); ?>)</span></div>

                    <?php the_excerpt(); ?>
                    <div class="morelink" style="margin-bottom:5px;"><a href="<?php the_permalink() ?>">Read More</a></div>

                <div class="search_postmetadata"><?php the_tags('Метки: ', ', ', '<br />'); ?> Category: <?php the_category(', ') ?> | <?php edit_post_link('Править', '', ' | '); ?></div>
                
           </div>    

        <?php endwhile; ?>

        <?php if (show_posts_nav()) : ?>
        <div class="next_back_nav" style="margin-left:0px; margin-right:0px;">
            <div class="back_nav"><?php next_posts_link('&laquo; Предыдущая страница') ?></div>
            <div class="next_nav"><?php previous_posts_link('Следующая страница &raquo;') ?></div>
            <div style="clear:both"></div>
        </div>
        <?php endif; ?> 

    <?php else : ?>

        <div class="content_heading">Ничего не найдено</div>
        <div class="nocomments" style="font-size:11px"><p>К сожалению, по вашему запросу ничего не найдено.</p></div>
        <?php get_search_form(); ?>

    <?php endif; ?>
      </div>
    </div>

<?php get_sidebar('left'); ?> 
<?php get_sidebar('right'); ?> 
<?php get_footer(); ?>

Сборка

Доброго времени суток. Хочу сделать сборку по свои нужды.
Подскажите как сделать, чтобы при установки блога сразу были включены мои чпу, и некоторые настройки.

Не пускает в админку

Вечер добрый! Возникла следующая проблема. Захожу

http://wertock.ru/wp-admin перекидывает на
http://wertock.ru/wp-login.php?redirect_to=http%3A%2F%2Fwertock.ru%2Fwp-admin%2F&reauth=1

Ввожу логин и пароль, перекидывает просто на wp-login.php Ни ошибок, ни чего. Не пускает в админку и всё.
Проблемы возникли после переноса на другой хостинг. WP 3.0.3. Надеюсь на вашу помощь.

Трабл с шаблоном

Поставил себе шаблон. Он выводит одно сообщение на странице, хотя в админке указано 5. Подскажите как исправить?
Как я понял вот функция вывода.

<?php
            $the_query = new WP_Query('cat=-'. $GLOBALS['ex_feat'] . ',-' . $GLOBALS['ex_vid'] . ',-' . $GLOBALS['ex_aside'] . '&showposts=' . get_option('woo_other_entries') . '&orderby=post_date&order=desc');        
            $wp_query->in_the_loop = true; // Need this for tags to work
            while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;     
          
        ?>

Вот сам index.php

<?php get_header(); ?>

        <?php include(TEMPLATEPATH . '/includes/featured.php'); ?>

        <?php // Get Options
            $main_content = get_option('woo_content');
        ?>

        <div id="centercol">

        <?php
            $the_query = new WP_Query('cat=-'. $GLOBALS['ex_feat'] . ',-' . $GLOBALS['ex_vid'] . ',-' . $GLOBALS['ex_aside'] . '&showposts=' . get_option('woo_other_entries') . '&orderby=post_date&order=desc');        
            $wp_query->in_the_loop = true; // Need this for tags to work
            while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;     
          
        ?>
                        
            <h2><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
            
            <div class="date-comments">
                <p class="fl"><?php the_time('D, M j, Y'); ?></p>    
                <p><span class="fr comments"><?php comments_popup_link(__('0 Коментариев',woothemes), __('1 Коментарий',woothemes), __('% Коментариев',woothemes) ); ?></span></p>
                <?php if (function_exists('tweetmeme')) echo tweetmeme(); ?>
            </div>        
        <script type="text/javascript">socializ(encodeURIComponent('<?php the_permalink() ?>'),encodeURIComponent('<?php the_title(); ?>'))</script>
            <?php if ( get_post_meta($post->ID, 'image', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD -->
                
               <img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, "image", $single = true); ?>&amp;h=75&amp;w=75&amp;zc=1&amp;q=90" alt="<?php the_title(); ?>" class="fl" style="margin-top:5px;" />                
                
            <?php } ?> 
        
            <?php if ( $main_content == "true" ) { the_content('[...]'); } else { the_excerpt(); ?><?php } ?>
            
            <div class="continue-tags">
                <p class="fl"><a title="<?php _e('Permanent Link to',woothemes); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>"><?php _e('Читать дальше...',woothemes); ?></a></p>
                <p><?php the_tags('<span class="fr tags">', ', ', '</span>'); ?></p>
            </div>                    
        
        <?php endwhile; ?>
        
        <div class="headlines">
        
        <?php
            $the_query = new WP_Query('cat=-'. $GLOBALS['ex_feat'] . ',-' . $GLOBALS['ex_vid'] . ',-' . $GLOBALS['ex_aside'] . '&showposts=' . get_option('woo_other_headlines') . '&offset=' . get_option('woo_other_entries') . '&orderby=post_date&order=desc');            
            $wp_query->in_the_loop = true; // Need this for tags to work
            while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;        
        ?>    
        
            <!--<dl>
                <dt><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> &nbsp; <em><?php the_time('D, M j, Y'); ?></em></dt>
                <dd><?php comments_popup_link(__('0 Comments',woothemes), __('1 Comment',woothemes), __('% Comments',woothemes) ); ?></dd>
            </dl>-->
        
        <?php endwhile; ?>
        
        </div><!--/headlines-->
           
        <div class="ar"><a href="<?php echo get_option('woo_archives'); ?>" class="more"><?php _e('Больше статей в архивах',woothemes); ?></a></div>

        </div><!--/centercol-->

<?php get_sidebar(); ?>

<?php get_footer(); ?>

Ограничить доступ

Вот у меня в подвале есть кнопка вход в админ панель. Подскажите как сделать чтобы её видел только админ? Спасибо!

Popularity Contest Widget

Поставил данный виджет _http://wordpress.org/extend/plugins/popularity-contest-widget/ .
Как сделать чтобы отображались только популярные записи,не страницы ?
Версия плагина 1.3b4.

Что это?

Warning: Cannot modify header information – headers already sent by (output started at D:\AppServ\www\on\wp-config.php:1) in D:\AppServ\www\on\wp-includes\pluggable.php on line 694
Выдало при входе в админку.

popularity-contest

При нажатие кнопки Активировать выдаёт

Table 'on.wp_ak_popularity_options' doesn't exist on line: 124

Использую wordpress-2.5.1-rus-powepack-reloaded-v2-lecactus-edition. Помогите кто чем может)

Anonymous
Отправить
Ответ на: