• reacties die ik heb goedgekeurd worden niet zichtbaar op mijn site. Waarschijnlijk staat er iets fout in de broncodes. Ik heb zelf daar een beetje lopen knutselen i.v.m. Engelse termen vertalen in het Nederlands. Wie kan mij helpen om de reacties wel zichtbaar te krijgen op mijn site?

    Zie hieronder stylesheet:

    <?php /* Comments Template */
    if (!empty($_SERVER[‘SCRIPT_FILENAME’]) && ‘reacties.php’ == basename($_SERVER[‘SCRIPT_FILENAME’]))
    die (‘Please do not load this page directly. Thanks!’);
    if (post_password_required()) { ?>
    <p class=”no-comments”><?php echo __(‘This post is password protected. Enter the password to view comments.’, ‘mh’); ?></p><?php
    return;
    }
    $comments_by_type = separate_comments($comments);
    if (have_comments()) {
    if (!empty($comments_by_type[‘reacties’])) {
    $comment_count = count($comments_by_type[‘reacties’]);
    ($comment_count !== 1) ? $comment_text = __(‘reacties’, ‘mh’) : $comment_text = __(‘reacties’, ‘mh’); ?>
    <h4 class=”section-title”><?php echo $comment_count . ‘ ‘ . $comment_text . __(‘ on ‘, ‘mh’) . get_the_title(); ?></h4>
    <ol class=”commentlist”>
    <?php echo wp_list_comments(‘callback=mh_comments&type=comment’); ?>
    <?php
    }
    if (get_comments_number() > get_option(‘Reacties per pagina’)) { ?>
    <div class=”comments-pagination”>
    <?php paginate_comments_links(array(‘prev_text’ => __(‘«’, ‘mh’), ‘Volgend artikel’ => __(‘»’, ‘mh’))); ?>
    </div><?php
    }
    if (!empty($comments_by_type[‘pings’])) {
    $pings = $comments_by_type[‘pings’];
    $ping_count = count($comments_by_type[‘pings’]); ?>
    <h4 class=”section-title”><?php echo $ping_count . ‘ ‘ . __(‘Trackbacks & Pingbacks’, ‘mh’); ?></h4>
    <ol class=”pinglist”>
    <?php foreach ($pings as $ping) { ?>
    <li class=”pings”><?php echo get_comment_author_link($ping); ?>
    <?php } ?>
    <?php
    }
    if (!comments_open()) { ?>
    <p class=”no-comments”><?php _e(‘Reacties gesloten.’, ‘mh’); ?></p><?php
    }
    }
    if (comments_open()) {
    $custom_args = array(
    ’title_reply’ => __(‘Plaats reactie’, ‘mh’),
    ‘comment_notes_before’ => ‘<p class=”comment-notes”>’ . __(‘Jouw e-mailadres blijft verborgen.’, ‘mh’) . ‘</p>’,
    ‘comment_notes_after’ => ”,
    ‘Ruimte voor reactie’ => ‘<p class=”comment-form-comment”><label for=”comment”>’ . __(‘reactie’, ‘mh’) . ‘</label>
    <textarea id=”comment” name=”comment” cols=”45″ rows=”5″ aria-required=”true”></textarea></p>’);
    comment_form($custom_args);
    }
    ?>

1 reactie aan het bekijken (van in totaal 1)
1 reactie aan het bekijken (van in totaal 1)
  • Het onderwerp ‘Reacties niet zichtbaar’ is gesloten voor nieuwe reacties.