technogeek
-
Which jQuery method should be used to load in a block of markup in this conditional css function?
Hmm, after reviewing how wp_is_mobile(), I don't think it's as useful for what I'm trying to do. It's a blanket for anything mobile and I need something that's more specific to individual viewports, not devices.
-
Which jQuery method should be used to load in a block of markup in this conditional css function?
@elneco, thanks for your feedback. I understand that php is executed server side which is one reason why I don't know how to insert this block of code or store it as a variable. I don't need to use the width() function since this method a…