WordPress.org

Forums

Oenology
[resolved] Removes show hide function on sidebar (3 posts)

  1. jknetdesign
    Member
    Posted 9 months ago #

    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' );
  2. .
    Member
    Posted 9 months ago #

    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;
    }
  3. jknetdesign
    Member
    Posted 9 months ago #

    Thanks!

Reply

You must log in to post.

About this Theme

About this Topic