GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wordpress custom field (https://gfy.com/showthread.php?t=1035009)

amateurbfs 08-21-2011 07:40 AM

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?

fris 08-21-2011 09:49 AM

Quote:

Originally Posted by amateurbfs (Post 18369727)
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.

amateurbfs 08-21-2011 10:40 AM

just a theme, thanks for the input, i wasn't getting results on google so didn't try anything yet

fris 08-21-2011 11:30 AM

Quote:

Originally Posted by amateurbfs (Post 18370089)
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.

amateurbfs 08-21-2011 12:52 PM

works like a charm, sweet :)


All times are GMT -7. The time now is 10:49 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123