رفتن به مطلب

pouria7777

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

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

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

  • روز های برد

    1

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

  1. سلام

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

    البته لوگوی قبلی که بود رو حذف کردم و لوگوی خودم رو با همون نام آپلود کردم و جایگزین قبلی شد.

    ولی تو هدر نمایش داده نمیشه

    علاوه بر اون یه کادر بنر 60*468 هم تو هدر هست که هرکاری کردم نتونستم منبع کدشو تو قالب پیدا کنم

    اگه میشه کمک کنید

    اینم قالب :

    http://s1.picofile.com/file/7831809565/Gooyait.zip.html

    ممنون

  2. از طریق سی پنلت برو persiang/public_html/wp-content/themes/20khabar/functions

    کدشو با نرم افزار ++notepad ذخیره کن و جایگزین کد قبلی کن درست میشه(البته با گزینه encoding utf8 without bom ذخیرش کن)

    100% درست میشه

    download.tuxfamily.org/notepadplus/6.3.2/npp.6.3.2.Installer.exe

  3. فایل استایل پسوند css داره نه php

    اینهمه نظر دادی یک جا درست و حسابی ننوشتی چی می خواهی

    من کجا گفتم استایل پسوند php داره

    اگه نتونستم منظورمو خوب برسونم شرمنده ی همه ی دوستان حرفه ای ام. خب اولین باری بود که داشتم با وردپرس کار میکردم

    اگه اجازه بدید مشکلای دیگمو تو انجمن مطرح کنم...

  4. من آدرس اصلی این قالب که انگلیسی هم هست رو دارم . توی دموی انگلیسیش قسمت نظرات سالمه ولی ترجمه شدش خرابه.

    این دمو میتونه کمکی کنه ؟ مثلا یه جوری کدش رو پیدا کنیم؟

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

    rayagraph.com

  5. آقایون این کد کامنت و استایل :

    هیچ کس نمیتونه کاری کنه ؟

    comment :


    <?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() ) { ?>
    <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'woothemes') ?></p>
    <?php return; } ?>
    <?php $comments_by_type = &separate_comments($comments); ?>
    <!-- You can start editing here. -->
    <div id="comments">
    <?php if ( have_comments() ) : ?>
    <?php if ( ! empty($comments_by_type['comment']) ) : ?>
    <h3><?php comments_number(__('No Responses', 'woothemes'), __('One Response', 'woothemes'), __('% Responses', 'woothemes') );?> <?php _e('to', 'woothemes') ?> “<?php the_title(); ?>”</h3>

    <ol class="commentlist">

    <?php wp_list_comments('avatar_size=70&callback=custom_comment&type=comment'); ?>

    </ol>

    <div class="navigation">
    <div class="fl"><?php previous_comments_link() ?></div>
    <div class="fr"><?php next_comments_link() ?></div>
    <div class="fix"></div>
    </div><!-- /.navigation -->
    <?php endif; ?>

    <?php if ( ! empty($comments_by_type['pings']) ) : ?>

    <h3 id="pings"><?php _e('Trackbacks/Pingbacks', 'woothemes') ?></h3>

    <ol class="pinglist">
    <?php wp_list_comments('type=pings&callback=list_pings'); ?>
    </ol>

    <?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. -->
    <h3 class="nocomments"><?php _e('No comments yet... Be the first to leave a reply!', 'woothemes') ?></h3>
    <?php else : // comments are closed ?>
    <!-- If comments are closed. -->
    <h3 class="nocomments"><?php _e('Comments are closed.', 'woothemes') ?></h3>
    <?php endif; ?>
    <?php endif; ?>
    </div> <!-- /#comments_wrap -->
    <?php if ('open' == $post->comment_status) : ?>
    <div id="respond">
    <h3><?php comment_form_title( __('Leave a Reply', 'woothemes'), __('Leave a Reply to %s', 'woothemes') ); ?></h3>

    <div class="cancel-comment-reply">
    <small><?php cancel_comment_reply_link(); ?></small>
    </div><!-- /.cancel-comment-reply -->
    <?php if ( get_option('comment_registration') && !$user_ID ) : //If registration required & not logged in. ?>
    <p><?php _e('You must be', 'woothemes') ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>" rel="nofollow"><?php _e('logged in', 'woothemes') ?></a> <?php _e('to post a comment.', 'woothemes') ?></p>
    <?php else : //No registration required ?>

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" onsubmit="if (url.value == '<?php _e('Website (optional)', 'woothemes'); ?>') {url.value = '';}">
    <div class="left">
    <?php if ( $user_ID ) : //If user is logged in ?>
    <p><?php _e('Logged in as', 'woothemes') ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(); ?>" title="<?php _e('Log out of this account', 'woothemes') ?>"><?php _e('Logout', 'woothemes') ?> »</a></p>
    <?php else : //If user is not logged in ?>
    <p>
    <input type="text" name="author" class="txt" id="commentauthor" tabindex="1" value="<?php if ( $comment_author ) echo esc_attr($comment_author); else _e('Name (required)', 'woothemes'); ?>" onfocus="if (this.value == '<?php _e('Name (required)', 'woothemes'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Name (required)', 'woothemes'); ?>';}" />
    </p>
    <p>
    <input type="text" name="email" class="txt" id="email" tabindex="2" value="<?php if ( $comment_author_email ) echo esc_attr($comment_author_email); else _e('Email (required)', 'woothemes'); ?>" onfocus="if (this.value == '<?php _e('Email (required)', 'woothemes'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Email (required)', 'woothemes'); ?>';}" />
    </p>
    <p>
    <input type="text" name="url" class="txt" id="url" tabindex="3" value="<?php if ( $comment_author_url ) echo esc_attr($comment_author_url); else _e('Website (optional)', 'woothemes'); ?>" onfocus="if (this.value == '<?php _e('Website (optional)', 'woothemes'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Website (optional)', 'woothemes'); ?>';}" />
    </p>
    <?php endif; // End if logged in ?>

    </div>
    <div class="right">

    <!--<p><strong>XHTML:</strong> <?php _e('You can use these tags', 'woothemes'); ?>: <?php echo allowed_tags(); ?></p>-->
    <p><textarea name="comment" id="comment" rows="10" cols="50" tabindex="4"></textarea></p>
    <input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'woothemes') ?>" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

    <?php comment_id_fields(); ?>
    <?php do_action('comment_form', $post->ID); ?>

    </div>

    </form><!-- /#commentform -->
    <?php endif; // If registration required ?>
    <div class="fix"></div>
    </div><!-- /#respond -->
    <?php endif; // if you delete this the sky will fall on your head ?>

    استایل :


    <?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() ) { ?>
    <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'woothemes') ?></p>
    <?php return; } ?>
    <?php $comments_by_type = &separate_comments($comments); ?>
    <!-- You can start editing here. -->
    <div id="comments">
    <?php if ( have_comments() ) : ?>
    <?php if ( ! empty($comments_by_type['comment']) ) : ?>
    <h3><?php comments_number(__('No Responses', 'woothemes'), __('One Response', 'woothemes'), __('% Responses', 'woothemes') );?> <?php _e('to', 'woothemes') ?> “<?php the_title(); ?>”</h3>

    <ol class="commentlist">

    <?php wp_list_comments('avatar_size=70&callback=custom_comment&type=comment'); ?>

    </ol>

    <div class="navigation">
    <div class="fl"><?php previous_comments_link() ?></div>
    <div class="fr"><?php next_comments_link() ?></div>
    <div class="fix"></div>
    </div><!-- /.navigation -->
    <?php endif; ?>

    <?php if ( ! empty($comments_by_type['pings']) ) : ?>

    <h3 id="pings"><?php _e('Trackbacks/Pingbacks', 'woothemes') ?></h3>

    <ol class="pinglist">
    <?php wp_list_comments('type=pings&callback=list_pings'); ?>
    </ol>

    <?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. -->
    <h3 class="nocomments"><?php _e('No comments yet... Be the first to leave a reply!', 'woothemes') ?></h3>
    <?php else : // comments are closed ?>
    <!-- If comments are closed. -->
    <h3 class="nocomments"><?php _e('Comments are closed.', 'woothemes') ?></h3>
    <?php endif; ?>
    <?php endif; ?>
    </div> <!-- /#comments_wrap -->
    <?php if ('open' == $post->comment_status) : ?>
    <div id="respond">
    <h3><?php comment_form_title( __('Leave a Reply', 'woothemes'), __('Leave a Reply to %s', 'woothemes') ); ?></h3>

    <div class="cancel-comment-reply">
    <small><?php cancel_comment_reply_link(); ?></small>
    </div><!-- /.cancel-comment-reply -->
    <?php if ( get_option('comment_registration') && !$user_ID ) : //If registration required & not logged in. ?>
    <p><?php _e('You must be', 'woothemes') ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>" rel="nofollow"><?php _e('logged in', 'woothemes') ?></a> <?php _e('to post a comment.', 'woothemes') ?></p>
    <?php else : //No registration required ?>

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform" onsubmit="if (url.value == '<?php _e('Website (optional)', 'woothemes'); ?>') {url.value = '';}">
    <div class="left">
    <?php if ( $user_ID ) : //If user is logged in ?>
    <p><?php _e('Logged in as', 'woothemes') ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(); ?>" title="<?php _e('Log out of this account', 'woothemes') ?>"><?php _e('Logout', 'woothemes') ?> »</a></p>
    <?php else : //If user is not logged in ?>
    <p>
    <input type="text" name="author" class="txt" id="commentauthor" tabindex="1" value="<?php if ( $comment_author ) echo esc_attr($comment_author); else _e('Name (required)', 'woothemes'); ?>" onfocus="if (this.value == '<?php _e('Name (required)', 'woothemes'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Name (required)', 'woothemes'); ?>';}" />
    </p>
    <p>
    <input type="text" name="email" class="txt" id="email" tabindex="2" value="<?php if ( $comment_author_email ) echo esc_attr($comment_author_email); else _e('Email (required)', 'woothemes'); ?>" onfocus="if (this.value == '<?php _e('Email (required)', 'woothemes'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Email (required)', 'woothemes'); ?>';}" />
    </p>
    <p>
    <input type="text" name="url" class="txt" id="url" tabindex="3" value="<?php if ( $comment_author_url ) echo esc_attr($comment_author_url); else _e('Website (optional)', 'woothemes'); ?>" onfocus="if (this.value == '<?php _e('Website (optional)', 'woothemes'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Website (optional)', 'woothemes'); ?>';}" />
    </p>
    <?php endif; // End if logged in ?>

    </div>
    <div class="right">

    <!--<p><strong>XHTML:</strong> <?php _e('You can use these tags', 'woothemes'); ?>: <?php echo allowed_tags(); ?></p>-->
    <p><textarea name="comment" id="comment" rows="10" cols="50" tabindex="4"></textarea></p>
    <input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'woothemes') ?>" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

    <?php comment_id_fields(); ?>
    <?php do_action('comment_form', $post->ID); ?>

    </div>

    </form><!-- /#commentform -->
    <?php endif; // If registration required ?>
    <div class="fix"></div>
    </div><!-- /#respond -->
    <?php endif; // if you delete this the sky will fall on your head ?>

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