• Resolved jknetdesign

    (@jknetdesign)


    You once provided this filter to remove the show/hide function. How can I update this code?

    function jknetdesign_filter_widget_stuff() {
        add_filter( 'oenology_showhide_widget_content_open', '__return_false' );
        add_filter( 'oenology_showhide_widget_content_close', '__return_false' );
    }
    add_action( 'widgets_init', 'jknetdesign_filter_widget_stuff' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • .

    (@techievous)

    Removes show hide function on sidebar

    You can go to Appearance >> Oenology’s Options >> General Tab >> under Default Widget Display State, choose Display Content >> Save Settings.

    Screenshot: http://i.imgur.com/sokLOr0.png

    Then use this custom CSS to hide the show/hide option on sidebar:

    .showhide {
      display:none;
    }
    Thread Starter jknetdesign

    (@jknetdesign)

    Thanks!

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

The topic ‘Removes show hide function on sidebar’ is closed to new replies.