[wp-hackers] Overriding the template
Kirk Wight
kwight at kwight.ca
Sun Nov 18 23:31:13 UTC 2012
There's a mobile theme option included with the Jetpack plugin too.
On Sunday, November 18, 2012, Christian Gundersson wrote:
> Hey!
>
> Thanks for the inputs, both Dan and William, I'll look into both
> suggestions. Dan, your plugin looks like a good alternative, I'll have a
> closer look tomorrow.
>
> Thanks!
> //Christian
>
>
>
> 18 nov 2012 kl. 23:11 skrev William Satterwhite <whsatterwhite at gmail.com<javascript:;>
> >:
>
> > You could create a separate mobile theme then check for mobile
> user-agents
> > and serve the mobile theme by way of the template_redirect hook.
> >
> > On Sun, Nov 18, 2012 at 5:01 PM, Christian Gundersson <
> christian at buro2.se <javascript:;>>wrote:
> >
> >> Hi,
> >>
> >> I've been asked to adapt an existing WP site to mobile, but the current
> >> "theme" (emphasis on the "") will be a nightmare to handle. The client
> also
> >> wants the structure and content to be slightly different on the
> frontpage.
> >> Oh, and I also don't want to muck with the urls and create a /mob/
> >> directory or subdomain or what have you.
> >>
> >> I had an idea that perhaps I could write a separate template file and
> >> maybe do a check-for-mobile/switch-to-mobile thing. Any thoughts and/or
> >> ideas how this could be done? Suggestions? I'll take anything really :)
> >>
> >> Cheers
> >> Christian
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com <javascript:;>
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> >
> >
> >
> > --
> > Hunter Satterwhite
> > http://linkedin.com/in/hsatterwhite
> > (252) 762-5177
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com <javascript:;>
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com <javascript:;>
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list