I would like to place the title "Featured Articles" above the slideshow, and the title "Latest Posts" below the slideshow with the latest post following on below.
This is the index.php code:
<?php get_header(); ?>
<?php <br /> $notin = pbt_notin();
$num = (pbt_theme_option('slideshow')==1) ? 4 : 5;
$featuredcat = pbt_theme_option('fp_featured');
$posts = array(
"posts_per_page" => $num,
"cat" => $featuredcat,
"ignore_sticky_posts" => 1
);
$featured = new WP_Query();
$featured->query($posts);
$x = 1;
if(pbt_theme_option('slideshow')==1) pbt_tabberota($featured);
if(pbt_theme_option('slideshow')==2) pbt_sliderota($featured);
if(pbt_theme_option('slideshow')==3) pbt_scrollerota($featured);
if(pbt_theme_option('slideshow')==4) pbt_tabberota_nu($featured);
$advanced = pbt_theme_option('basic_advanced');
if($advanced == 1 && is_home()) {
get_template_part('loop', 'basic-index');
} else { ?>
Perfect. Thank you.
Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.
RegisterCopyright © 2012 bavotasan.com. All Rights Reserved. Powered by Vanilla.