ali5866 0 ارسال شده در بهمن 93 گزارش بازنشر ارسال شده در بهمن 93 (ویرایش شده) سلامداخل قالب تصاویر شاخص نمایش داده نمیشه قالب blogchiبرای موضوع ها تصویر شاخص تعیین کردم و لی نمایش نمیدهمشکل از چی میتونه باشه ؟ادرس وب barato.ir ویرایش شده بهمن 93 توسط ali5866 نقل قول لینک به ارسال
ali5866 0 ارسال شده در بهمن 93 مالک گزارش بازنشر ارسال شده در بهمن 93 یکی نبود جواب بده ؟ نقل قول لینک به ارسال
-Ali- 57 ارسال شده در بهمن 93 گزارش بازنشر ارسال شده در بهمن 93 سلامهمه عکس ها به http://barato.ir/wp-content/themes/blogchi/images/no-thumb.png لینک شدنددو حالت داره یا تصویر شاخص تعیین نشده یا کد فراخوانیش مشکل داره که شما فرمودی تصویر شاخص دارهتا جایی که من دیدم سایدباره شما ابزارک نیستاگر اینطوره برو تو Sidebar.php و کد هاشو قرار بده اینجا 1 نقل قول لینک به ارسال
ali5866 0 ارسال شده در بهمن 93 مالک گزارش بازنشر ارسال شده در بهمن 93 قالب Sidebar.php اصلا وجود نداره من خودم چون احتمال میدم مشکل از single.php باشه کدهاشو قرار میدم ببینید مشکلی نداره <?php$thumb = get_post_thumbnail_id();$img_url = wp_get_attachment_url( $thumb,'full');$image = aq_resize( $img_url, 150, 150, true );if($image == ''){$image = get_bloginfo('template_url') .'/images/no-thumb.png';}<?php get_header();?><div id="main"><section class="main-content"><?php if ( get_option('b_pm') ) {?><div class="admin-pm"><?php echo get_option('b_pm') ?></div><?php }?><?php if ( get_option('b_ads1e') ) {?><div class="ads-box"><?php echo $opname = str_replace(array('\"',"\'"),array('"',"'"),get_option("b_ads1")) ; ?></div><?php }?><div class="clear"></div><?php theme_breadcrumbs() ?><!-- posts --><?php if(have_posts()) : ?> <?php while(have_posts()) : the_post(); ?><article class="entry-body" id="post-<?php the_ID(); ?>"><header><div class="post-head"><?php if ( get_option('b_avatar') ) {?><div class="author-avatar"><?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'MFW_author_bio_avatar_size', 70 ) ); ?></div><?php }?><h2 class="post-title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2><ul class="post-meta"><li><i class="font-icon-time"></i><?php the_time('l ، j F ') ?></li><li><i class="font-icon-eye"></i><?php if(function_exists('the_views')) { the_views(); } ?></li><li><i class="font-icon-user"></i><?php the_author(); ?></li><li><i class="font-icon-comments"></i><?php comments_number('0','1','%'); ?> دیدگاه</li></ul></div></header><div class="post-content"><?php the_content( 'ادامه ی مطلب' ,$more_link_text , $strip_teaser ); ?></div><footer><div id="zamine"> <ul> <li class="download"><a href="<?php echo get_post_meta($post->ID, 'link',true); ?>" target="_blank">دانلود با لینک مستقیم</a> </li> <li class="Hajm"> حجم : <?php echo get_post_meta($post->ID, 'size',true); ?> </li> <li class="pass"> پسورد : www.barato.ir </li> <li class="manba"> منبع : <a href="http://barato.ir" target="_blank">برا تو</a> </li></ul></div>موضوع : <?php the_category(' , ') ?><p>برچسب ها : <?php the_tags(' ' ,' , ' ,''); ?></p></footer></article><?php endwhile; endif; ?><?php if ( get_option('b_ads2e') ) {?><div class="ads-box"><?php echo $opname = str_replace(array('\"',"\'"),array('"',"'"),get_option("b_ads2")) ; ?></div><?php }?><div class="clear"></div><section class="post-info"><section class="related"><ul><?php$related = get_posts( array( 'category__in' => wp_get_post_categories($post->ID), 'numberposts' => 3, 'post__not_in' => array($post->ID) ) );if( $related ) foreach( $related as $post ) {setup_postdata($post); ?><li><div class="related-posts"><div class="post-thumb"><?php$thumb = get_post_thumbnail_id();$img_url = wp_get_attachment_url( $thumb,'full');$image = aq_resize( $img_url, 150, 150, true );if($image == ''){$image = get_bloginfo('template_url') .'/images/no-thumb.png';}?><a href="<?php the_permalink(); ?>" title="<?php the_title();?>" rel="bookmark"><img width="150" height="150" title="<?php the_title(); ?>" alt="<?php the_title(); ?>" src="<?php echo $image ?>"/></a></div><h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3></div></li><?php }wp_reset_postdata(); ?></ul></section><?php if ( get_option('b_abox') ) {?><div id="author-box"><div class="item-list"><?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'MFW_author_bio_avatar_size', 60 ) ); ?></div><!-- #author-avatar --><div class="author-description"><?php the_author_meta( 'description' ); ?></div><!-- #author-description --></div><?php }?><?php comments_template('', true);?></section><!-- //posts --></section><!-- sidebar --><div class="sidebar"><?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(rightsidebar) ) : else : ?><?php endif; ?></div><!-- //sidebar --></div><?php get_footer();?></body></html> نقل قول لینک به ارسال
M.Javad 684 ارسال شده در بهمن 93 گزارش بازنشر ارسال شده در بهمن 93 برای تصویر شاخص میتونید از کد زیر استفاده کنید<img src="<?php $url= wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); echo $url; ?>" width="" height="" alt="" title="" /> 1 نقل قول لینک به ارسال
ali5866 0 ارسال شده در بهمن 93 مالک گزارش بازنشر ارسال شده در بهمن 93 کد رو کجا وارد کنم کدوم قسمت قالب ؟ نقل قول لینک به ارسال
-Ali- 57 ارسال شده در بهمن 93 گزارش بازنشر ارسال شده در بهمن 93 جای این کد :<?php$thumb = get_post_thumbnail_id();$img_url = wp_get_attachment_url( $thumb,'full');$image = aq_resize( $img_url, 150, 150, true );if($image == ''){$image = get_bloginfo('template_url') .'/images/no-thumb.png';}قرار بدید :<img src="<?php $url= wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); echo $url; ?>" width="150" height="150" alt="" title="" /> 1 نقل قول لینک به ارسال
ali5866 0 ارسال شده در بهمن 93 مالک گزارش بازنشر ارسال شده در بهمن 93 تشکر از همگی درست شد نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .