Hide block on specific page through custom contextual link
We usually require to hide some blocks on specific pages for which we need to goto configure block page and add the URL of the page where we do not want to display a block.
Instead of going to configure block page, I want to add a contextual link ” Don’t display on this page”
which should add the path of the current page in the list on which the block should not appear.
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.