WordPress Block Editor को Disable कैसे करे?

WordPress. 5.0 block editor yani Gutenberg plugin ke features to aapne dekh liye honge. Ab agar aap isse khush nahi hai aur pahla jaisa wordpress editor use karna chahate hai to block editor ko disable karna hoga. Is post me aapko gutenberg block editor ko disable karne ki jankari mil jayegi.

Disable WordPress Block Editor Gutenberg

Maine haal hi me WordPress 5.0 version upgrade kiya aur block editor yani Gutenberg plugin features ka istemal kiya lekin mujhe ye kafi hadd tak sahi nahi laga.

I think isme aur improvement karne ki jarurat hai. Agar aap bhi pervious wordpress editor use karna chahate hai. Disable gutenberg via code, disable gutenberg via plugin.

WordPress Block Editor (Gutenberg) Ko Disable Kaise Kare

Halanki wordpress gutenberg editor time saving hai lekin isme abhi bhi kai saare bugs issue hai, isiliye better hai ki inhe fix hone tak previous desing hi use kare.

How to Disable Block Editor in WordPress 5.0 – Guide in Gindi

Yaha main wordpress block editor gutenberg ko completely disable karne ke bare me details se bta raha hu.

Disable WordOress Gutenberg:

WordPress gutenberg ko completely disable karne ke liye functions.php me ye code add kare.

add_filter('use_block_editor_for_post', '__return_false');

Ye code wordpress 4.1 and later version or wordpress 5.0 beta me work karega. Older version ke lyie niche diya code use kare.

Disable Gutenberg Older Version:

Gutenbrg plugin older version ko disable karne ke liye ye code wordpress functions.php me add kare.

add_filter('gutenberg_can_edit_post_type', '__return_false');

Agar aapke liye upar diye code work na kare to aap Disable block editor plugins ka istemal karke gutenberg disable kar sakte hai.

Disable Gutenberg for Post Types:

Agar aapko specific post ke liywe gutenberg disable karna hai to ye code istemal kare.

function disable_gutenberg($is_enabled, $post_type) {

if ($post_type === 'book') return false; // change book to your post type

return $is_enabled;

}
add_filter('use_block_editor_for_post_type', 'disable_gutenberg', 10, 2);

Disable Block Editor Gutenberg CSS:

Agar aap gutenberg css ko bhi disable karna chahate hai to ye code functions.php me add kare.

//* Stop loading gutenberg css

add_action('init', 'stop_loading_gutenberg_css');

function stop_loading_gutenberg_css() {

wp_deregister_style( 'wp-block-library' );

}

Isse gutenberg css yani block editor style..min.css file load nahi hogi.

WordPress gutenberg technology advanced hai lekin iske features har user koi pasand nahi aa rahe hai. Aapko iske bare me koi aur help chahiye to aap comment me bol sakte hai, aapki har mumkeen help ki jayegi.

Is article ko other worpdress user ke sath share jarur kare taki wo bhi iske bare me jaan sake.

Avatar for Jumedeen Khan

About Jumedeen Khan

I am a professional blogger, SEO strategist, and the founder of this website. With over 10 years of experience, I help bloggers and creators grow online and build successful, profitable online businesses.

I need help with ...