Widget Logic is a classic WordPress Plugin that allows you to be more specific with the placement of certain widgets on targeted pages or posts. Say you have a category of posts that you want specific links in the right column to display on – Widget Logic can help with that. You can specify a page or pages with a short bit of code in the form of an array:
is_page( array( 'resources','book-suggestions','practice-questions' ) )
You can add as many pages are you want but be sure to paste each between single quotations, i.e. ‘resources’. If you want to list multiple pages be sure to paste each page in between single quotes with each page separated by a comma.
If you want to have a particular widget on all pages of your WordPress site you don’t need to use Widget Logic, just simply drop your widget in the widget location.