• Resolved adrawk7

    (@adrawk7)


    I need to have the SlideDeck plugin appear in the <header> tag only on the home page of my site. I’m not versed in PHP, and I’m trying this, which doesn’t work. Any suggestions/advice is much appreciated!

    <?php if(is_page(‘Mission’)){
    echo ‘<?php slidedeck( 33, array( “width” => “100%”, “height” => “220px” ) ); ?>’;
    }?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • <?php if(is_page('Mission')) {
    slidedeck( 33, array( "width" => "100%", "height" => "220px" ) );
    } ?>

    only sytax errors corrected – not tested.

    Thread Starter adrawk7

    (@adrawk7)

    That worked – thanks so much for your reply!

    I’ve seen your comments on other posts that have also helped me. Thanks again for taking the time to help folks out with WordPress, which I’m still learning (that and PHP syntax).

    @adrawk7: Be sure to mark this topic as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add Unique Header Using PHP’ is closed to new replies.