SanDemetrioBike

Member

Forum Replies Created

  • In reply to: WPSuperCache

    #43886

    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

    In reply to: Switch to desktop link not showing

    #44550

    Hi Author, any suggestion abut to solve this?!

    Thank you!

    In reply to: Italian translation

    #44517

    Thak you very much!

    In reply to: Italian translation

    #44515

    Hi again, have I to write translations on my own for a commercial product?!? Can I have an answer from the author!?

    In reply to: Fancy Gallery not working

    #44549

    Sorry, latest upgrade of NextGEN gallery broken down Fancy Gallery.

    In reply to: Header image resolution

    #44507

    Solution found here, thank you!

    In reply to: Italian translation

    #44514

    Hi, any news? Without italian translation I cannot use the plugin I purchased.

    Tahk you again!

    In reply to: Top menù hiding

    #44511

    I found here the solution, thank you.

    In reply to: Header image resolution

    #44506

    Hi, I’ve to stretch my header to the whole width.

    How can I accomplish this?

    In reply to: Top menù hiding

    #44510

    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)
Do NOT follow this link or you will be banned from the site!