H@3!N 2 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 سلام تاریخ درج پست کنار هر مطلب میاد چطور حذفش کنم ؟ تمام توابع date , time که فکر میکردم هست را پاک کردم ولی اصلا تغییری نمیکنه . نقل قول لینک به ارسال
omid0098i 2536 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 به انجمن وردپرس پارسی خوش اومدید کد اون بخش رو بذارید اینجا (single و index و یا category) 1 نقل قول لینک به ارسال
H@3!N 2 ارسال شده در بهمن 92 مالک گزارش بازنشر ارسال شده در بهمن 92 (ویرایش شده) به انجمن وردپرس پارسی خوش اومدید کد اون بخش رو بذارید اینجا (single و index و یا category)مرسیمن از کنترل Recent Posts برای نمایش پستهام استفاده کردم .Category :<?php get_header(); ?><div class="content-wrap"><div class="content"><?php tie_breadcrumbs() ?><?php $category_id = get_query_var('cat') ; ?><div class="page-head"><h2 class="page-title"><?php printf( __( 'Category Archives: %s', 'tie' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h2><?php if( tie_get_option( 'category_rss' ) ): ?><a class="rss-cat-icon ttip" title="<?php _e( 'Feed Subscription', 'tie' ); ?>" href="<?php echo get_category_feed_link($category_id) ?>"><?php _e( 'Feed Subscription', 'tie' ); ?></a><?php endif; ?><div class="stripe-line"></div><?phpif( tie_get_option( 'category_desc' ) ):$category_description = category_description();if ( ! empty( $category_description ) )echo '<div class="clear"></div><div class="archive-meta">' . $category_description . '</div>';endif;?></div><?php tie_include( 'slider-category' ) ?><?php get_template_part( 'loop', 'category' ); ?><?php if ($wp_query->max_num_pages > 1) tie_pagenavi(); ?></div> <!-- .content --><?php get_sidebar(); ?><?php get_footer(); ?>Single :<?php get_header(); ?><?php tie_setPostViews() ?><div class="content-wrap"><div class="content"><?php tie_breadcrumbs() ?><?php if ( ! have_posts() ) : ?><div id="post-0" class="post not-found post-listing"><h1 class="post-title"><?php _e( 'Not Found', 'tie' ); ?></h1><div class="entry"><p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'tie' ); ?></p><?php get_search_form(); ?></div></div><?php endif; ?><?php while ( have_posts() ) : the_post(); ?><?php $get_meta = get_post_custom($post->ID);if( !empty( $get_meta['tie_review_position'][0] ) ){$review_position = $get_meta['tie_review_position'][0] ;$rv = $tie_reviews_attr;}$post_width = $get_meta["tie_sidebar_pos"][0];if( $post_width == 'full' ){if(tie_get_option( 'columns_num' ) == '2c') $content_width = 955;else $content_width = 1160;}?><?php //Above Post Bannerif( empty( $get_meta["tie_hide_above"][0] ) ){if( !empty( $get_meta["tie_banner_above"][0] ) ) echo '<div class="ads-post">' .htmlspecialchars_decode($get_meta["tie_banner_above"][0]) .'</div>';else tie_banner('banner_above' , '<div class="ads-post">' , '</div>' );}?><article <?php if( !empty( $rv['review'] ) ) echo $rv['review']; post_class('post-listing'); ?>><?php tie_include( 'post-head' ); // Get Post Head template ?><div class="post-inner"><h1 class="name post-title entry-title" itemprop="name"><?php the_title(); ?></h1><?php tie_include( 'post-meta' ); // Get Post Meta template ?><div class="entry"> <?php if( !empty( $review_position ) && ( $review_position == 'top' || $review_position == 'both' ) ) tie_get_review('review-top'); ?> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'tie' ), 'after' => '</div>' ) ); ?> <?php if( !empty( $review_position ) && ( $review_position == 'bottom' || $review_position == 'both' ) ) tie_get_review('review-bottom'); ?> <?php edit_post_link( __( 'Edit', 'tie' ), '<span class="edit-link">', '</span>' ); ?></div><!-- .entry /--><?php the_tags( '<span style="display:none">',' ', '</span>'); ?> <span style="display:none" class="updated"><?php the_time( 'Y-m-d' ); ?></span><div style="display:none" class="vcard author" itemprop="author" itemscope itemtype="http://schema.org/Person"><strong class="fn" itemprop="name"><?php the_author_posts_link(); ?></strong></div><?php tie_include( 'single-post-share' ); // Get Share Button template ?></div><!-- .post-inner --></article><!-- .post-listing --><?php if( tie_get_option( 'post_tags' ) ) the_tags( '<p class="post-tag">'.__( 'Tagged with: ', 'tie' ) ,' ', '</p>'); ?><?php //Below Post Bannerif( empty( $get_meta["tie_hide_below"][0] ) ){if( !empty( $get_meta["tie_banner_below"][0] ) ) echo '<div class="ads-post">' .htmlspecialchars_decode($get_meta["tie_banner_below"][0]) .'</div>';else tie_banner('banner_below' , '<div class="ads-post">' , '</div>' );}?><?php if( tie_get_option( 'post_nav' ) ): ?><div class="post-navigation"><div class="post-previous"><?php previous_post_link( '%link', '<span>'. __( 'Previous:', 'tie' ).'</span> %title' ); ?></div><div class="post-next"><?php next_post_link( '%link', '<span>'. __( 'Next:', 'tie' ).'</span> %title' ); ?></div></div><!-- .post-navigation --><?php endif; ?><?php if( ( tie_get_option( 'post_authorbio' ) && empty( $get_meta["tie_hide_author"][0] ) ) || ( isset( $get_meta["tie_hide_related"][0] ) && $get_meta["tie_hide_author"][0] == 'no' ) ): ?><section id="author-box"><div class="block-head"><h3><?php _e( 'About', 'tie' ) ?> <?php the_author() ?> </h3></div><div class="post-listing"><?php tie_author_box() ?></div></section><!-- #author-box --><?php endif; ?><?php tie_include( 'post-related' ); // Get Related Posts template ?><?php endwhile;?><?php comments_template( '', true ); ?></div><!-- .content --><?php get_sidebar(); ?><?php get_footer(); ?>index:<?php get_header(); ?><?phpif( tie_get_option('on_home') != 'boxes' ): ?><div class="content-wrap"><div class="content"><?phptie_include( 'slider' ); // Get Slider templateget_template_part( 'loop', 'index' );if ($wp_query->max_num_pages > 1) tie_pagenavi();?></div><!-- .content /--><?php get_sidebar(); ?><?phpelse:?><div class="content-wrap"><div class="content"><?phptie_include( 'slider' ); // Get Slider template$cats = get_option( 'tie_home_cats1' ) ;if($cats)foreach ($cats as $cat) tie_get_home_cats($cat);?></div><!-- .content /--><?phpget_sidebar('home1');$cats2 = get_option( 'tie_home_cats2' ) ;if($cats2)foreach ($cats2 as $cat2) tie_get_wide_home_cats($cat2);$cats3 = get_option( 'tie_home_cats3' ) ;if($cats3): ?><div class="content-wrap"><div class="content"><?phpforeach ($cats3 as $cat3) tie_get_home_cats($cat3);?></div><!-- .content /--><?phpget_sidebar('home2');endif; // cat3 if$cats4 = get_option( 'tie_home_cats4' ) ;if($cats4)foreach ($cats4 as $cat4) tie_get_wide_home_cats($cat4);endif;?><?php get_footer(); ?> ویرایش شده بهمن 92 توسط H@3!N نقل قول لینک به ارسال
Parsa 23463 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 لطفا قوانین را بخوانیدتابع نمایش زمان the_time هستالبته اگر از تابع دیگری استفاده نشده باشد 2 نقل قول لینک به ارسال
H@3!N 2 ارسال شده در بهمن 92 مالک گزارش بازنشر ارسال شده در بهمن 92 لطفا قوانین را بخوانیدhttp://forum.wp-pars...انین-کلی-انجمن/تابع نمایش زمان the_time هستالبته اگر از تابع دیگری استفاده نشده باشدبه php , css , html آشنایی دارم و تمام این توابع را دستکاری کردم ولی نشد . این قالب من خیلی پیچیده هست .میخوام قالببم را خودم طراحی کنم و هیچ کدوم از این قالب ها راضیم نمیکنه .کدنویسی را بلدم فقط تا حالا قالب وردپرس طراحی نکردم .به غیر از rapid php برای ویرایش قالب و کدنویسی نرم افزاری که بهتر هست برای این کار چیه ؟ شما از کدوم نرم افزار برای کدنویسی استفاده میکنید ؟ نقل قول لینک به ارسال
Parsa 23463 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 من از DreamWeaver و Brackets استفاده میکنم 1 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .