recent posts per featured Category on home page
-
Hi, I am using Videoplus theme on my blog site and site features youtube music videos embedded. I want my home page to display categories based recent posts. as with any news or magazine theme, it should display recent posts in category one, and recent posts in category two.
like:
Telefilm Recent posts:telefilm 1
telefilm 2
Drama OST Recent Posts
OST 1
OST 2
how i can edit the index page.
currently it is coded as
<div id="content">
<?php get_template_part('includes/breadcrumbs'); ?>
<article>
<?php
$count = 1;
?>
<?php if (have_posts()) : while ( have_posts() ) : the_post() ?>
<?php get_template_part('includes/loop'); ?>
<?php
if($count%3 == 0){
?>
<div class="clear"></div>
<?php
};
$count++;
?>
<?php endwhile; ?>
<div class="clear"></div>
</article><!-- article -->
<?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
<div class="pagination">
<div class="left"><?php previous_posts_link(__('← Newer Entries', 'themejunkie')) ?></div>
<div class="right"><?php next_posts_link(__('Older Entries →', 'themejunkie')) ?></div>
<div class="clear"></div>
</div><!-- .pagination -->
<?php } ?>
<?php else : ?><?php endif; ?>
The blog I need help with is: (visible only to logged in users)
-
The blog you specified at http://www.fazeem.com does not appear to be hosted at WordPress.com.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘recent posts per featured Category on home page’ is closed to new replies.