# Implementing Meteor Slideshow php code 

**URL:** <https://www.phphelp.com/t/implementing-meteor-slideshow-php-code/18944>\
**Category:** General PHP Help\
**Created:** [November 19, 2012, 7:06pm UTC](https://www.phphelp.com/t/implementing-meteor-slideshow-php-code/18944 "2012-11-19T19:06:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://www.phphelp.com/uploads/default/original/2X/2/243e9ed5d93c5653ce3186f18df16e019ce38445.png) [@system](https://www.phphelp.com/u/system)\
**Post date:** [November 19, 2012, 7:06pm UTC](https://www.phphelp.com/t/implementing-meteor-slideshow-php-code/18944/1 "2012-11-19T19:06:45Z")

</div>

Hi, I’m having some trouble making this work…

[php]

\<?php if ( function\_exists( 'meteor\_slideshow' ) ) { if ( is\_home() ) { meteor\_slideshow( "home", "" ); } elseif ( is\_page( 'bjornenvagen-15-2' ) ) { meteor\_slideshow( "bjornenvagen-15-2", "" ); } elseif ( is\_page( 'ovrig-information' ) ) { meteor\_slideshow( "ovrig-information", "" ); } else { // Add a default slideshow or image here }[/php] This is the code i have in my header. And with Meteor Slideshow it's supposed to show different slideshows depending on the slug. The site is zwebdesign.se/husiare/ with the slugs zwebdesign.se/husiare/ovrig-information zwebdesign.se/husiare/bjornenvagen-15-2 I can't get it working somehow. Not an experienced coder so please help a brother out:)
