Search widget with variable


I have to put search widget on severals pages of my website automaticaly generated with a hashtag variable like this :

<a class="twitter-timeline" href="<?php echo $hashtag; ?>" data-widget-id="XXXXXXXX">Tweets concernant "<?php echo $hashtag; ?>"</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

But unfortunatly the search hashtag is linked with my data-widget-id, do you know how to do it ?


There is currently no way to change the search query client-side.