I'm setting up a wordpress website right now and I'd like to make 2 separate do_shortcode("[]")s based on how wide the browser is, and have the content refresh and change if the browser width is changed. Is there any way to do this? My understanding from reading other threads about PHP/Javascript is that since PHP is run before JS, the two can't interact with each other very well. Is there a best way to do this?
Thanks for your help!