رفتن به مطلب

pouria7777

عضو سایت
  • تعداد ارسال‌ها

    255
  • تاریخ عضویت

  • آخرین بازدید

  • روز های برد

    1

نوشته‌ها ارسال شده توسط pouria7777

  1. نه آقا ایمان

    اشتباه برداشت کردین منظور من این نبود که این قالب واسه نظرات زشته

    من یه کدی رو با هدف استفاده برای قسمت نظراتم استفاده کردم که دموش اینجوری بود :

    upcity.ir/images2/50077233050323225693.jpg

    ولی وقتی کدهارو کپی کردم قسمت نظرات سایت من اینجوری شده :

    8pic.ir/images/88475951081102413303.png

    خب این دوتا که اصلا شبیه هم نیستن!

    منظور من اینه که مشکل کار من الان کجاست که این دو تا انقد با هم فرق میکنن؟

    ممنون بابت جوابتون :)

  2. سلام

    ادامه ی تاپیک رو طبق دستور دوستان اوردم اینجا

    ببنیید من کاری که شما گفتید رو کردم ولی قالب کلی نظرات من با اون عکسی که شما گذاشتین زمین تا آسمون فرق داره (خیلی زشته)!!

    http://8pic.ir/image...81102413303.png

    مگه کد رو نباید آخر single فراخوانی کنم؟

    بابا یکی مارو کمک کنه

    افتتاح سایتم خیلی طول کشید :(

  3. سلام عزیزان

    من با قسمت نظرات قالبم مشکل دارم و میخوام تغییرش بدم چون به طرز شدیدی ساده هست ولی نمیدونم چجوری یه خورده شیک ترش کنم

    عکس زیر رو ببینید ... الان اینجوریه ولی میخوام مثل خیلی از سایتها زیباتر بشه

    http://8pic.ir/images/50751009745198783720.jpg

    مثلا اگه افزونه ای کدی چیزی هست لطفا معرفی کنید

    البته افزونه آجاکس رو دارم ولی هیچ چیزی رو به قسمت نظرات اضافه نمیکنه

    حالت کلی این قسمت فقط به

    comment.php

    ربط داره یا به جای دیگه ای هم مربوطه؟؟؟

    وقتی comments.php یه قالب دیگه رو هم کپی میکنه واسه این قالب اینجوری میشه:

    http://8pic.ir/images/43963850277987480844.png

    اینم کد single.php


    <?php get_header(); ?>

    <div id="content" class="col-full">
    <div id="main" class="col-left">

    <?php if (have_posts()) : $count = 0; ?>
    <?php while (have_posts()) : the_post(); $count++; ?>
    <?php $GLOBALS['saved_post'] = $post; // Save author data for sidebar widget ?>
    <div class="box">
    <div class="post">

    <?php
    // Show image or ad content
    if ( get_option('woo_image_single') == "true" && !woo_get_embed('embed','590','420') && get_option('woo_ad_content') <> "true" )
    woo_get_image('image',get_option('woo_single_width'),get_option('woo_single​_height'),'thumbnail alignright');
    elseif ( !woo_get_embed('embed','590','420') && get_option('woo_ad_content') == "true" )
    include ( TEMPLATEPATH . '/ads/content_ad.php' );
    ?>

    <h1 class="title"><?php the_title(); ?></h1>

    <p class="post-meta">
    <img src="<?php bloginfo('template_directory'); ?>/images/ico-time.png" alt="" /><?php the_time(get_option('date_format')); ?>
    <?php $comm = get_option( 'woo_comments' ); if ( ($comm == "post" || $comm == "both") ) { ?>
    <span class="comments"><img src="<?php bloginfo('template_directory'); ?>/images/ico-comment.png" alt="" /><?php comments_popup_link(__('0 Comments', 'woothemes'), __('1 Comment', 'woothemes'), __('% Comments', 'woothemes')); ?></span><?php } ?>
    <?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="edit-post-link">', '</span>' ); ?>
    </p>
    <?php echo woo_get_embed('embed','590','420'); ?>
    <?php if ( woo_get_embed('embed','590','420') && get_option('woo_ad_content') == "true" ) include ( TEMPLATEPATH . '/ads/content_ad.php' ); ?>
    <div class="entry">
    <?php the_content(); ?>
    </div>
    <div class="fix"></div>
    <?php if ( get_option('woo_social') == "true" ) { ?>
    <div id="share">
    <div class="banner"><?php _e('Share', 'woothemes'); ?></div>
    <?php woo_social(); ?>
    </div>
    <?php } ?>


    </div><!-- /.post -->

    <div class="post-bottom">
    <div class="fl"><span class="cat"><?php the_category(', ') ?></span></div>
    <div class="fr"><?php the_tags('<span class="tags">', ', ', '</span>'); ?></div>
    <div class="fix"></div>
    </div>

    </div><!-- /.box -->

    <?php
    if ( is_single() && get_option('woo_disable_post_author') <> "true" ) {
    global $post;
    $author_id=$post->post_author;
    ?>
    <div id="post-author">
    <div class="profile-image"><?php echo get_avatar( $author_id, '80' ); ?></div>
    <div class="profile-content">
    <h4><?php printf( esc_attr__( 'درباره %s', 'woothemes' ), get_the_author_meta( 'display_name', $author_id ) ); ?></h4>
    <?php echo get_the_author_meta( 'description', $author_id ) ?>
    <?php if (is_singular()) : ?>
    <div class="profile-link">
    <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID', $author_id ) ); ?>">
    <?php printf( __( 'مشاهده تمام نوشته های %s <span class="meta-nav">→</span>', 'woothemes' ), get_the_author_meta( 'display_name', $author_id ) ); ?>
    </a>
    </div><!-- #profile-link -->
    <?php endif; ?>
    </div>
    <div class="fix"></div>
    </div><!-- /#post-author -->
    <?php
    }
    ?>
    <div class="more_entries">
    <div class="fl"><?php previous_post_link('%link') ?></div>
    <div class="fr"><?php next_post_link('%link') ?></div>
    <div class="fix"></div>
    </div>

    <?php $comm = get_option( 'woo_comments' ); if ( ($comm == "post" || $comm == "both") ) { ?>
    <?php comments_template( '', true); ?>
    <?php } ?>

    <?php endwhile; else: ?>
    <div class="box">
    <div class="post">
    <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
    </div><!-- /.post -->
    </div>
    <?php endif; ?>

    </div><!-- /#main -->
    <?php get_sidebar(); ?>
    </div><!-- /#content -->

    <?php get_footer(); ?>

×
×
  • اضافه کردن...