Support » Plugins » Apple.com Style Slideshow Showing Most Recent Posts

  • I am trying to make my theme look very similar to Apple.com‘s site. What I want to do is put a slideshow right below the navigation that will display a picture relating to the 5 most recent posts. The picture will be 970×350. I am new to wordpress coding and have no idea how to accomplish this. So far I have this code inserted right below the end of the header div:

    <?php
    	if ('http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] == get_option('home').'/') {
    	print '
    	<div id="slide-show">
    		<img src="" width="970px" height="350px" >
    		<img src="" width="970px" height="350px" >
    		<img src="" width="970px" height="350px" >
    		<img src="" width="970px" height="350px" >
    	</div>
    	<div id="slide-show-nav">
    	</div>';
    	}
    ?>

    The first part is just to make sure that it only displays on the Home page. Any help would be much appreciated.

  • The topic ‘Apple.com Style Slideshow Showing Most Recent Posts’ is closed to new replies.