• Resolved rafaang

    (@rafaang)


    Hi!

    Maybe be useful if there was a hook to allow theme developers to customize the sidebar output without using default plugin system.

    This could be made adding the following to line 81:

    register_sidebar( apply_filters('custom_sidebars_params', $sidebar) );

    And these two lines at addMetaBox() top, to allow users remove the metabox added automatically by the plugin:

    if(defined('CUSTOM_SIDEBAR_DISABLE_METABOXES'))
    	return;

    Are two simple updates that can turn it more developer-friendly, it’s possible merge it in main code?

    Kind Regards,
    Rafael Angeline

    https://wordpress.org/plugins/custom-sidebars/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @rafael,

    Thanks for your great suggestions! Sorry for the delay here but I’ve asked the developers to have a look into this, sounds like a great thing to implement. 🙂

    We can’t give an ETA on this, but a task has been created for the developers to look into.

    Thanks!
    David

    Thread Starter rafaang

    (@rafaang)

    Hey David!

    Not a big deal, actually, as you can see is just a few lines that already allow the developers customize a little more the plugin.

    – The first line can be used to modify params like before_widget, after_widget and other using a filter

    – The second allow the devs disable the metabox from the plugin

    Probably only a few will use these options, but is great allow this kind of thing, since this plugin saved me a lot of time and avoid a custom theme solution.

    Thank you for your time! I really appreciate! 🙂

    Kind Regards,
    Rafael

    Hey there Rafael,

    You’re most welcome and thanks again for the suggestions! Our developers are looking into it and in fact, we’re looking into a bunch of things surrounding this plugin currently.

    Taking a look at your most recent post as well, we’ll see how we can improve this further. 🙂

    Cheers,
    David

    Thread Starter rafaang

    (@rafaang)

    Thank you for your time and I hope not being annoying with all these posts.

    They are just small details but I like to try help the max I can the plugin I like at most 🙂

    Kind Regards,
    Rafael

    Hi Rafael,

    Your posts are not annoying at all, your help is greatly appreciated and it is always welcome here.

    These enhancements can be implemented in the future version of plugin.

    Feel free to share any suggestion / enhancements 🙂

    Have a great day!

    Cheers,
    WPMU DEV

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Suggestion] Hook to customize sidebar params’ is closed to new replies.