• hello… pretty new to php. I am attempting to call a function on the home page only but i cant seem to understand the correct format. In example, here is what i am attempting to do:

    <?php if ( is_home() ) { ?>
         <div style="width:715px; height:306px; margin:auto;">
    		<?php if(function_exists('displayDDSlider')) { echo displayDDSlider(array(name=>"picture_page")); } ?>
         </div>
      <?php }

    can ya help me out? thanks!
    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘call function on specific page – how to’ is closed to new replies.