Changes were made to the Text Widget in WordPress 4.8. The editing experiencing was enhanced in some ways but this also caused issues with certain HTML tags and formatting.
Fortunately, a new Custom HTML Widget was added in WordPress version 4.8.1. The Custom HTML Widget allows <script>
tags, and will not remove certain formatting unlike the new version of the Text Widget:
Related Posts:
- Loading scripts only if a particular shortcode or widget is present
- How to use is_active_widget?
- Get page IDs based on which template they are using?
- Add filter to blogroll widget
- Widget Options Not saving
- Embed iframe or html page into dashboard widget
- Loop through widgets in sidebar
- Where to find the source code of a widget?
- How to add author details in the post sidebar?
- Woocommerce Product Category Widget – hide categories that have no products in stock [closed]
- Why will using __construct instead of widget_class_name when creating widget trigger out of memory error
- When to use which plugin output method?
- Hide widget to non-logged in users without plugin (functions.php) [closed]
- how to extend a WP_widget twice
- Inserting shortcode [stream /] into a Text widget
- How to add css classes to widgets using functions.php?
- WordPress: Apply filter/hook to a particular sidebar widgets?
- duplicate sidebar
- How to check if searchform.php is being included as widget?
- Is it possible to enqueue a script from a widget method (of extended WP_Widget object)?
- How to get sidebar’s content inside admin-ajax?
- wp_count_posts, wp_count_terms and wp_count_comments for specific user?
- what is option_name on database that store the information of current initiate widget in frontend sidebar?
- Widget – Store and update data
- passing variables inside a widget add_action
- Can I create drag and drop widgets like iGoogle in WordPress?
- Making the default “Latest Posts” WordPress Widget Show Thumbnails
- How to determine the number of widgets contained in a sidebar via customizer JS
- Hide widget if user is logged in without plugin
- Toggle option in sidebar widgets
- Add field to dashboard to update embedded URL on homepage?
- How can hide widget title if custom widget is empty
- styling back end widget form and enabling multi widget feature
- How to show different widgets on different pages in a user friendly way
- widgetlogic and permalinks
- allow user to style widget backgound per widget
- I’m trying to find a basic plugin for displaying images in a widget [closed]
- Elementor widgets – conditional controls
- How to track whether the user has changed the value of the field in the widget or not?
- Problem creating an array instance in a widget in 4.4 update
- Redirect to page after a widget form submit
- WordPress: How to embed a widget on a separate website?
- Where to put custom widget file?
- Making tags appear as an Unordered list instead of a ‘cloud’
- Shortcode not working in widget
- How to pass a special CSS class into widget li
- Show Woocommerce Product “attributes/extra information tab” in widget [closed]
- How to use the widget area to extend the page content?
- wordpress widget missing jquery
- Is there a simple way to have a new sidebar for each page?
- Widget Title is not saving in backend
- Add class to on sidebar widget
- Save button is not working on custom widget
- WordPress update not saving
- WordPress Edit Button not appearing for widget in customizer
- WordPress database error – quick review
- In which folder can we find the core wordpress Widgets such as Menu Widget
- Add drop down to widget if it is in a certain area
- using get_template_part() inside a widget and passing variables
- How to add a text widget on the posts admin page?
- Widget select option not saving
- How do I exclude portrait pictures from the nextgen gallery sidebar widget?
- Add html after the first widget in a sidebar
- How to use multiple instances of Deal or Announcement With Countdown Timer Plugin Widget
- Changing the order of widgets according to current page?
- Your theme has 8 widget areas, but this particular page doesn’t display them
- A message to clients in the dashboard widget received from another site
- How to get individual values from custom widget?
- How would you return a value from an individual field in a custom widget?
- Can view Social Media buttons only in the private mode – why?
- Before_widget won’t show up
- Widget Registration Problem
- Reload widget with AJAX
- Function for widget titles
- Widget outputting JS as plain text
- How do you add a widget to the side of a page
- get_post_class not working properly
- Is it good practice to change certain page appearance through a widget?
- Widget settings disappear after refreshing page
- widgets_init actions not fired from functions.php’s child theme
- Widgets Opening In New Window – Unwanted
- Target logic based on Widget / Sidebar Name
- Allow end users to change settings of a widget
- $before/after_widget/title not displaying anything
- can’t edit widgets after moving from subfolder to root
- Widget checkbox array empty on update function
- how to use get_field_name in external ajax handler
- Add custom class to a tags [closed]
- register_sidebar() will not wrap an element properly
- Page full of widgets?
- Big side banners
- Widget page broken
- wordpress random widget widget
- WooCommerce Layered Nav Widget [closed]
- How do I get shortcode, widget and template tag CSS to load in the head only as required? [duplicate]
- How to find the exact widget details
- Widgets are not showing after moving domain
- Keeping shortcode-generated widget and theme element in one line [closed]
- Why, on Attachment pages, where the media is a video, is the video is appearing twice as Widgets in the sidebar?
- Add custom settings to widget areas