WordPress.org

Ready to get started?Download WordPress

Forums

Easing Slider "Lite"
A couple of useful suggestions (15 posts)

  1. Hassan
    Member
    Posted 1 year ago #

    1. Consider adding an option to remove the "Slideshow" node from the WordPress toolbar

    2. Consider adding an option to remove the settings icon from displaying on top of the slider in the frontend when logged in

    3. Consider adding an option to remove the "Add Slideshow" button from the TinyMCE Visual Editor

    4. Consider giving this plugin's admin menu item its own custom icon instead of the generic "gear" icon

    5. Consider adding ALL the above immediately in the next update! :D

    http://wordpress.org/extend/plugins/easing-slider/

  2. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @Hassan, good suggestions here. The second is already possible by adding the code below to your themes functions.php file.

    add_filter( 'easingsliderlite_edit_slideshow_icon', '__return_false' );

    The others will be added over time as we continually improve the plugin :)

  3. Hassan
    Member
    Posted 1 year ago #

    Thanks, mate. Awaiting the update.

  4. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Don't expect them immediately! But I'll try to get something added soon :)

  5. Hassan
    Member
    Posted 1 year ago #

    Thanks for that. I'd rather have a backend option for that, not a filter/action hack.

    Might I add a couple more?

    6. Allow users of role "Editor", or any other role for that matter, to have access to Edit Slideshow and/or Customize and/or Settings menus as specified by the admin

    7. When the backend is in RTL (e.g. Arabic) the TinyMCE "Add Slideshow" button is a bit messed up with the icon overlaying part of the text. I fixed that by changing the CSS margin-right: 4px; to margin-left: 4px; for the element <span class="insert-slideshow-icon"></span>

    :)

  6. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @Hassan, I will only be adding these as filters. This isn't hacky at all and is the most appropriate way of adding such advanced options that most users won't want to use. Not a good idea cluttering up the settings panels with generally irrelevant options.

    The plugin comes with custom user permissions, so if you use a permissions management plugins (such as "Members") you can control who has access to the slideshow admin panels.

    As for RTL, I generally can't promise support for it as I'm only English speaking myself. That said, I appreciate the heads up and will try and add the fixes in for you.

  7. Hassan
    Member
    Posted 1 year ago #

    Matthew, thanks for the heads up about custom user permissions, didn't know your plugin has any.

    P.S. I can contribute an Arabic translation if I could get the .pot file from you :)

  8. Hassan
    Member
    Posted 1 year ago #

    By the way, I made use of your custom capabilities and managed to give Editors the capability Easingsliderlite Edit Slideshow which made the Slideshow menu item visible for them.

    However, the toolbar menu (node) is not respecting capabilities and it is present with all the three pages for any logged in user regardless of their role. Only after they click a link they aren't allowed to access (e.g. Customize) they are presented with the WordPress error "You do not have sufficient permissions to access this page."

    One more thing, can I show/hide the TinyMCE button "Add Slideshow" based on roles and capabilities?

    Sorry for asking too much :D

  9. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @hassan, these are all features and functionality that will have to be added in the future. I will try my best, but can't make any promises at this moment in time. A lot going on, so I'm pretty busy!

    Definitely good idea though, so going to try and add something for v2.1.1 ! :)

  10. Hassan
    Member
    Posted 1 year ago #

    Hey Matt,
    I couldn't find out how to contact you here, so I'm pumping this thread instead :)

    I've finished translating your plugin to Arabic. Where can I send you the .po/.mo files?

    Regards

  11. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Hassan, that's awesome! Thanks a million. You can send it to me via email, info@matthewruddy.com :)

  12. Emmanuel Cup
    Member
    Posted 1 year ago #

    Hi Matthew,
    I have a useful suggestion too :)

    Have numbers for (or in) pagination icon.

    Thanks for your work !!

  13. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    @Emmanuel, this should actually already be possible with some custom code :) Give this a try. Add it to your theme's functions.php file.

    function easingslider_numbered_pagination( $slideshow ) {
        ?>
            <div class="easingsliderlite-pagination <?php echo esc_attr( $slideshow->navigation->pagination_position ) .' '. esc_attr( $slideshow->navigation->pagination_location ); ?>">
                <?php foreach ( $slideshow->slides as $index => $slide ) : ?>
                    <div class="easingsliderlite-icon inactive" style="background-image: none !important;"><?php echo ( $index + 1 ); ?></div>
                <?php endforeach; ?>
            </div>
        <?php
    }
    add_action( 'easingsliderlite_pagination', 'easingslider_numbered_pagination' );
  14. Emmanuel Cup
    Member
    Posted 1 year ago #

    This is my reaction : http://www.cool-smiley.com/smiley/banane/c006.gif

    Thanks Matthew !!

    Ps : any "premium" version of your plugin ?

  15. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Haha, that made me laugh!

    Yes, working on it as we speak. Hope to have the new website up in a few hours :) Keep an eye out for it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic