• 8 Reasons for HTTP error while uploading Image in WordPress

    Are you getting HTTP error while uploading image in WordPress? The good news is, you are not alone. Recently, one of my client had a problem in uploading image in WordPress and here’s what I learnt while fixing the issue. Generally, this error occurs while uploading an image and in…

  • Why did WordPress Remove Justify & Underline Buttons from Editor?

    One of my client asked me to justify the post contents on his website. I aligned the text using keyboard shortcut, because for some reason I couldn’t find the justify button in the WordPress editor. While I was wondering who stole the justify button, I received another mail from the…

  • WordPress Injected With Spam Links? Diagnose & Protect your site

    Today my client sent an email stating that his WordPress site has been hacked. After spending few hours in diagnosing the issue, I understand it was a Black Hat SEO spam. What is Black Hat SEO spam? It’s a crooked way of gaining links from victim’s website. It’s a technique…

  • How to View Page Source on Mobile browsers?

    Everyone knows to view page source of a website in desktop browsers? But what if you want to view page source on mobile browsers? Both Chrome and Firefox browsers does  not have an option to view the page source of a website that’s currently accessed. But it does not mean…

  • Change Chrome address bar color to match Website Theme

    Have you noticed the color of address bar in Chrome for Android while visiting popular websites? If not, just visit Facebook in Chrome browser for Android where you will see color of the address bar changing to Blue (the brand color of Facebook). Ah! did you check the address bar…

  • Count number of pattern matched in vim editor

    Question: How to count number of pattern matched in vim editor? I know to search a pattern in vim, but is there a command to know the total number of matches found for a searched pattern? Solution: Yes. It’s possible to use n flag with a substitute command s. For example,…

  • Lockscreen Ads on Android? Opera Mini, the culprit!

    Do you see an Ad on Android Lockscreen? How annoying is that? There are plenty of applications that show Advertisements on charging screen while the device is plugged into the power socket and sometimes, you might even end up in seeing Ads on Lock screen. What’s more annoying is, these…

  • Book Tatkal tickets fast using Tatkal for Sure App

    How difficult is to book Tatkal ticket via IRCTC website? Do I need to ask this question? At Techglimpse, we had written plenty of articles to help our readers book tickets in IRCTC. Here’s another to that list. I recently came across an interesting application called “Tatkal for Sure” –…

  • Increase Brush Size in MS Paint – Who said there are only 4 sizes

    Ask anyone, how many number of brush sizes are available in MS Paint and you will instantly hear there are only 4 sizes. Well, they say that because MS Paint GUI shows only four choices for brush size. But you know, it offers just more than the GUI shows (Size…

  • Plugin Generated x Characters of Unexpected Output During Activation [Fix]

    While developing a new plugin for WordPress, I ran into an error “Plugin Generated x Characters of Unexpected Output During Activation” when activated. Here’s the complete error message: The plugin generated 1825 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues,…

  • Update URLs After WordPress Migration

    If you are migrating your WordPress site from one domain to another, then you need to update URLs isn’t? Well, changing or updating the domain URLs might seem like a cake walk, but if you don’t do it right way it’s going to cause a hell lot of problems. For…

  • Fix lessphp fatal error: load error: failed to find [WP Migration]

    Do you see an error “lessphp fatal error: load error: failed to find bootstrap.lesslessphp” and “style.less.cache” after migrating your WordPress site from one host to another? Generally lessphp fatal error occurs for two files – namely, bootstrap.lesslessphp & style.less.cache. Also, the error is common when you are developing with Twitter Bootstrap…

  • Convert/Change Post Type to Custom Post Type [WP]

    By default, WordPress supports post types such as Posts, Pages, Attachments, Revisions and Menus. It also allows to create a custom post type. For example, an e-commerce website need a custom post type to create products, a movie website needs a custom post type to create a movie, a forum…

  • Fix Unknown collation utf8mb4_unicode_ci [WP Migration]

    Do you get an error Unknown collation utf8mb4_unicode_ci while migrating your WordPress database? No worries, this tutorial will explain how to fix both utf8mb4_unicode_ci collation & utf8mb4 character set errors. Before we see the fix, let’s understand the reason for the error and few snapshots. Reason for Unknown collation utf8mb4_unicode_ci & utf8mb4…

  • ImportError: No module named MySQLdb [Solved]

    Question: My Python script failed with an error message “ImportError: No module named MySQLdb” while performing MySQL operation. Here’s the complete error message. $python my.py comments.sql Traceback (most recent call last): File “wp-import-disqus.py”, line 7, in <module> import MySQLdb ImportError: No module named MySQLdb How to fix this error? Solution: Fix ImportError:…

  • Allow Comments for Older Posts in WordPress

    Do you like to allow comments for older posts in WordPress? There are situations where you would have disabled comments for posts in WordPress and would like to re-enable it now. For instance, I have been using Disqus comment plugin for more than two years and during that period 500…

  • How to Remove nextpage pagination tags from Posts

    What is nextpage tag? <!–nextpage–> is an in-built tag of WordPress that allows you to split a post or page into multiple webpages, so that it has pagination. Using nextpage tag is quite simple, you just need to insert <!–nextpage–> into the post where you like the page to break….

  • WordPress Posts displaying garbage characters after W3 Total Cache Update

    Do you see WordPress posts displaying garbage characters after updating W3TotalCache plugin? Well, you are not alone. I recently updated W3TotalCache plugin to version 0.9.5.4 to only see strange characters on all my posts. Ahh! I know it hurts, but the problem was occurring only on mobile browsers. The desktop…

  • How to Set/Unset WooCommerce Session Variables

    Do you want to know how to set or unset WooCommerce session variables? Generally, we use PHP’s built-in session handler and session_start(). So if you want to create a new session variable in WooCommerce, then you would obviously think of using PHP’s built-in session handler, but you might (at least,…