majids 27 ارسال شده در آبان 93 گزارش بازنشر ارسال شده در آبان 93 سلام دوستان.تو یه قالب انگلیسی کلید Read More رو هرکاری میکنم و هرچی میگردم پیداش نمیکنم فارسیش کنم.فایل زبان هم فارسی داره. اما باز فارسی رو نشون نمیده.آدرس:http://www.x33.irممنون میشم اساتید راهنمایی کنند.اینم کدهای صفحه اصلی:<?php global $theme; if (have_posts()) : while (have_posts()) : the_post();?> <div class="post-wrap"> <div <?php post_class('post clearfix'); ?> id="post-<?php the_ID(); ?>"><center> <h2 class="title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2></center> <?php if(has_post_thumbnail()) { ?><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail( array($theme->get_option('featured_image_width'), $theme->get_option('featured_image_height')), array("class" => $theme->get_option('featured_image_position') . " featured_image") );?></a><?php } ?> <div class="entry"> <?php the_content(''); ?> </div> <div class="readmore-wrap"> <a class="readmore" href="<?php the_permalink(); ?>#more-<?php the_ID(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php $theme->option('read_more'); ?></a> </div> </div><center><div class="bgcat"> <div class="postmeta-primary"> <span class="meta_date"><?php the_time($theme->get_option('dateformat')); ?></span> دسته : <?php the_category(', ') ?> </div> </div></center> </div><!-- Post ID <?php the_ID(); ?> --> <?php endwhile; ?> <?php else : ?> <div class="post-wrap"> <div class="post"> <div class="entry"> <p><?php _e('No results were found for the requested archive.','themater'); ?></p> </div> <div id="search-wrap"> <?php get_search_form(); ?> </div> </div> </div><?php endif; ?><?php if ( $wp_query->max_num_pages > 1 ) { ?> <div class="navigation clearfix"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?><div class="alignleft"><?php next_posts_link( __( '<span>«</span> Older posts', 'themater' ) );?></div> <div class="alignright"><?php previous_posts_link( __( 'Newer posts <span>»</span>', 'themater' ) );?></div><?php } ?> </div><!-- .navigation --><?php } ?> نقل قول لینک به ارسال
amirali.bk 656 ارسال شده در آبان 93 گزارش بازنشر ارسال شده در آبان 93 سلامببینید دقیقا تو فایله زبان قرار داره و شما ندیدتو همین کدی که قرار دادید من پیداش کردم <div class="readmore-wrap"> <a class="readmore" href="<?php the_permalink(); ?>#more-<?php the_ID(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php $theme->option('read_more'); ?></a> </div>میتونید از همینجا هم تغییرش بدید .. معلومه 2 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .