WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

IS there a way to show code only when a user is on a mobile device and it wont show up on the desktop. I found the wp mobile detect plugin that looks to do the trick my thoughts are 1. Is this a good plugin do people have alternatives 2. Is there a way to do this without a plugin, manul code wish?

share|improve this question

marked as duplicate by Johannes Pille, s_ha_dum, kaiser, toscho May 13 '13 at 15:14

This question was marked as an exact duplicate of an existing question.

It is not necessarily inherently a bad plugin, but user agent sniffing sucks in general. Also, did you see this question? – Johannes Pille May 13 '13 at 14:35
ah thanks yes read that just not thanks, interesting, i wasnt planning on doing anything to advanced, just was thinking of putting a mobile advertisement spot up on mobile but didnt want it on my desktop, so was looking for best way to do that – David May 13 '13 at 15:02

Browse other questions tagged or ask your own question.