Menü Schließen

WPTouch does not work on Android

The issue seems to lie in the Jellybean browser not correctly communicating with the PHP code. A way to workaround this problem is to simply remove the condition surrounding the get_header() and get_footer() function.

Files to modify:

themes/default/page.php, themes/default/index.php and themes/default/single.php

Header fix (Line 1):

<?php global $is_ajax; $is_ajax = isset($_SERVER['HTTP_X_REQUESTED_WITH']); get_header(); ?>

Footer fix (Last line):

<?php global $is_ajax; get_footer(); ?>

Quelle: Mobile Site does not work on new Android OS?

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert