• Resolved sumeshms

    (@sumeshms)


    Hi Sayful,

    Can I use this plugin to make all the sidebar widgets to be accordion?

    That means to say – Can I get the sidebar widgets as accordion. Where-in, when I click on the heading of each widget only it opens.

    Or, if you have developed any other plugin that has this functionality?

    Thanks in advance!
    Sumesh M.S

    https://wordpress.org/plugins/sis-accordion/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sayful Islam

    (@sayful)

    Currently this plugin does not support widgets. But you can do it manually. To do this go to plugin folder and open accordion.php file at any text editor and find comment line
    /* Generates Toggles Shortcode */
    and above this line copy and paste the following code
    add_filter('widget_text', 'do_shortcode');
    and now go to widget and create a text widget and inside text widget write the following code
    [sisaccordion][sistoggle title='' desc=''][/sisaccordion]

    Repeat [sistoggle title='' desc=''] as many as you want element to include.
    Go to WordPress admin Setting >> sis-accordion and set your desire options.

    Thread Starter sumeshms

    (@sumeshms)

    Hi sayful,

    Thanks for for your suggestion. Since I do not like to mess up with plugins unless I create one 🙂

    However, I found out a way to achieve that functionality.

    Anybody who want to convert their sidebar widgets into accordion can just go through this tutorial – How-make-sidebar-widget-accordion-wordpress.

    Thanks!
    Sumesh M.S

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

The topic ‘Accordion for sidebar widget!’ is closed to new replies.