I’m in the same boat – this plug-in looks perfect for what I would like to do (sliding images/links/text), but I only want it to appear on one page, not the whole site. Is there a way to do this?
hey,
the following works fine for me:
add:
<?php if (!is_front_page()) {wp_carousel(0);} ?>
somewhere in header.php (or wherever you like your carousel). Now its only displayed on frontpage, not on “sub-pages” or posts.
cheers
NB:
the 0 is the id of my carousel, feel free to change 😉
hello nr_
i tried your code, and weirdly it does just the opposite : it kills the carousel for the frontpage only and let it show for the rest of the pages…. can you give me a hand? i don’t get it…
thanks
sorry, my bad…just delete the “!” before is_front_page – thats a “negation-term” and means, if is NOT front_page then do…
so u have 2 use:
<?php if (is_front_page()) {wp_carousel(0);} ?>
thank you so much. you just saved my life! (or at least made my day 😉 )
benoit
Hi guys – sorry for the epic bump.
I’m also using Mystique, and I’d like to add a WP Carousel to my homepage, preferably directly underneath the top navigation bar (and above the column of posts).
The only problem is I have no idea where to even find where I would paste/embed that php code. Is anyone able to help?
Sincerest thanks!