I have a user review site built with Wordpress and can't seem to get just one category to show on home page.
I have tried:
<?php get_header(); ?>
<?php $top_counter=1 ?>
<?php
$blog_hero = of_get_option('blog_hero');
if ($blog_hero && ! is_category()){
?>
<div class="clearfix row-fluid">
<div class="hero-unit">
<h3>thanks stack-exchange help needed.</p>
<br />
</p>
</div>
</div>
<?php
}
?>
<div id="content" class="clearfix row-fluid">
<div id="main" class="span8 clearfix" role="main">
<? function customf_process_wp_query($posts_data,$post_type=null,$post_rate=null){
wp_reset_query();
query_posts($posts_data);
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
if($post_type==3){
$in_top=false;
foreach($post_rate as $key=>$top_post_id){
if($top_post_id->ID==get_the_ID()) $in_top=true;
}
if($in_top) continue;
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<header>