• Решено oleg27

    (@oleg27)


    Подскажите, как убрать снизу новости все подписи и ссылки на английском языке, что бы совсем ничего не было. Пример тут: http://severshina.ru/?p=202

Просмотр 15 ответов — с 1 по 15 (всего 15)
  • oleg27 какие именно подписи ?

    Автор oleg27

    (@oleg27)

    вот эти(((
    This entry was posted on Среда, Февраль 10th, 2010 at 16:07 and is filed under архив. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed. Edit this entry.

    Comments are closed.

    Это все убирается в файлах темы, либо переводится… Это уже на ваше усмотрение… в данном случае, похоже, что это конкретно single.php и comments.php, но и в остальных надо исправлять…

    oleg27
    Это текст из файлов темы, она англоязычная.
    Потому надо или перевести эту тему, или взять другую тему с русским языком.

    Автор oleg27

    (@oleg27)

    Кто мне с этим может помочь и за сколько?

    я могу помочь за ссылку на свой блог =)

    Автор oleg27

    (@oleg27)

    К сожалению, ни каких лишних ссылок.)))

    эхх,а жаль)) всего-то одну просил)) да ладно… откройте файл вашей темы comments.php и удалите надпись «Comments are closed.» или закомментируйте ее, окружив ее <!— «Comments are closed.» —>
    тоже самое сделайте с файлом single.php только закомментируйте от «This entery was posted» и заканчивая «<?php } edit_post_link(‘Edit this entry.’,»,»); ?>»

    Автор oleg27

    (@oleg27)

    Со вторым не очень понятно.?

    Автор oleg27

    (@oleg27)

    <?php get_header(); ?>

    <table class=»page_t» width=»100%»>

    <tr>
    <td style=»background-image:url(‘<?php bloginfo(‘stylesheet_directory’); ?>/images/left_bg.gif’); width:42px;»><img src=»<?php bloginfo(‘stylesheet_directory’); ?>/images/left.jpg» width=»42″ height=»91″ alt=»» /></td>
    <td class=»content»>
    <div id=»content» class=»widecolumn»>

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

    <div class=»navigation»>
    <div class=»alignleft»><?php previous_post_link(‘« %link’) ?></div>
    <div class=»alignright»><?php next_post_link(‘%link »’) ?></div>
    </div>

    <div class=»post» id=»post-<?php the_ID(); ?>»>
    <h2>» rel=»bookmark» title=»Permanent Link: <?php the_title_attribute(); ?>»><?php the_title(); ?></h2>

    <div class=»entry»>
    <?php the_content(‘<p class=»serif»>Read the rest of this entry »</p>’); ?>

    <?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
    <?php the_tags( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’); ?>

    <p class=»postmetadata alt»>
    <small>
    This entry was posted
    <?php /* This is commented, because it requires a little adjusting sometimes.
    You’ll need to download this plugin, and follow the instructions:
    http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    /* $entry_datetime = abs(strtotime($post->post_date) — (60*120)); echo time_since($entry_datetime); echo ‘ ago’; */ ?>
    on <?php the_time(‘l, F jS, Y’) ?> at <?php the_time() ?>
    and is filed under <?php the_category(‘, ‘) ?>.
    You can follow any responses to this entry through the <?php comments_rss_link(‘RSS 2.0’); ?> feed.

    <?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can leave a response, or » rel=»trackback»>trackback from your own site.

    <?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can » rel=»trackback»>trackback from your own site.

    <?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link(‘Edit this entry.’,»,»); ?>

    </small>
    </p>

    </div>
    </div>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <p>Sorry, no posts matched your criteria.</p>

    <?php endif; ?>

    </div>
    </td>
    <td style=»background-image:url(<?php bloginfo(‘stylesheet_directory’); ?>/images/right_bg.gif); width:12px;»> </td>
    </tr>

    </table>

    <?php get_footer(); ?>

    весь кусок кода от This entery was posted и заканчивая <?php } edit_post_link(‘Edit this entry.’,»,»); ?> заключить в <!— «текст весь» —>

    Автор oleg27

    (@oleg27)

    This entery was posted — что дальше ставить?
    тут что ставить?<?php } edit_post_link(‘Edit this entry.’,»,»);

    Автор oleg27

    (@oleg27)

    И так и так пробовал ни как.(((

    Автор oleg27

    (@oleg27)

    Все окейна сложное дело переписка.)))

    <!— This entery was posted ……… весь текст, ничего не ставить ……… <?php } edit_post_link(‘Edit this entry.’,»,»); —>

Просмотр 15 ответов — с 1 по 15 (всего 15)

Тема «Как убрать снизу в новости подписи на английском,?» закрыта для новых ответов.