Jump to content
Sign in to follow this  
emilindricau

Slider code

Recommended Posts

emilindricau

I use iBlogPro 4 template and want to use on the home/ feature page of my site the nivo slider. I try in one file(template_feature.php), but is not the right one, or is not the right place to intoduce the code. I follow the instructins found here. Where the code need to be introduced? In what file or what to do? And one more question: How to ad some space between the slider and the first post because the slider overlap the first post. My website is emilindricau.ro

Share this post


Link to post
Share on other sites
bryan-hadaway

I have to admit I'm confused, you shouldn't have to alter the code at all? This should all be possible through Theme Options > Feature Setup and setting the actual settings on the page itself when editing it. Again, I may be misunderstanding? Thanks, Bryan

Share this post


Link to post
Share on other sites
emilindricau

I want to say about the nivo slider. I use that slider instead the original feature slider from iBlogPro 4 template.

Share this post


Link to post
Share on other sites
cmunns

why are you using an alternate slider to begin with? Just curious...

Share this post


Link to post
Share on other sites
emilindricau

I just want to have my latest articles in the slider.

Share this post


Link to post
Share on other sites
cmunns

You could try making your template_page.php file look like this ` <?php if(pagelines('featureboxes', $post->ID) && VPRO) get_template_part('pro/template_fboxes');?>

<?php if(is_home()):?> <?php if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?> <?php endif;?> <?php get_template_part('library/_posts');?>
<?php get_sidebar(); ?> ` That should do the correct thing if you wanted it on your home page.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×