Disqus is very popular (and expensive for the Pro version) but it can really slow down you site. There is a little trick very useful called Disqus DCL. This little script loads Disqus only when the page scrolls to the comment area. This way Disqus doesn’t load when unecessary. Visit Disqus Conditional Load by Joel James. For more details on installation intructions check out this post on Crunchify.
All posts by Keyboard
WordPress : How to disable updates for a specific plugin
If you modified a plugin and don’t want it to appear in the updates list, use this function from rniswonger in your functions.php
/**
* Prevent update notification for plugin
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/
* Place in theme functions.php or at bottom of wp-config.php
*/
function disable_plugin_updates( $value ) {
$pluginsToDisable = [
'plugin-folder/plugin.php',
'plugin-folder2/plugin2.php'
];
if ( isset($value) && is_object($value) ) {
foreach ($pluginsToDisable as $plugin) {
if ( isset( $value->response[$plugin] ) ) {
unset( $value->response[$plugin] );
}
}
}
return $value;
}
add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' );
Macbook Pro 2018 : WIFI problem when connecting USB-C devices
Your internet connexion drops when you connect any external device to your Macbook Pro touchbar ? The solution is completely insane but really works. Thanks to Joshua King you just have to wrap your dongles with tinfoil to make it work. Unbelievable. This prevents interferences.
How CM Tooltip glossary can slow down WordPress
If you’re using CM ToolTip glossary pro and noticed an abnormal decrease in page speed on your WordPress installation, that might be caused by an option set in CM ToolTip configuration. It came out my SQL database was full of transients, these entries created by some (usually bad coded) plugins to store data in order to increase SQL requests speed. It turned out the cache system used on CM Tooltip glossary did exactly the contrary in my case.
After few hours looking for a solution to my problem I’ve finally disabled the cache option as shown below :
The site where it happened has few thousands of articles already published, so I’m guessing CM ToolTip glossary was parsing all of them when a user requested the page in order to find items that match the glossary index. SQL overload went so far that several hundreds of thousands transients were created and literally crashed my server after a while.
Clean transients manually and automatically
A plugin that really helped me to analyse how WordPress was reacting to these CM Tooltip glossary settings is Transient Cleaner. I strongly advise any wordpress user to use that plugin as a routine to periodically clean his database. Your site speed will feel the difference.
I also removed search engine plugin Ajax Search Pro, it doesn’t work that well for me and made really bad sql requests.
Free vaping pictures
Here are some pictures I give for free if you want to use them, even for commercial purposes.
Full resolution images
- 1 : http://www.itcouldbethisone.com/files/devices.jpg
- 2 : http://www.itcouldbethisone.com/files/mod.jpg
- 3 : http://www.itcouldbethisone.com/files/mod2.jpg
- 4 : http://www.itcouldbethisone.com/files/vaper.jpg
Paypal bank account confirmation issue : two digits only
Confirming your bank account with Paypal can be a little bit disappointing sometimes. My last bad experience was about the amounts sent on my account that are supposed to be used through the confirmation process.
If Paypal sent you 0.06$ you have to enter 06 only. The text field used in their confirmation form is a two digits only and they don’t explain that. So don’t waste your time trying to enter 0.06, just use the last two digits (06 in this case) and you’re good to go.
Magpie RSS and special characters
Your site is not in english and you are trying to import an RSS feed by using the excellent Magpie RSS ? If the feed language is in french for instance you’ll probably get weird characters coming up on your display page.
The solution is pretty simple. Go in the folder where Magpie RSS is installed and look for rss_fetch.inc
Around line 357 set the default output and input encoding to UTF-8 like this :
if ( !defined('MAGPIE_OUTPUT_ENCODING') ) { define('MAGPIE_OUTPUT_ENCODING', 'UTF-8'); } if ( !defined('MAGPIE_INPUT_ENCODING') ) { define('MAGPIE_INPUT_ENCODING', 'UTF-8'); }
Disqus now forces Ads in its free version
That has to come one day. The famous commenting system that many WordPress administrators love has just announced that advertising will now come by default in its free version. If you want to remove theses ads, you’ll just have to pay 10$/month. A very fair way to thank its users who contribute to make the system famous.
Here’s the announcement :
Hi there,
We recently announced our plans for the new year including releasing new versions of Disqus with professional features. Disqus will always offer a free-to-use version that is supported by advertising. We are reaching out to you because you previously opted out of running advertising from Disqus.
Starting February 8, publishers running the free-to-use version of Disqus will be supported by advertising. Advertising will continue to be configurable for your site. We know that advertising is not the right fit for all publishers and that is why we are excited to offer publishers the option to pay a monthly subscription of $10 to remove advertising altogether.
We’d like to hear from you. If you are interested in the upgraded version of Disqus, please click below and we will reach out to you.
How much does SimilarWeb Pro cost ?
You like playing with similarWeb to track your competitors and compare your site with others? Well if you want to go further and access to the full features this amazing tool can provide, you’ll have to pull out thousands of dollars a year.
Here’s a little answer I received from them :
“SimilarWeb is on average $12,000. Exact pricing depends on how much data and which functions and features you would be needing.”
Is MailPoet newsletter plugin compatible with WPML ?
Well the answer is NO and that is a shame because both plugins are very professional and quite expensive. Therefore if you’re running a multi language site with WPML, please note that your articles in different languages will be added to your automatic newsletters !
The solution ? Send your newsletter manually by selecting the articles you want to include or drop MailPoet.