• Resolved joycegrace

    (@joycegrace)


    Hi, I used Widget Logic plugin and then !is_home() on all the widgets in the “Slide-in Widget” area. That seemed to get the slide-in panel out of the home page. However, this would be tedious to do if there were multiple widgets to handle, or if a client were dragging things in and out and didn’t know WP conditional logic.

    Do you know of an easier way to exclude the slide-in panel from certain pages? Even if it’s code to put in functions.php that would still be helpful if it’s not a plugin feature (yet?).

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Schrijvers

    (@frankschrijvers)

    Hi Joyce,

    I think the best solution is to remove the widget and the button in the functions.php. You can simply add these two line:

    remove_action( 'genesis_after_footer', 'wpstudio_gsw_add_widget' );
    
    remove_filter( 'genesis_before', 'wpstudio_gsw_fire' );

    Next you have to write a little function which adds the widget and the button only on the homepage.

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove from certain pages?’ is closed to new replies.