Widget Visibility: add option to display a widget only for a specific search term result page #853

jeherve opened this Issue Jul 16, 2014 · 1 comment


None yet

3 participants

jeherve commented Jul 16, 2014

At the moment, Widget Visibility allows you to display or hide a widget for all search result pages. It would be nice to allow users to only display the widget for a specific search term.
Suggested here:

Original trac ticket:


I interested to work on this issue. But the problem is, the condition rule only allow dropdown value, not textinput:

<select class="conditions-rule-minor" name="conditions[rules_minor][]" <?php if ( ! $rule['major'] ) { ?> disabled="disabled"<?php } ?> data-loading-text="<?php esc_attr_e( 'Loading...', 'jetpack' ); ?>">
                                    <?php self::widget_conditions_options_echo( $rule['major'], $rule['minor'] ); ?>

if they choose to add the "Search Term" rule, it should a textbox appear.

any idea to solve this?

@samhotchkiss samhotchkiss modified the milestone: Needs Triage Aug 28, 2015
@jeherve jeherve removed the [Team] tdiv label Feb 15, 2016
@jeherve jeherve modified the milestone: Community, Needs Triage Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment