Bones "프레임 워크"에서 주제를 시작한 Im은 링크를 <h1>
이 아닌 게시판에 대한 미리보기 링크로 미리보기 링크를 만들고 싶습니다.실제 기사에 링크 된 전체 게시물입니다. 방법?
어떻게하면됩니까? 전체 미리보기 링크를 클릭 할 수있는 div로 만드시겠습니까?
다음은 해당 섹션의 모형입니다. :)
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<header class="article-header">
<h1 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<p class="byline vcard"><?php _e('Posted', 'bonestheme'); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time(get_option('date_format')); ?></time> <?php _e('by', 'bonestheme'); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e('filed under', 'bonestheme'); ?> <?php the_category(', '); ?>.</p>
</header> <!-- end article header -->
<section class="entry-content clearfix">
<?php the_content(); ?>
</section> <!-- end article section -->
완벽하게 작동했습니다. 고마워요! –