wordpress

Enable Classic Widget in WordPress in 2022

I am used to classic widgets and classic editors in WordPress. When a new update of WordPress came, it came with a block editor and widget.
This made my work a bit confusing and found a solution to change from the block editor to a classic editor.

Step 1: First of all go to your dashboard and on the left side of the panel hover your mouse on Appearance.


Step 2: Click on Theme File Editor.

Step 3: You might be given a warning that changing the files might crash your website. If you are not familiar with WordPress codes please don’t mess up other code.

Step 4: On the right side of the Themes file list select and click functions.php.

Step 5: In the file right after <?php past the following code

  // Disables the block editor from managing widgets in the Gutenberg plugin. the classic editor only
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
// Disables the block editor from managing widgets.
add_filter( 'use_widgets_block_editor', '__return_false' );

 

Step 6: After pasting this code click on Update files. Your file will be updated.

Now If you go to the widgets section you will see the classic widget and the block widget will be gone.
Hola! these are the simple steps that can save your time.

jaminrai

Recent Posts

10 Smart Strategies for a Secure and Enjoyable Retirement

Retiring comfortably is a goal many aspire to achieve, and with the right strategies, it’s…

2 days ago

Troubleshooting a Slow Computer

Is your computer running frustratingly slow? Don't worry; you're not alone in facing this common…

2 days ago

The Clever Fox and the Greedy Crow

Once, in a sunny forest, Fox and Crow were friends. One day, Crow found a…

2 days ago

The Little Lantern and the Lost Stars

Once upon a time, in a cozy village nestled between rolling hills and whispering forests,…

3 days ago

The Lantern in the Storm

In a small village nestled between rolling hills and a winding river, there lived a…

3 days ago

Blood Donation (Redcross) PSD Editable Certificate Design Download Free

CLICK HERE TO DOWNLOAD! Description: Format: RGB Resolution: 300 px/inch Size: A4 This is Free…

1 week ago