Rul

Проблемы с темой Academica

Возникла проблема с темой Academica – http://www.smashingmagazine.com/2010/08/29/academica-free-wordpress-theme-for-educational-websites/.

У меня не отображается слайдер на сайте http://ukrainetripadvisor.com/.

Я залил пару картинок размером 960 на 300:

http://ukrainetripadvisor.com/wp-content/uploads/ukr.jpg
http://ukrainetripadvisor.com/wp-content/uploads/ukraine.jpg

В настройках темы (Homepage Settings) указал пути к картинкам. В строке Enable Slideshow поставил Yes. Сохранился. Но слайдер не отображается.

Если зайти на несуществующую страницу сайта (404), то слайдер виден 😀 Но на обычных страницах его нет.

В папке со скриптами нашел файл error_log со следующим содержимым:

[20-Jan-2011 22:54:10] PHP Warning: usort() [<a href=’function.usort’>function.usort</a>]: The argument should be an array in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 337
[20-Jan-2011 22:54:10] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php:337) in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 503
[20-Jan-2011 22:54:10] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php:337) in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 504
[20-Jan-2011 22:54:10] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php:337) in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 505
[20-Jan-2011 22:54:10] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php:337) in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 506
[20-Jan-2011 22:54:10] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php:337) in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 507
[20-Jan-2011 22:54:10] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php:337) in /home/u3091/public_html/wp-content/themes/academica/scripts/timthumb.php on line 508

Если кто сталкивался с этой темой, подскажите, как отобразить слайдер?

Плагин Comment Referrers

Установил себе плагин Comment Referrers (версия 0.1), активировал. Версия WP – 2.2.3.

В комментариях, которые попадают на модерацию, не отображается строчка Referrer:

Кто-нибудь сталкивался с таким?

Не отображается полностью новость

Немного запутался в коде. Подскажите, где ошибка.

Есть анонс поста на главной странице, перехожу на страницу с новостью, а там пусто 🙁

код single.php

<?php

require('./wp-blog-header.php');
require_once('header.php');

if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

        <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>" class = "title-link"><?php the_title(); ?></a></h1>

<?php wp_link_pages('before=<p>&after=</p>&next_or_number=number&pagelink=страница %'); ?>

        <br clear = "all" />
        <br clear = "all" />

        <p class="postmetadata"><?php edit_post_link(__('Редактировать', 'kubrick'), '', ' | '); ?> </p>
    <?php endwhile; ?>
    </div>
    <br clear = "all" />
    <div id = "content-footer">
    </div>

<?php else : ?>

    <h2 class="center"><?php _e('Объект не найден', 'kubrick'); ?></h2>
    <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

<?php endif; ?>
    
    </div>
    <?php require_once('sidebar.php'); ?>
    </div>    

<?php require_once('footer.php'); ?>

Плагин Stray Random Quotes

Поставил себе плагин для цитат – stray-quotes.1.9.7.
Добавил через настройки цитаты, отметил их, как Visible.

В хелпе написано:

[quote]Can I add quotes directly to the template?

If your template does not use widgets, or you want to display random quotes on your template elsewhere other than the sidebar, you can use template tags.

These are PHP snippets that can be added directly to your template pages (in the header, the footer etc). You can use as many snippets as you need. They accept variables, but these have to be inserted in order. For example, if you want to set only the second variable, you have to set the first one too, but you can skip all those that follow if you don’t need them.

To get one or more random quotes: <?php if (function_exists(‘stray_random_quote’)) stray_random_quote(‘category1,category2′,false,’another quote &raquo;’,false,1,0,’quoteID’,’ASC’, false, ”); ?>[/quote]
я вставил этот код себе в сайдбар, но в итоге цитат не видно 🙁

Кто-нибудь сталкивался с таким?

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