smart1k

Рейтинг
49
Регистрация
13.03.2008

function art_get_post_content() {

global $post;
ob_start();
if(is_single() || is_page()) {
echo art_get_the_content(__('Read the rest of this entry »', THEME_NS));
wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
} elseif(!is_category()) {
echo art_get_the_excerpt(__('Read the rest of this entry &raquo;', THEME_NS),
get_permalink($post->ID),
art_option('metadata.excerpt_words'),
art_option('metadata.excerpt_use_tag_filter') ? explode(',',art_option('metadata.excerpt_allowed_tags')) : null,
art_option('metadata.excerpt_min_remainder'),
art_option('metadata.excerpt_auto'));
}
return ob_get_clean();
}

Для крупного портала нужны руки как минимум из плеч и сервер. Выбор движка зависит от того какую цмс вы лучше знаете. Иначе - программист.

Попробуйте заменить на этот код.

function art_get_post_content() {
global $post;
ob_start();
if(is_single() || is_page()) {
echo art_get_the_content(__('Read the rest of this entry &raquo;', THEME_NS));
wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
} elseif(is_category()) {
echo get_permalink($post->ID),
art_option('metadata.excerpt_words'),
art_option('metadata.excerpt_use_tag_filter') ? explode(',',art_option('metadata.excerpt_allowed_tags')) : null,
art_option('metadata.excerpt_min_remainder'),
art_option('metadata.excerpt_auto'));
} else {
echo art_get_the_excerpt(__('Read the rest of this entry &raquo;', THEME_NS),
get_permalink($post->ID),
art_option('metadata.excerpt_words'),
art_option('metadata.excerpt_use_tag_filter') ? explode(',',art_option('metadata.excerpt_allowed_tags')) : null,
art_option('metadata.excerpt_min_remainder'),
art_option('metadata.excerpt_auto'));
}
return ob_get_clean();
}

Даже может лучше так :

function art_get_post_content() {
global $post;
ob_start();
if(is_single() || is_page()) {
echo art_get_the_content(__('Read the rest of this entry &raquo;', THEME_NS));
wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
} elseif(is_category()) {
echo get_permalink($post->ID);
} else {
echo art_get_the_excerpt(__('Read the rest of this entry &raquo;', THEME_NS),
get_permalink($post->ID),
art_option('metadata.excerpt_words'),
art_option('metadata.excerpt_use_tag_filter') ? explode(',',art_option('metadata.excerpt_allowed_tags')) : null,
art_option('metadata.excerpt_min_remainder'),
art_option('metadata.excerpt_auto'));
}
return ob_get_clean();
}

Вставьте в functions.php

function remove_more_jump_link($link) { 

$offset = strpos($link, '#more-');
if ($offset) {
$end = strpos($link, '"',$offset);
}
if ($end) {
$link = substr_replace($link, '', $offset, $end-$offset);
}
return $link;
}
add_filter('the_content_more_link', 'remove_more_jump_link');

Это генерированная Артистиром тема.

Найдите строчку

if (is_category()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick'));

и замените ее на

if (!is_category()) the_content(__('Read the rest of this entry &raquo;', 'kubrick'));

Спросите тут: http://feedback.yandex.ru/

P.S. Отношение зависит от "качества" гс с точки зрения Я.

siv1987:
Это логотип компаний.
тот что слева

Ну так да. Известная компания занимающаяся продажей лицензионного софта. Я так понимаю "любые напрОвления" ограничиваются клепанием подобных "порталов"...

Есть.

Дать денег тому, кто сделает это за Вас.

Обязательно вставь в футер: "При использовании материалов сайта, ссылка на eandp.ru обязательна!"

Всего: 241