안녕하세요 여러분, 저는 자동차 리뷰를 만들고 있습니다. 나는 위대한 프로그래머가 아니므로 php 코드에 문제가 있습니다. 사실이 페이지 Memes 나는 소셜 플러그인을 각 그림 아래에 놓고 싶습니다. 그리고 맨 위에는 게시 날짜와 게시물 작성자를 표시하고 싶습니다. 사진 크기 등을위한 일부 형식은 너무 좋습니다. 아래는 내가 마지막 검토 부분에 대해 내가 좋아하는 Autotest/review을 뭔가를하고 싶은 워드 프레스 용 PHP 코드
<?php /*
Template Name: ListPostsInCategoryThatHasSameNameAsPage
*/ ?>
<?php get_header(); ?>
<div id="content" class="archive <?php if(get_option('colabs_layout_settings')=='two-col-right'){echo 'right';}else{?>left<?php }?>">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?> id="post_<?php the_ID(); ?>">
<span id="map"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','colabsthemes');?></a> » <?php the_title(); ?></span>
<h2 class="title"><?php the_title(); ?></h2>
<div class="entry" style="padding-top:15px;">
<?php the_content(__('<p>Read the rest of this page »</p>','colabsthemes')); ?>
<?php echo colabs_share();?>
<?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong>','colabsthemes'), 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; else: endif; ?>
<?php query_posts('category_name='.get_the_title().'&post_status=publish,future');?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<p><?php the_content(); ?>
<?php endwhile; else: endif; ?>
</div>
</div>
<div id="sidebar" class="<?php if(get_option('colabs_layout_settings')=='two-col-right'){echo 'left';}else{?>right<?php }?>">
<?php get_sidebar(); ?>
</div>
<div> <?php get_footer(); ?> </div>
을 사용하고있는 코드입니다하지만 난 평방 기사의이 종류를 표시하는 데 사용되는 코드 모른다. 제발 도와주세요.