Title: Error when adding php to home template
Last modified: August 30, 2016

---

# Error when adding php to home template

 *  Resolved [becky_wp](https://wordpress.org/support/users/becky_wp/)
 * (@becky_wp)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-when-adding-php-to-home-template/)
 * Hi there,
    I’m trying to add my slider in php to header but for some reason I
   get a server error 500 when I add it? “The website encountered an error while
   retrieving [http://thesbjournal.com/](http://thesbjournal.com/). It may be down
   for maintenance or configured incorrectly.” I copied the php from cnhk slideshow
   and put it here: <div id=”primary” class=”site-content”> <div id=”content” role
   =”main”><?php if ( function_exists( “cnhk_slideshow” ) cnhk_slideshow( 963 );?
   > <div class=”homepage”> ?

Viewing 1 replies (of 1 total)

 *  Theme Author [Themonic](https://wordpress.org/support/users/themonic/)
 * (@themonic)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-when-adding-php-to-home-template/#post-6690749)
 * Please use [https://wordpress.org/support/](https://wordpress.org/support/) for
   general support as your site is not using Iconic One.

Viewing 1 replies (of 1 total)

The topic ‘Error when adding php to home template’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/iconic-one/3.3/screenshot.png)
 * Iconic One
 * [Support Threads](https://wordpress.org/support/theme/iconic-one/)
 * [Active Topics](https://wordpress.org/support/theme/iconic-one/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/iconic-one/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/iconic-one/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Themonic](https://wordpress.org/support/users/themonic/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/error-when-adding-php-to-home-template/#post-6690749)
 * Status: resolved