deb
(@debendra)
<?php if(is_front_page()) {?>
your slider div here
<?php } ?>
Hi, can you tell us what theme you’re using?
Thread Starter
onyudo
(@onyudo)
thanks debendra! i’ll give that a shot in a few minutes…. i was trying to integrate:
if (is_home())
into the if (function_exists) statement provided in the plugin instructions to no avail.
wp-maverick: i am using the Good Space theme (http://themeforest.net/item/good-space-responsive-minimal-wp-theme-/2278615?WT.ac=search_thumb&WT.seg_1=search_thumb&WT.z_author=GoodLayers)
Thread Starter
onyudo
(@onyudo)
thanks so much debendra! your suggestion got me on the right track.
basically i had to do this:
if (is_front_page())
{ if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); } }
else { normal theme slider code here }
deb
(@debendra)
glad that it helped you 🙂
Hi everybody!
I’d like to know WHERE this php condition code, posted by dabendra, must be pasted. It must to be placed at HEADER.php, same place where is my slider code, or is it a FUNTION.php code?
I have a VSlider running in my Twenty Twelve template and I’d like to dyspaly it im my HOMEPAGE only.
thanks a lot!
I’ve got it watching a couple TUTOS and puting my shit together:
<?php if(is_front_page()) {?>
vslider (‘header’); //VSLIDER
<?php } ?>
Just like that!