Showcase Slide Show on Home Page Only

@Tammie Thanks for the support. As offered :wink: can you take me through the steps to change the code in oder to show the slide show on home page only? Txs Johan

  • Tammie
    • WordPress Wizard

    @Johan: That's not 'quite' what I said :slight_smile: As I said I'd work through it with you with you following the steps I'd already provided. To repeat:

    Header.php add a is_home call ie;

    <?php if (is_home()){?>
    <div id="bger">
    		<div id="box">
    	<div class="inner">
    <div id="flashcontent">
    	<div style="margin-top: -30px;">
    		$width = get_option('wd_width');
    		$height = get_option('wd_height');
    		<img src="<?php echo get_option('wd_no_flash'); ?>" alt="No Flash" style="width:<?php echo $width; ?>; height: <?php echo $height; ?>;" />
    </div><!-- end flashcontent -->
    <script type="text/javascript">
    		var flashvars = {};
    		flashvars.xmlSource = "<?php bloginfo('template_url'); ?>/library/piecemaker/piecemakerXML.php";
    		flashvars.cssSource = "<?php bloginfo('template_url'); ?>/library/piecemaker/css/piecemakerCSS.css";
    		flashvars.imageSource = "";
    		var attributes = {};
    		attributes.wmode = "transparent";
    		swfobject.embedSWF("<?php bloginfo('template_url'); ?>/library/piecemaker/piecemaker.swf", "flashcontent", "1005", "500", "10", "<?php bloginfo('template_url'); ?>/library/js/swfobject/expressInstall.swf", flashvars, attributes);
    <div class="clear"></div>
    <div class="content">
    	<?php }
    	<div class="contentpage">
    		<?php } ?>

    Layout.css create new style:

    	padding: 100px 0 20px;
  • Johan
    • Site Builder, Child of Zeus

    @Tammie. Thanks for the update. I have done that.

    Attach please find the two files and the changes. I did not know where to add the -is_home code. I did add it but not sure if it's correct.

    I could not upload the style.css

    Here's the last few lines

    #content .gallery .gallery-caption {
    	color: #888;
    	font-size: 12px;
    	margin: 0 0 12px;
    #content .gallery dl {
    	margin: 0;
    #content .gallery img {
    	border: 10px solid #f1f1f1;
    #content .gallery br+br {
    	display: none;
    	padding: 100px 0 20px;

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.