WP Parallax Content Slider
[resolved] wpdebug errors (6 posts)

  1. ollybach
    Posted 2 years ago #

    the plugin seems to throw the following errors:

    PHP Notice: wp_enqueue_script was called incorrectly

    PHP Notice: wp_enqueue_style was called incorrectly

    PHP Notice: register_uninstall_hook was called incorrectly

    just thought i'd mention it


  2. wp-maverick
    Plugin Author

    Posted 2 years ago #

    I'll test wpdebug on the development branch to see if these errors are still thrown.

  3. ollybach
    Posted 2 years ago #

    No worries,

    just thought i'd mention it.

    while i'm at it though:
    is there any way to not only pull "slides" from post categories but also from custom post types ?
    would be really cool


  4. pumpkineater
    Posted 2 years ago #

    in the plugin php file, just put the wp_enqueue_script calls in a function (or two functions, for both js init and css init)
    add_action('wp_head', 'myfunction');

    I see more incorrect applied wp functions.
    The code of this plugin is quite ugly (at the moment)

  5. wp-maverick
    Plugin Author

    Posted 2 years ago #

    Hi pumpkineater,
    there was a serious refactor in this plugin code but I've decided to continue the development on GitHub to allow contributors to help me.

    I know there was improvements to make to the code but I hope that you'll find the future release less "ugly" : https://github.com/jlethuau/wp-parallax-content-slider/blob/master/wp-parallax-content-slider.php

    Since I've installed WPDebug too, I also notice that there are several warnings and notices which are throwned by WordPress core itself, so their code must be ugly too I think ;)

  6. pumpkineater
    Posted 2 years ago #

    On Github, good decision !

    You're right, WP core isn't the most elegant written piece of software either. But hey, ugliness can be effective, otherwise millions of users would complain about WP ;-)

    So no offence against the parallax content slider.
    It may evolve to better coding and for the moment it is working sort of alright anyway (with some fiddling).
    Nothings starts perfect, so your initiative is much appreciated !

    It's just my two cents worth....


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Parallax Content Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.