WordPress has come a long way since its launch in 2003. The community has grown considerably, and that growth doesn’t seem to be slowing down. WordPress is now the most dominant CMS on the market. Here are Some Cool Facts about WordPress:- According to Open Hub’s Project Cost Calculator, WordPress took an estimated effort […]
PHP: How to Get the Current Page URL
This can be done by following steps: Create a PHP variable which will store the URL in string format. Check whether the HTTPS is enabled by the server .If it is, append “https” to the URL string. If HTTPS is not enabled, append “http” to the URL string.( By Using isset() function to check whether […]
How to disable all plugins when not able to login wp-admin
Sometimes during testing or troubleshooting, you might come across a situation, when there is a need of deactivating all the plugins (( due to white screen of death)), but you can’t as wp-admin stopped working In this article, we will show you how to deactivate all WordPress plugins when not able to access wp-admin area. […]
How to convert html to pdf using python
In many cases, it is required to convert HTML output into pdf. For eg:- Consider a scenario, in which you did some payment on a website, and they provide just an HTML receipt, but you require a pdf version of that HTML receipt. So via this article we gonna show, how to convert HTML into […]
How to Convert Different Date Formats to a Single Date format – Python
In this article, we gonna show how to convert different input Date formats to a single output date format. Given Date Formats : Case 1 : “2019-3-6” Case 2: “Wed, 6, March, 19” Case 3: “Wednesday, 6, March, 9” Case 4: “6-3-2019” Output date format should be: 3/6/2019 // Importing datetime import datetime // First […]