The running sample looked great from the parallax support topic.
I'm trying to install this in a php template for the index.
I tried the similar code from parallax with a rename but it didn't work.
<?php if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); } ?>
Can it be called using php?
http://wordpress.org/extend/plugins/wp-fading-content-slider/
Hello zonkD,
PHP code is:
include (ABSPATH . '/wp-content/plugins/wp-fading-content-slider/content-slider.php');
In next version, I've entirely refactored the code. You'll be able to do that:
if (class_exists('WpFadingContentSlider')) {
include (ABSPATH . '/wp-content/plugins/wp-fading-content-slider/content-slider.php');
}
The PHP code since v0.2.1:
if ( function_exists( 'get_wp_fading_content_slider' ) ) {
get_wp_fading_content_slider();
}