JoryHogeveen / off-canvas-sidebars

This plugin will add various options to implement off-canvas sidebars in your WordPress theme based on the Slidebars jQuery plugin.
GNU General Public License v2.0
13 stars 4 forks source link

Feature: Configuration options for where which sidebars should appear #54

Open JoryHogeveen opened 6 years ago

JoryHogeveen commented 6 years ago

Currently all sidebars are global. It would be great if there is a way to select on which pages/taxes/etc. sidebars should/shouldn't appear.

Widget Logic has a quick way to deal with this using WP Conditional Tags. While this might be a good and flexible option, it does oppose a possible security issue by using eval().

Currenty available solutions:

  1. Using ocs_is_sidebar_enabled filter.
  2. Custom theme setup using the_ocs_off_canvas_sidebar()