• Resolved Howdy_McGee

    (@howdy_mcgee)


    Is there a hook to change the default icon? I would like to change it from a chevron to a plus sign and minus sign respectively. I didn’t see any reference to this in the docs but would like to see it if it does not exist in a future release please!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your post.

    Have you checked the option

    Style > Icon set

    View post on imgur.com

    Regards

    Plugin Author PickPlugins

    (@pickplugins)

    Please see the screenshot how to do that.

    View post on imgur.com

    Regards

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    Right, sorry. What I meant was permanently change the default icon. Currently how it appears to be set up is that every time you create a new accordion it defaults to the chevrons and you have to change them out as your image describes. I would instead like to change the plugins default to something else through a filter hook if possible.

    This way when I hand it off to my client, they won’t need to change the icon every time they create a new accordion as it’ll be preset for them.

    Plugin Author PickPlugins

    (@pickplugins)

    I understand your idea but isn’t available.

    I hope future version bring this feature. which version are you using?

    Regards

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    I’m using the latest version of both WordPress and this Plugin.

    I agree, I would like to see it in a future version as a filter hook if possible.

    Thanks for your time / clarifying that it isn’t yet possible but may be in the future!

    Plugin Author PickPlugins

    (@pickplugins)

    Hi, Please update the latest version 2.0.18 and try the following hook.

    
    add_filter('accordions_filter_default_icon_plus','accordions_filter_default_icon_plus');
    
    function accordions_filter_default_icon_plus(){
    
    	return 'fa-plus';
    }
    
    add_filter('accordions_filter_default_icon_minus','accordions_filter_default_icon_minus');
    
    function accordions_filter_default_icon_minus(){
    
    	return 'fa-paper-plane';
    }
    

    Regards

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    That’s really cool of you to push an update so soon. It appears to work as expected!

    Thanks again for the quick feature update, keep being awesome!

    Plugin Author PickPlugins

    (@pickplugins)

    Glad to help you.

    Regards

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Change Default Icon’ is closed to new replies.