#594
Bartosz
Keymaster

You can achieve that, but not with an option.

All you need is to take advantage of the rw_display_widget filter, like this:

function custom_rw_display_widget ($display, $instance) {
if (is_single(1) && $instance['title'] == 'Your widget title') { // change Your widget title
$display = true; // or false if you want to hide it
}
return $display;
}
add_filter('rw_display_widget', 'custom_rw_display_widget', 10, 2);

This will display a widget with title “Your widget title” if post ID is equal to 1. Just add this to your theme‚Äôs functions.php and adjust to your needs. You may use literally any combination of conditional tags described in the codex http://codex.wordpress.org/Conditional_Tags

Hope this helps