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

  1. v3da
    Posted 4 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,


  2. websitezcom
    Plugin Author

    Posted 4 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

About this Topic