Php 如何在分类库中进行特色帖子展示
我有2个特色的职位,在一个部门id,一个大类和一个小类。我想大功能分区是在分类基地后。。大特色邮政编码显示在下面Php 如何在分类库中进行特色帖子展示,php,javascript,html,wordpress,Php,Javascript,Html,Wordpress,我有2个特色的职位,在一个部门id,一个大类和一个小类。我想大功能分区是在分类基地后。。大特色邮政编码显示在下面 <div class="main_feat"> <?php get_the_image( array( 'size' => 'featured', 'width' => 310, 'before' => '<div class="thumb">', 'after' => '</div>
<div class="main_feat">
<?php get_the_image( array( 'size' => 'featured', 'width' => 310, 'before' => '<div class="thumb">', 'after' => '</div>' ) ); ?>
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> </h2>
<div class="date"><?php if (option::get('featured_date_format') == 'time ago') { echo time_ago(); } else { printf('%s, %s', get_the_date(), get_the_time()); } ?></div>
<div class="content">
<div class="entry">
<?php the_excerpt(); ?>
<div class="meta">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>" class="nextActions"><?php _e('সম্পূর্ন অংশটুকু', 'wpzoom'); ?> →</a> <span class="comments"><?php comments_popup_link('0', '1', '%'); ?></span><div class="clear"></div>
</div>
</div><!-- /.entry -->
</div><!-- /.content -->
</div>
您可以在希望使用div的位置使用此代码
<?php query_posts('orderby=name&order=asc&cat=43&showposts=100'); ?>
<?php while (have_posts()) : the_post(); ?> ">
<?php the_title(); ?> <?php endwhile;?>
">
我认为这将是一项工作
<?php query_posts('orderby=name&order=asc&cat=43&showposts=100'); ?>
<?php while (have_posts()) : the_post(); ?> ">
<?php the_title(); ?> <?php endwhile;?>