X   Сообщение сайта
(Сообщение закроется через 3 секунды)



 

Здравствуйте, гость (

| Вход | Регистрация )

Открыть тему
Тема закрыта
> Вопрос по wordpress: как удалить Pingback?
globator1
globator1
Topic Starter сообщение 4.1.2012, 21:02; Ответить: globator1
Сообщение #1


Здравствуйте форумчане. Столкнулся с проблемой в wordpress. В конце каждой записи есть Pingback и ссылка на источник. Пробовал всякие плагины, отключал в админке Pingback не помогло. Решил удалить Pingback прямо из темы. Вопрос в том что саме удалять? Вот файл comments.php
<?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form.  The actual display of comments is
* handled by a callback to gab_comment which is
* located in the functions.php file.
*/
?>

<div id="comments">
    <?php if ( post_password_required() ) : ?>
        <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'linepress' ); ?></p>
    </div><!-- #comments -->

    <?php
    /* Stop the rest of comments.php from being processed,
     * but don't kill the script entirely -- we still have
     * to fully load the template.
     */
    return;
    endif;

        // You can start editing here -- including this comment!
    ?>

    <?php if ( have_comments() ) : ?>
        <h3 id="comments-title">
            <?php
            printf( _n( '1 комментарий для "%2$s"', '%1$s комментариев для "%2$s"', get_comments_number(), 'linepress' ),
            number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
            ?>
        </h3>

    <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
        <div class="navigation">
            <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'linepress' ) ); ?></div>
            <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'linepress' ) ); ?></div>
        </div> <!-- /navigation -->
    <?php endif; // check for comment navigation ?>

    <ol class="commentlist">
        <?php
        /* Loop through and list the comments. Tell wp_list_comments()
         * to use gab_comment() to format the comments.
         * If you want to overload this in a child theme then you can
         * define gab_comment() and that will be used instead.
         * See gab_comment() in includes/theme-comments.php
         */
        wp_list_comments( array( 'callback' => 'gab_comment' ) );
        ?>
    </ol>

    <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
        <div class="navigation">
            <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'linepress' ) ); ?></div>
            <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'linepress' ) ); ?></div>
        </div> <!-- /navigation -->
    <?php endif; // check for comment navigation ?>

    <?php else : // or, if we don't have comments:

        /* If there are no comments and comments are closed,
         * let's leave a little note, shall we?
         */
        if ( ! comments_open() ) :
            /* <p class="nocomments"><?php _e( 'Comments are closed.', 'linepress' ); ?></p> */
        endif; // end ! comments_open() ?>

    <?php endif; // end have_comments() ?>

    <?php if (get_option('comment_registration') && !$user_ID) : ?>
        <p>
            <?php _e('You must be logged in to post a comment' , 'linepress'); ?>
            <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">
                <?php _e('Login' , 'linepress'); ?>
            </a>
        </p>
    <?php else : ?>

    <?php comment_form(); ?>

    <?php endif; ?>

</div><!-- #comments -->
-2
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
vawsan
vawsan
сообщение 4.1.2012, 21:51; Ответить: vawsan
Сообщение #2


Я использую плагин No Self Pings, вроде косяков нету....


--------------------
>> Пока что лучшие VPS << Скидка 5%: A258EX0

Даешь 50 руб --> получаешь 92 за пару минут! >Попробуй на ДЕМКЕ<
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
globator1
globator1
Topic Starter сообщение 5.1.2012, 2:02; Ответить: globator1
Сообщение #3


(vawsan @ 4.1.2012, 21:51) *
Я использую плагин No Self Pings, вроде косяков нету....

Не помогло, все равно вилазит Pingback

Кто нибудь поможет ?
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Чеснок
Чеснок
сообщение 5.1.2012, 2:07; Ответить: Чеснок
Сообщение #4


А причём тут комменты? У вас пингбек не в singl.php ?

Замечание модератора:
Эта тема была закрыта автоматически ввиду отсутствия активности в ней на протяжении 100+ дней.
Если Вы считаете ее актуальной и хотите оставить сообщение, то воспользуйтесь кнопкой
или обратитесь к любому из модераторов.


--------------------
Забанен за мошенничество
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Открыть тему
Тема закрыта
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0


Свернуть

> Похожие темы

  Тема Ответов Автор Просмотров Последний ответ
Открытая тема (нет новых ответов) Арбитражники, как ведете учет расходов и доходов?
11 Boymaster 1744 Вчера, 23:35
автор: Boymaster
Горячая тема (нет новых ответов) Как вывести деньги в Украине с заблокированного Юмани ?
29 freeax 4773 Вчера, 1:19
автор: sergio11
Горячая тема (нет новых ответов) Как вы отдыхаете от работы за компом
148 adw-kupon.ru 19679 8.4.2024, 10:37
автор: Skyworker
Открытая тема (нет новых ответов) Нужен кодер, чтобы пофиксить ошибку Wordpress после переноса сайта
0 Alex-777 813 7.4.2024, 18:05
автор: Alex-777
Открытая тема (нет новых ответов) Как вы бросили работу и перешли на заработок с сайтов?
18 uahomka 3087 5.4.2024, 5:53
автор: Skyworker


 



RSS Текстовая версия Сейчас: 18.4.2024, 9:26
Дизайн