SanDemetrioBike
MemberForum Replies Created
-
Hi, thank you very much for assistance.
Unfortunately that solution isn’t enough for me.
I wrote a filter to integrate Graphene Neo + Any Theme Switcher + WP SuperCache.
It returns mobile or desktop cache classifier accordingly to the AWTS settings.
/* WP Super Cache + Any Mobile Theme Switcher + Graphene Neo */
add_cacheaction('wp_cache_check_mobile', 'custom_wp_cache_check_mobile');
function custom_wp_cache_check_mobile($cache_key) {
$log_enabled = isset($GLOBALS['wp_super_cache_debug']) && $GLOBALS['wp_super_cache_debug'];
$log_prefix = '[custom_wp_cache_check_mobile] ';
if ($log_enabled) {
wp_cache_debug($log_prefix . 'Cache key: "' . $cache_key . '"');
wp_cache_debug($log_prefix . 'User Agent: "' . $_SERVER["HTTP_USER_AGENT"] . '"');
}
if (!function_exists('amts_checkMobile')) {
if ($log_enabled) {
wp_cache_debug($log_prefix . 'Any Mobile Theme Switcher not installed.');
}
return NULL;
}
$amts_mobile_check = amts_checkMobile();
if ($log_enabled) {
wp_cache_debug($log_prefix . 'Any Mobile Theme Switcher returned: "' . var_export($amts_mobile_check, true) . '"');
}
if ($amts_mobile_check['amts_mobile_browser'] == 'Graphene Mobile Neo') {
$return = "mobile";
} else {
$return = "normal";
}
wp_cache_debug($log_prefix . 'Returned: "' . $return . '"');
return $return;
}Is it possibile to integrate inside the theme extensions?
Regards!
Antonio
Hi Author, any suggestion abut to solve this?!
Thank you!
Thak you very much!
Hi again, have I to write translations on my own for a commercial product?!? Can I have an answer from the author!?
Sorry, latest upgrade of NextGEN gallery broken down Fancy Gallery.
Solution found here, thank you!
Hi, any news? Without italian translation I cannot use the plugin I purchased.
Tahk you again!
I found here the solution, thank you.
Hi, I’ve to stretch my header to the whole width.
How can I accomplish this?
Sorry, but I need to reopen this thread!
I absolutely need to hide the top menù and keep visible only the sliding panel.
How can I accomplish this?
For the moment I’ve assigned a blank menù and hided it by changing the CSS as follow:
.jPanelMenu-panel > .nav-wrapper {
display: none;
}Thank you!
Viewing 10 posts - 1 through 10 (of 12 total)
- 1
- 2