WordPress.org

Ready to get started?Download WordPress

Forums

Specifiy which theme a users sees? (1 post)

  1. Drew Baker
    Member
    Posted 2 years ago #

    Hey Guys,

    I'm building a site for a client that wants the site to look one way on an iPhone, and another on all other devices.

    I'd like to do a PHP user agent detect for an iPhone and then send the browser the correct theme. I'd prefer to do this without a plugin. I'm sure there is an Action that I could hook into to do this, but I have no idea which one.

    Thanks!
    -Drew

Topic Closed

This topic has been closed to new replies.

About this Topic