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

by: Jumedeen Khan

मैं इस ब्लॉग का संस्थापक और एक पेशेवर ब्लॉगर हूं। यहाँ पर मैं नियमित रूप से अपने पाठकों के लिए उपयोगी और मददगार जानकारी शेयर करता हूं। ❤️

Comments ( 17 )

  1. Hello Sir Ummeed hai aap theek hoge
    Q1. Main hindi blog ke liye already classic editor use kr rha hu lekin usse post jyada attractive nhi ban pata isliye kya main ab Gutenberg use kru

    Q2. Jbki main 200+ Post likh chuka hu aur blog par traffic bhi 3K+ aata hai daily agr main ab switch kru to old post ka structure to kharab nhi hoga ya aur koi loss to nhi aayega

    Jawab ka intezar hai Shukriya

    Reply
    • es bilkul kar sakte ho. Nahi loss nahi hoga, because aapki old post ka look pahle jaisa hi rahega, aap chahe to unhe manually change kar sake ho.

      Reply
  2. Sir function php me code kaise dale….

    Reply
  3. specific post ke liye gutenberg disable karne ke liye jo aapne code diya hai uss mein aapne yah nahi bataya ki iss code ko kaha add karna hai please is ke bare mein bataye yah code post mein add hoga ya kaha ye samajh nahi aa rah.

    Reply
    • ये कोड आपको functions.php में add करना है

      Reply
      • Thank you for reply pr mujhe ek sawal or hai sir mera blog blogger pr hai jaisa ki abhi 1 week pahle jab main apne blog pr visit kar rah tha to blog ke url mein https yaani ssl lock aa rah tha pr ab nahi aa raha hai kya kuchh update hua hai blogger mein free ssl ka option hai na iske karan mere domain ki authrity bahut hai kam ho gayi hai pahle mere domain ki authority 12-13 thi pr ab bahut hi kam ho gayi hai isske bare mein bataye please.

        Reply
        • blogger setting से https enable करो

          Reply
          • मैंने https enable किया हुआ है आप जब कमेंट के थ्रो लिंक पर क्लिक करेंगे तो आपको कार्नर पर यूआरएल शो होता है तो उस में https के साथ वेबसाइट दिखाई देता है पर जब हम यूआरएल को ओपन करते है तो वेबसाइट नोट सिक्योर यानी https नहीं होता है मैंने ब्लॉगर में प्रॉपर सेटिंग किया हुआ है और मेरे डोमेन की अथॉरिटी भी बहुत कम हो गई है पहले ज्यादा थी ऐसा क्यों हुआ इस पर जानकारी दे प्लीज !

          • browser cache clear करके चेक करो

  4. मेरी एक वेबसाइट है जो अभी हिन्दी में है में इस वेबसाइट के पेज ट्रांसलेट करके इंग्लिश में बना रहा हूँ तो मेने इसके लिए एक सुब फोल्डर में एक दूसरा नया वर्डप्रेस इनस्टॉल किया अब में ये चाहता हूँ की जो मेरी वेबसाइट पर पहले से ही फोटो इस्तेमाल हो रहें हैं उन्ही फोटो को में इंग्लिश वाली पोस्ट पर भी इस्तेमाल करूँ तो अब में नये वाले वर्डप्रेस में पुराने वाले वर्डप्रेस की फोटो कैसे फेच कर सकता हूँ इसके लिए मुझे wp-config.php फाइल में क्या बदलाव करने पड़ेंगे

    Reply
    • wp-config.php में आपको सिर्फ यूजरनेम और पासवर्ड चेंज करना है, फोटो को आप wp-content या फिर wp-uploads का backup अपलोड करके इंपोर्ट कर सकते हो

      Reply
  5. Sir,
    Mai wordpress pe new hu sir meri problem ye h ki jab bhi mai wordpress pr article likh kr public pe click kr raha hu to mujhe Faild update aisa likh kar aa rha hai main bahut presan hu mujhe kuch samjh nahi aa rha maine worpress ka app dowload kr k waha par bhi likhne ki kosis ki lekin waha bhi wahi failed update aa rha h maine theme bhi officiale waali lgayi hai jo wordpress deta h sir please reply

    Reply
    • Aapke server par firewall enable hai, hosting support ko contact kar use disable karo, aur koi security plugin use karte ho to use disable kar do problem solve ho jayegi.

      Reply
  6. really new update se to kaam karne mai bahut problem ho rahi thi par apke is wonderful post se kafi help mili.

    Thankyou..!

    Reply
  7. डिअर सर आप का लेख बहुते ही उम्दा किस्म का है ,हिंदी माध्यम वालो के लिए आप का लेख बहुते ही फायदेमंद है आप आगे भी इस तरह का लेख लिखते रहे इस के लिए आप को दिल से सलाम है

    Reply
  8. Tnx….. Vai apne meri bohot bori problem solve kor diya

    Reply
  9. i think future me iska istemal karna hi padega, jisne update kar liya wo 1 din isse achhe se samjhne me time de jisne install nahi kiya wo gutenberg plugin install karke exprince le sakte hai

    Reply

Leave a Comment