STEALTH SETTINGS
  • Launcher
  • iHowTo
  • Windows
  • MacOS
  • Linux
  • Office
  • Internet
  • News
  • download
  • Home
  • net Surfing
  • Disable HTML editor in Visual TEXT Widget in WordPress
How-To & Download via Email

Download & Tips

  • Advertising
  • Android
  • AntiVirus
  • BlackBerry
  • Curiosity
  • Cyber-Shot
  • digital Art
  • Downloads
  • Facebook
  • Fun Zone
  • Games
  • Google
  • iHowTo
    • iOS
    • OS X
  • Internet
    • Internet Explorer
    • Mozilla Firefox
    • Opera
  • iOS
  • iPhone
  • IT News
  • Life
  • Links
  • Linux
    • Apache
    • MySQL
  • live Sets
  • lyrics
  • Mac OS X
  • microsoft
  • Microsoft Office
    • Office Excel
    • Office Outlook
    • Office PowerPoint
    • Office Word
  • mobile Apps
  • mobile Security
  • net Surfing
  • Notes
  • Notebooks
  • Noteworthy
  • Office Tips
  • Photo Editing
  • Playground
  • recollection
  • Software
    • HDD Tools
  • Task Manager
  • Themes & Styles
  • Tweaks & Hacks
  • Twitter
  • Ubuntu
  • video Tutorials
  • web Hosting
  • Win. media Center
  • Windows 10
  • Windows 7
  • Windows 8
  • Windows 9
  • Windows Blue
  • Windows Mobile
  • Windows Tips
  • Windows Vista
  • Windows XP
  • WordPress
  • Yahoo!

Disable HTML editor in Visual TEXT Widget in WordPress

February 2, 2018 / stealth / net Surfing, Notes, Themes & Styles, WordPress
>>

WordPress has developed very much like the platform over time. New features, new plugins and new themes have become more useful for those who use this CMS for websites, blogs, and online magazines.

Basic functions (core) added recent versions of WordPress also include level changes widgets (Parts). Among these is the addition the widget HTML editorCPC "Copy"The WordPress.
A good idea that allows one Easier personalization from the "Visual" editor, without having to minimal HTML knowledge to add some links or to change the format of a text. There is, however, a problem for those who prefer to edit their own HTML code in "Copy"Widget. After publishing, there is a possibility of "ul"And other HTML elements started from the"Visual"And which does not look the way it should. So even if an HTML code is added to the "Text" editor of the widget, it will be automatically converted to "Visual" and unwanted code snippets will be added.

The easiest solution is to disable the "Visual" mode in WordPress widgets. We can do this by adding a function function to the functions file.php of the WordPress theme.

How to Disable the "Visual" Publisher in WordPress Widgets

Fortunately, for those who use WordPress, they can use additional features, enable and disable core functions anytime. Everything is to have access to the site's files through fTP or SFTP and carefully edit your files. In our case, to disable the "Visual" editor of the "Text" widget in WordPress, we go into the theme folder and add the following code to the functions file.php:

add_filter( 'widget_display_callback', 'clean_widget_display_callback', 10, 3 );
function clean_widget_display_callback( $instance, $widget, $args ) {
$instance['filter'] = false;
return $instance;
}

Save the change, then the Visual Editor will be disabled from WordPress widgets. It remains active for WP Posts, WP Pages and other customized modules.

HTML Widgets, WordPress, WordPress Functions, WordPress Visual Text, WordPress Widgets
Stealth Settings
Next: Windows 10 - Microsoft launches a new Bluetooth pairing system for Windows 10 »»
Old: «« How to move a blog or a WordPress website from HTTP to HTTPS (NGINX)
IT Tips - Windows, Mac OS X, Linux & Mobile - Disable HTML editor in Visual TEXT Widget in WordPress

Leave a Reply Cancel reply

Your email address Will not be published. Required fields are marked *

Translate in your language

ArabicbulgarianChinese (Simplified)Chinese (Traditional)croatianCzechdanishDutchEnglishestonianfinnishFrenchGermangreekhebrewHindihungarianindonesianIrishitalianjapaneseKoreanlatvianlithuaniannorwegianpolishportugueseRomanianrussianserbianslovakSlovenianspanishSwedishthaiturkishUkrainianvietnamese

Find HowTo & Hacks

What's New

  • How to access shared shared folders from a Windows PC from the LAN

  • Fix "Your Windows License Will Expire Soon" - Windows 10 Activated "Windows is activated with your organization's activation service"

  • Fix open () Critical Error: 13: Permission Denied - Upload Images Error in WordPress

  • How to create a personalized 404 header for the WordPress theme - 404 Custom Header in WordPress Themes

  • How to automatically delete the addresses of the websites visited (History) and Cookies in Firefox [Privacy Settings]

  • How to install and run Linux Ubuntu and openSUSE on Windows 10 [Windows Subsystem for Linux]

Windows & Office

  • Windows OS
  • Windows 10
  • Windows 8 / 8.1
  • Windows 7
  • Windows Vista
  • Windows XP
  • Microsoft Office
  • Office Excel
  • Word Office
  • Office PowerPoint
  • Office Outlook

& Linux Web Hosting

  • Linux Tips & Hacks
  • Apache Server
  • MySQL Server
  • PHP Software
  • phpMyAdmin
  • .htaccess
  • fTP Server
  • CentOS / RHEL
  • Ubuntu
  • web Hosting
  • WordPress Hacks
ArabicbulgarianChinese (Simplified)Chinese (Traditional)croatianCzechdanishDutchEnglishestonianfinnishFrenchGermangreekhebrewHindihungarianindonesianIrishitalianjapaneseKoreanlatvianlithuaniannorwegianpolishportugueseRomanianrussianserbianslovakSlovenianspanishSwedishthaiturkishUkrainianvietnamese

WordPress Hacks

  • WordPress Plugins
  • WordPress Themes
  • WordPress Functions
  • WP SEO Tips
  • WordPress Hacks
  • WordPress Security

Resources & Downloads

  • Windows Vista & XP - Themes, Drivers & Apps
  • Windows Proccesses Information / Task Manager
  • Freeware Software
  • Download Windows Software
  • Internet Tips
  • Woofer and Bass Test
  • Mobile Games & Apps
Established in 2006 2017 ©Stealth Settings- Tutorials, Applications, News and Downloads for Windows, Linux, Mac OS X and Mobile Phones
Privacy Policy | Sitemap | Archive

We use cookies to Personalise content and ads, to Provide social media features and to our Analyse traffic. Also we share information about your use of our site with our social media, advertising and analytics partners.OkRead More