Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-21-2011, 07:40 AM   #1
amateurbfs
Confirmed User
 
amateurbfs's Avatar
 
Join Date: Jun 2010
Posts: 1,316
wordpress custom field

I want to use a theme switcher for mobile devices and I am wondering can I include a custom field from my main theme, on the mobile theme?
__________________
amateurbfs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2011, 09:49 AM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,297
Quote:
Originally Posted by amateurbfs View Post
I want to use a theme switcher for mobile devices and I am wondering can I include a custom field from my main theme, on the mobile theme?
yes you can, just have the proper code with the same meta value.

are you redirecting to m.domain.com or just serving a mobile theme to mobile visitors, serving a seperate theme to mobile visitors is the best really.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2011, 10:40 AM   #3
amateurbfs
Confirmed User
 
amateurbfs's Avatar
 
Join Date: Jun 2010
Posts: 1,316
just a theme, thanks for the input, i wasn't getting results on google so didn't try anything yet
__________________
amateurbfs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2011, 11:30 AM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,297
Quote:
Originally Posted by amateurbfs View Post
just a theme, thanks for the input, i wasn't getting results on google so didn't try anything yet
just add the same function you have on your regular theme from the functions file to the mobile one.

if you need help let me know, i can do it for you if it needs doing.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2011, 12:52 PM   #5
amateurbfs
Confirmed User
 
amateurbfs's Avatar
 
Join Date: Jun 2010
Posts: 1,316
works like a charm, sweet
__________________
amateurbfs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.