رفتن به مطلب

مشکل قراردادن عکس درادامه مطلب قالب20اسکریپت


javadsd

پست های پیشنهاد شده

باعرض سلام وخسته نباشیدخدمت شمادوستان عزیز

من واسه یه مطلب عکس میزارم بعنوان تصویرشاخص عکسو داخل صفحه اصلی نشون میده اما اخل ادامه مطلب نشون نمیده چ کدی روبایدازداخل ادامه مطلب تغییربدم؟

کد صفحه اصلی

 

<?php get_header(); ?><div class="main container row">   <?php get_sidebar("right"); ?>   <a style="font-size:0px" title="بیست اسکریپت" href="https://go.20script.ir/index.php?url= لینک ها تنها برای اعضای سایت قابل نمایش است.  ">بیست اسکریپت</a>   <div class="contents col">       <?php           get_search_form();           include_once( get_template_directory() . '/middle_ads.php' );           include_once( get_template_directory() . '/forum.php' );       ?>       <?php if( have_posts() ) : while ( have_posts() ) : the_post(); ?>       <article class="post" id="post-<?php the_id(); ?>">           <h2 class="title"><a href="https://go.20script.ir/index.php?url=<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>           <div class="row post-top">               <div class="post-thumb col">                   <?php                   if( has_post_thumbnail() ) :                       $img_url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );                       echo '<img src="' . get_bloginfo('template_url') . '/timthumb.php?src=' .$img_url . '&w=177&h=177" alt="'.get_the_title().'">';                   else :                   ?>                   <img src="<?php bloginfo("template_directory"); ?>/images/no-img.png">                   <?php endif; ?>               </div>               <div class="post-excerpt col">                   <?php the_excerpt(); ?>               </div>           </div>           <div class="post-meta meta-cats">               دسته بندی : <?php the_category(' , '); ?>           </div>           <div class="post-foot-meta row">               <ul class="col hits-date">                       <li class="post-meta hits">بازدید : <?php function_exists("the_views") ? the_views() : null; ?></li>                   <li class="post-meta date"> ارسال : <?php the_time(__('Y/m/j','kubrick')) ?></li>               </ul>               <a class="read-more-link" href="https://go.20script.ir/index.php?url=<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">ادامه مطلب</a>           </div>       </article>       <?php endwhile; else : echo ' مطلبی یافت نشد'; endif; ?>       <nav class="post pagination">           <?php BistScriptPagination(); ?>       </nav>   </div>   <!-- /Contents --><?php get_sidebar("left"); ?>   <!-- www.20script.ir --></div><!-- /Main --><?php get_footer(); ?>

 

 

کدقالب ادامه مطلب

 

