WordPress.org

Ready to get started?Download WordPress

Forums

Featured Item Slider
Error: cannot redeclare... (2 posts)

  1. DSkyline
    Member
    Posted 2 years ago #

    when i put the code include (ABSPATH . '... in index.php to diplay the slider i'm getting this error:

    Fatal error: Cannot redeclare featured_options_page() (previously declared in /home/<username>/public_html/<domain-name>/develop/wp-content/plugins/featured-item-slider/featured-item-slider.php:36) in /home/<username>/public_html/<domain-name>/develop/wp-content/plugins/featured-item-slider/featured-item-slider.php on line 37. The theme is a child theme of a Thematic theme. What am i doing wrong?

    http://wordpress.org/extend/plugins/featured-item-slider/

  2. Ginchen
    Member
    Posted 2 years ago #

    I used this instead:

    include_once(WP_PLUGIN_DIR . '/featured-item-slider/featured-item-slider.php'); ?>

    But the plugin doesn't seem to work at all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic