Support » Plugin: Smooth Scroll Up » The best ánd only one without conflicts with other plugins

  • When I was using Joomla, the ‘go to top’ plugins were always causing conflicts. Therefore I was sensitized for this issue when switching to WordPress. I had to switch ‘to top’ plugins a few times, but this ‘ Smooth scroll up’ plugin does what it needs to do without causing conflicts. Installation is easy and it works great and smooth in every possible way.

    Since it’s almost christmas, Konstantinos made me a present by sending me the code for enabling it for the backend as well (thanks mate!), which of course I want to share with you all!

    In order the scroll up element to appear on the backend as well, edit plugin.php file and just after line 73:
    add_action(‘wp_footer’, array(&$this, ‘plugin_js’));

    add these lines:
    //Admin scroll up
    add_action(‘admin_enqueue_scripts’, array(&$this, ‘register_plugin_scripts’));
    add_action(‘admin_enqueue_scripts’, array(&$this, ‘register_plugin_styles’));
    add_action(‘admin_footer’, array(&$this, ‘plugin_js’));

    Have in mind that if you update the plugin, these lines should be added again, as the update will remove them.

    Now you can scroll to the top in your backend like a rocket as well 🙂
    Enjoy!

  • The topic ‘The best ánd only one without conflicts with other plugins’ is closed to new replies.