Search widget with variable


#1

Hi,
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="https://twitter.com/search?q=<?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.id=id;js.src=p+"://platform.twitter.com/widgets.js";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 ?
Thanks


#2

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


#3