WordPress.org

Support

Support » Plugins and Hacks » Easing Slider » A couple of useful suggestions

A couple of useful suggestions

  • 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! 😀

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author MatthewRuddy

    @matthewruddy

    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 🙂

    Thanks, mate. Awaiting the update.

    Plugin Author MatthewRuddy

    @matthewruddy

    Don’t expect them immediately! But I’ll try to get something added soon 🙂

    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>

    🙂

    Plugin Author MatthewRuddy

    @matthewruddy

    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.

    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 🙂

    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 😀

    Plugin Author MatthewRuddy

    @matthewruddy

    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 ! 🙂

    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

    Plugin Author MatthewRuddy

    @matthewruddy

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

    Hi Matthew,
    I have a useful suggestion too 🙂

    Have numbers for (or in) pagination icon.

    Thanks for your work !!

    Plugin Author MatthewRuddy

    @matthewruddy

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

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

    Thanks Matthew !!

    Ps : any “premium” version of your plugin ?

    Plugin Author MatthewRuddy

    @matthewruddy

    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!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘A couple of useful suggestions’ is closed to new replies.
Skip to toolbar