According to the codex, the first argument should be a valid widget class name and not the theme name.
<?php the_widget( 'Replace_With_Valid_Widget_Class_Name', 'widget-id=text-20' ); ?>
Related Posts:
- How to display custom widget anywhere
- Add New Footer Widget Area with Limited Options?
- Custom shortcode in widget forced to top of widget
- wordpress widget textbox in the sidebar
- How to change text widget title h2 to h1
- Font awesome Icon HTML in widgets disappear on save
- Text Widget Links Not Working
- When adding a widget, what kind of widget should I used to add images and text and styling?
- WP – Genesis – How to get the content of a widget in php? [closed]
- Text widget doesn’t save the content
- Widget without DIV wrapper
- Widget on the right side of the page overlaps with the left side [closed]
- How to add custom tinymce plugin to new text widget
- Custom CSS for a particular text/html widget in WordPress
- accessing wordpress serialized data outside wp
- How to change widget title in wordpress version 5.8.1?
- How to get individual values from custom widget?
- Title not Emptying in a Widget
- Default WordPress widgets always appear
- can’t edit widgets after moving from subfolder to root
- Widget Disappearing in IE
- Add New Footer Widget Area with Limited Options?
- Text Widget Not Working
- Adding iframe Content to Sidebar Widget
- Storing custom dashboard widget options in wordpress
- $post>ID displays wrong post ID
- Video Embed in Sidebar Widget with Links to Others in Category
- Shortcode from a widget is wrapped in unwanted element
- How can I whitelist only specific shortcodes for processing in text widgets?
- Bookshelf plugin and/or widget [closed]
- How to update widget from widget() function?
- Manual display of widget
- Add a banner to the Dashboard
- How to access widget data from outside widget?
- Unable to get Alert function to consistently work with backend widget with latest WP
- How to add a description to Widgets?
- Widget options get
- add_page_menu to make shortcut to widgets
- Insert custom content before widget title/after widget opening tag
- Show widget when not using SSL
- How/where is the global variable $wp_registered_widgets filled?
- Converting a WordPress widget to a block
- Color Picker Showing Twice When Widget Added to Sidebar
- How can I use AJAX to save/update a widget form?
- Display assigned terms with link
- Hide all Dashboard Widgets (not remove)
- How to get “Widget Logic” plugin’s input value in a custom widget code (to display on the Widget admin page)
- Extending WP_Widget throws error when Monster Widget used
- Making footer widgets responsive
- Custom html widget with a Joomla-style assigment
- Form link throwing website to main language
- Query in query for Widget
- How to display first post thumbnail as a background image of a widget?
- Create widget in dashboard displaying a custom user field?
- How to update the widget form when the image is selected?
- How to overload the update() of existings widgets?
- Displaying a WordPress widget by name
- Proper approach to moving complete site from one domain to another AND preserve widgets
- Why custom widget won’t appear in Block editor (Gutenberg)?
- Passing user enetered value in widget: number of words, for example
- A/B test options at the widget level [closed]
- Static image for embedded YouTube video instead of blank player?
- event organiser not loading in main content area
- Any available action to add content before and after sidebar?
- Creating a widget that displays the content of a page
- How to place my g+ or fb plugin at the bottom of post or page?
- WordPress widget value not save?
- Countdown Widget
- recent comments filter by author, page, category
- Display Most Recent Post Widget Title On Page
- How do I get my custom widget to show on live site?
- Text widget is placing everything side by side. I want to post it above
- Accessing WooCommerce product categories before initialising widget areas
- Create a new recent post widget
- How do I add footer widgets to the StudioPress Monochrome Pro theme?
- How to prevent Widget from echoing to wrong position in DOM
- wp_enqueue_media(); in multiple widgets
- Add Control in Widgets Sub-Panel in Customizer
- How to get sidebar widgets in leftsidebar template
- How to get number of posts in same category as current post?
- Create a setting at backend,to print only selected categries at front-end
- Widget Admin page and Javascript enqueuing
- three sidebars showing without call
- Widget stuck at particular point when dragging to bottom
- How to add/save/retrieve additional fields to all available widgets?
- How to Make widget area on place of comment
- Registered widget is showing up collapsed in the dashboard
- Using AJAX in WordPress Widget
- Show editor widgets only on pages that use a specific template?
- Conditionally enable autoplay when using oEmbed in a custom widget
- Options page for widget
- user definable sidebar per page
- List.js inside WordPress widget
- Show or hide custom menu widget in side bar conditionally
- Post Thumbnails on Sidebar Widgets
- Using Conditional Tags to restrict something to 1 user?
- Recent posts with different class name for each post and a scrollbar?
- Problem on register/login widgets
- Classic widgets with 5.9+?
- Theme Widget Area Defaults