Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
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
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
OK, I’ve sent the files to your email. You can continue to give feedback here.
Admin
If you’re interested, I can send you a copy now so that you can test it out.
Admin
It’s more complicated than what can be exemplified here. I’ll add the feature in the next theme update.
Admin
Still showing fine here:

Maybe some plugin conflict?
Admin
Something called “spmWidget” is causing the alignment issue.
Admin
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()anddeactivate_plugins(), we can effectively list all plugins and let the user tick which one to enable and disable for the mobile theme.Admin
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.
