adrawk7
Member
Posted 3 months ago #
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" ) ); ?>';
}?>
<?php if(is_page('Mission')) {
slidedeck( 33, array( "width" => "100%", "height" => "220px" ) );
} ?>
only sytax errors corrected - not tested.
adrawk7
Member
Posted 3 months ago #
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.