Displaying content from custom fields

WordPress's content output functions will not include data stored in custom fields.

If your desktop theme was built with custom post types and fields, you will need to locate the code responsible for outputting this content in your desktop theme's templates and copy it to your mobile theme.

If you added fields using a plugin, the template functions that needs to be added to the mobile theme should be available to you through the plugin's documentation. To add the custom field output to the mobile theme, we recommend using a WPtouch Pro child theme. This way, your changes survive theme and plugin updates. To output custom fields in single posts, add the code to single.php. For pages, add it to pages.php, and so on, following WordPress's page template system.

Still need help? Contact Us Contact Us