<?php get_header(); ?><div class="main container row">   <?php get_sidebar("right"); ?>   <div class="contents col">       <?php           get_search_form();           include_once( get_template_directory() . '/middle_ads.php' );           include_once( get_template_directory() . '/forum.php' );       ?>       <?php           if( have_posts() ) :               while ( have_posts() ) :                   the_post();                   $download = get_post_meta($post->ID, '_download', $single = true);                   $mirror_download = get_post_meta($post->ID, '_mirror_download', $single = true);                   $demo = get_post_meta($post->ID, '_demo', $single = true);                   $vol = get_post_meta($post->ID, '_vol', $single = true);                   $creator = get_post_meta($post->ID, '_creator', $single = true);                   $translator = get_post_meta($post->ID, '_translator', $single = true);                   $source = get_post_meta($post->ID, '_source', $single = true);                   $source_link = get_post_meta($post->ID, '_source_link', $single = true);                   $help = get_post_meta($post->ID, '_help', $single = true);       ?>       <article class="post single-post" id="post-<?php the_id(); ?>">           <div class="post-inner"><h2 class="title"><a href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>                                          <div class="row post-text post-top">                   <?php the_content(__('')); ?>                   <p>   </p>                   <?php if( is_field($download) ) : ?>                   <a class="post_button container download" href="https://go.20script.ir/index.php?url=<?php echo $download; ?>" title="دانلود با لینک مستقیم">دانلود</a>                   <?php endif; if( is_field($mirror_download) ) : ?>                   <a class="post_button container download" href="https://go.20script.ir/index.php?url=<?php echo $mirror_download; ?>" title="دانلود غیر مستقیم">دانلود با لینک غیر مستقیم</a>                   <?php endif; ?>                   <span class="post_button_sep"></span>                   <?php if( is_field($demo) ) : ?>                   <a class="post_button container demo" href="https://go.20script.ir/index.php?url=<?php echo $demo; ?>" title="مشاهده دمو" target="_blank">مشاهده دمو</a>                   <?php endif; if( is_field($vol) ) : ?>                   <div class="post_button container vol">حجم : <?php echo $vol; ?></div>                   <?php endif; ?>                   <span class="post_button_sep"></span>                   <?php if( is_field($creator) ) : ?>                   <div class="post_button container info">سایت سازنده : <a href="https://go.20script.ir/index.php?url= لینک ها تنها برای اعضای سایت قابل نمایش است.   echo $creator; ?>" title=""><?php echo $creator; ?></a></div>                   <?php endif; if( is_field($translator) ) : ?>                   <div class="post_button container info">مترجم : <?php echo $translator; ?></div>                   <?php endif; ?>                   <div class="post_button container info">                       منبع : <a href="https://go.20script.ir/index.php?url=<?php echo is_field($source_link) ? $source_link : bloginfo('url'); ?>" title="<?php echo is_field($source) ? $source : "بیست اسکریپت"; ?>"><?php echo is_field($source) ? $source : "دانلود اسکریپت"; ?></a>                   </div>                   <?php if(is_field($help)) : ?>                   <div class="bist_help container">                       <h3> آموزش استفاده : </h3>                       <?php echo $help; ?>                   </div>                   <?php endif; ?>               </div>               <div class="post-meta meta-cats">                   دسته بندی : <?php the_category(' , '); ?>               </div>               <div class="post-foot-meta row">                   <ul class="col hits-date">                       <li class="post-meta hits">بازدید : <?php function_exists("the_views") ? the_views() : null; ?></li>                       <li class="post-meta date"> ارسال : <?php the_time(__('Y/m/j','kubrick')) ?></li>                   </ul>                   <?php (function_exists(getILikeThis)) ? getILikeThis('get') : NULL; ?>               </div>           </div>           <div class="post_tags">               برچسب ها : <?php the_tags(__(' ','dnld'), __(', ','dnld'), __('<br />','dnld')); ?>           </div>       </article>       <?php endwhile; else : echo ' مطلبی یافت نشد'; endif; ?>       <aside class="post related-posts row">           <h2>مطالب مشابه</h2>           <div class="related_controllers">               <a class="active" href="https://go.20script.ir/index.php?url=&anchor=" title="first slide">1</a>               <a href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=&anchor=" title="second slide">2</a>               <a href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=&anchor=" title="third slide">3</a>               <a href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=&anchor=" title="fourth slide">4</a>           </div>           <div class="jcarousel-skin-tango2 related_slider" id="mycarousel3">               <ul>           <?php               $orig_post = $post;               global $post;               $tags = wp_get_post_tags($post->ID);               if ($tags) {                   $tag_ids = array();                   foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id;                   $args=array(                       'tag__in' => $tag_ids,                       'post__not_in' => array($post->ID),                       'posts_per_page'=>12, // Number of related posts.                       'caller_get_posts'=>1                   );                   $rltd_posts = new wp_query( $args );                   if( $rltd_posts->have_posts() ) {                       while( $rltd_posts->have_posts() ) :                           $rltd_posts->the_post(); ?>                   <li>                       <a href="https://go.20script.ir/index.php?url=<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php $img_url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );                       echo '<img src="' . get_bloginfo('template_url') . '/timthumb.php?src=' .$img_url . '&w=147&h=147" alt="'.get_the_title().'">';; ?></a>                       <a class="title" href="https://go.20script.ir/index.php?url=<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php max_length(get_the_title(), 35); ?></a>                   </li>                   <?php endwhile; } } $post = $orig_post; wp_reset_query(); ?>               </ul>           </div>       </aside>       <div class="post bist_tips">           <h3 class="title">یه لقمه تجربه ، پس بخونید</h3>           <?php echo get_option("tips_text"); ?>       </div>       <?php comments_template(); ?>   </div>   <!-- /Contents --><?php get_sidebar("left"); ?></div><!-- /Main --><a style="font-size:0px" title="بیست اسکریپت" href="https://go.20script.ir/index.php?url= لینک ها تنها برای اعضای سایت قابل نمایش است.  ">بیست اسکریپت</a><?php get_footer(); ?>

 

ممنون میشم راهنمایی کنید

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

 

  • سلام
  • در کدوم قالب بیست اسکریپت این مشکلو دارین ؟
  • از تصاویر شاخق استفاده کنین
  • اینم کد حلقه ی تصاویر شاخص چک کنین
  • <?php the_excerpt(__('Readmore »'));?>


     

  • افزونه هاروهم یه بار غیرفعال کنین

 

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

فکرکنم ورژن2 باشه اینم لینک صفحش لینک ها تنها برای اعضای سایت قابل نمایش است.

این کدو کجای قالب بزارم؟

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

فکرکنم ورژن2 باشه اینم لینک صفحش لینک ها تنها برای اعضای سایت قابل نمایش است.

این کدو کجای قالب بزارم؟

 

 

 

  • شما در ای استایل باید تمامیه پلاگین هارو نصب کنین و تصویر شاخص و بزارین تا مشکلی رخ نده

  • آدرس بزارین

 

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

مهمان
این موضوع برای عدم ارسال قفل گردیده است.
×
×
  • اضافه کردن...