WordPress.org

Support

Support » Plugins and Hacks » WP Fading Content Slider » [Resolved] PHP code for inserting?

[Resolved] PHP code for inserting?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wp-maverick

    @wp-maverick

    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');
    }

    Plugin Author wp-maverick

    @wp-maverick

    The PHP code since v0.2.1:

    if ( function_exists( 'get_wp_fading_content_slider' ) ) {
        get_wp_fading_content_slider();
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] PHP code for inserting?’ is closed to new replies.
Skip to toolbar