How To Get a List of All Active Plugins Programmatically

To get a list of all active plugins programmatically in WordPress, you can use the WordPress API functions. WordPress provides functions that allow you to retrieve information about active plugins. You can use either the get_option function or the wp_get_active_and_valid_plugins function. Here’s how you can use both methods: Method 1: Using get_option: Using wp_get_active_and_valid_plugins: Both… Continue reading How To Get a List of All Active Plugins Programmatically

Fix the firewall blocking in Plesk panel ( Cors issue )

Some times there might be issue when using some rest API end points especially using web designing platforms like WordPress , Shopify etc. What makes issue for me is that when using the REST API endpoint for fetching users from wordpress. Its found to be that it was making a 403 server issue on fetching… Continue reading Fix the firewall blocking in Plesk panel ( Cors issue )

How To Increase the Maximum File Upload Size in WordPress

The easiest way to modify your file upload limit is to install a simple WordPress plugin designed for the task. There are many options available. We recommend the following plugins: Tuxedo Big File Uploads Upload Larger Plugins Upload Max File Size Maximum Upload File Size Simply install a plugin, activate it, and follow the instructions.… Continue reading How To Increase the Maximum File Upload Size in WordPress

Published
Categorized as Wordpress

Setup wordpress through plesk CPanel in server

Log in to the Plesk admin page and select Applications on the left-hand menu Click Install for WordPress on the Applications page. It will take a few moments for the WordPress application to download and install. After the process completes, you will be able to view and manage your WordPress installation. To manage the WordPress installation, go to Applications > Manage My Applications and click… Continue reading Setup wordpress through plesk CPanel in server

How to fix hydration errors in Nextjs theme change

Hydration error is a very common error in Nextjs. In order for hydration to function correctly, the initial client-side rendered version of the UI must be identical to the server-side one.   However, in this case, the resolvedTheme variable is undefined on the server and a string on the client, causing the React trees rendered on the server and client to be… Continue reading How to fix hydration errors in Nextjs theme change

How to implement dark/light theme in Nextjs

Adding themes to Next.js app makes it possible for users to personalize their experience and improve the usability of product. With themes, users can easily switch between light and dark modes. Next themes This package provides a custom useTheme hook to consume and change the current theme. It can also select between dark and light modes based… Continue reading How to implement dark/light theme in Nextjs

How to Fix the 504 Gateway Timeout Error? – WordPress

Try Reloading the Webpage If you see a 504 Gateway Timeout error, wait a bit and then try refreshing the page. To refresh the page, you can press F5 on your keyboard, or press CTRL+F5 to refresh without using saved data. Reboot Your Network Devices At times, issues with your modem or router might cause… Continue reading How to Fix the 504 Gateway Timeout Error? – WordPress