WordPress.org

Forums

WP Mobile Detector
No content on pages with custom php queries (2 posts)

  1. v3da
    Member
    Posted 3 years ago #

    I'm using the Magic Fields plugin for custom write panels. The content of the write panel is pulled via the following:

    <? echo get('lunch_title_1'); ?>

    On pages where I have this code, the mobile theme only shows the page title with no content.

    If anyone can point me in the right direction, it would be greatly appreciated.

    Thank you for your time,
    Veda

    http://wordpress.org/extend/plugins/wp-mobile-detector/

  2. websitezcom
    Member
    Plugin Author

    Posted 3 years ago #

    This function is probably dependent on a themes functions.php file.

    Can you find where the "get" function is located?

    I would check in your desktop theme that is activated for the functions.php file, and see if the function get() is in there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Mobile Detector
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic