There are a couple of options:
- Use a Plugin that adds contextual conditions to Widgets
-
Only output the
dynamic_sidebar()
in the page template in question. For example, if your custom page template is namedtemplate-foobar.php
, and the dynamic sidebar name isfooter-text-widget
:if ( 'template-foobar.php' == get_page_template() ) { dynamic_sidebar( 'footer-text-widget' ); }