Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Main Page Posting Problem

    #39130
    Quote:
    When I go to Graphene options and I put in how many posts that I want to show on a blog page …

    Which option exactly is this?

    Admin

    In reply to: Main Page Posting Problem

    #39128

    What’s the URL to your site?

    Admin

    This is a limitation in the Infinite Scroll script that we’re using, in that in can only fetch the “next” page, and not “previous” page, which technically is how WordPress linked to the older comments when you have the comments displayed in reverse chronological order.

    I’ve dug deeper into the code and modified it to include that use case. It will be working in the next update.

    Admin

    In reply to: Disable pluggins only in mobile version

    #39068

    OK, I’ve sent the files to your email. You can continue to give feedback here.

    Admin

    In reply to: Disable pluggins only in mobile version

    #39066

    If you’re interested, I can send you a copy now so that you can test it out.

    Admin

    In reply to: Disable pluggins only in mobile version

    #39064

    It’s more complicated than what can be exemplified here. I’ll add the feature in the next theme update.

    Admin

    In reply to: Arabic Language

    #39003

    Still showing fine here:

    befORCm.png

    Maybe some plugin conflict?

    Admin

    In reply to: Graphene Slider & Offset Text

    #39088

    Something called “spmWidget” is causing the alignment issue.

    Admin

    In reply to: Disable pluggins only in mobile version

    #39057
    Quote:
    I’m not really sure about deactivate_plugins() function. But one of my friends wanted to remove facebook comments from his mobile site. I just removed the filter and it worked without any compromise in the performance.

    remove_filter('comments_array', 'facebook_comments');

    Yeah, that’s analogous to using Custom CSS to hide the output, but in a cleaner way with performance advantage. But you’ll still have to figure out which filters/actions to remove, and which scripts and stylesheets to dequeue. That can be easy for some plugins, but can also be tedious and difficult for more complex plugins.

    Using activate_plugins() and deactivate_plugins(), we can effectively list all plugins and let the user tick which one to enable and disable for the mobile theme.

    Admin

    In reply to: Disable pluggins only in mobile version

    #39055

    Actually, on further testing, it appears that restarting all of WordPress’ loading and processing immediately after plugins deactivation have no performance cost whatsoever (at least on my limited testing condition). It could be that the performance cost induced for restarting the processes is compensated by the performance advantage of not loading and processing the deactivated plugins later on.

Viewing 10 posts - 1,791 through 1,800 (of 6,030 total)