Maybe this fixes MobilePress theme display problems? (1 post)

  1. joho68
    Posted 5 years ago #

    This may be a potential solution to the problem people are having with MobilePress not maintaining the correct site view for mobile/iphone devices vs regular "PC browsers". I am by no means connected to Aduity and have nothing to with MobilePress. What I am suggesting seems to be working for me, if it breaks your code/site, you own all pieces.

    In the folder wp-content/plugins/mobilepress, find and edit the file mobilepress.php, around line 59.

    Look for the comment that says "//Start a session.."
    Right below that comment, there's a construct like this:

    if ( ! session_id())

    Make this block look like this instead:

    if ( ! session_id())

    (you have effectively disabled that code by "commenting it out").

    Save the file.

    Try your site -- clear all caches on both the server (WordPress plugins if you're using any caching add-ons) and your client (browser, smartphone, whatever).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MobilePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic