Return to Snippet

Revision: 31706
at September 11, 2010 02:36 by oriontimbers


Initial Code
<?php 
	if( is_home() || is_front_page() ) {
		// replace the below Theme Code Snippet with your own
		slidedeck( 29, array( 'width' => '100%', 'height' => '300px' ) );
	}
?>

Initial URL
http://support.slidedeck.com/slidedeck/topics/have_the_slidedeck_only_on_the_homepage

Initial Description
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.

Initial Title
WordPress Conditional for Homepage SlideDeck Theme Code Snippet

Initial Tags
php, wordpress

Initial Language
PHP