YogeshChauhan.com
How to show widgets on the Appearance tab in WordPress?
August 20, 2020

📌 Widgets option in Appearance tab is the default feature of WordPress.

If it's hidden, then either the user with which you are logged in to the WordPress dashboard doesn’t have permission to access the widgets section or some Plugin/Theme is blocking the access to the widgets section.

Check if you are logged in as Administrator user OR deactivate the active theme and activate any default WordPress theme.

Enable the widgets using code


function mytheme_widgets_init() {
    register_sidebar( array(
        'name'          => 'Any_name',
        'id'            => 'mytheme-id',
    ) );
}
add_action( 'widgets_init', 'mytheme_widgets_init' );
dreamhost

Leave a Reply

Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 How to set opacity or transparency using CSS? #3 Pagination in CSS with multiple examples #4 How to make HTML form interactive and using CSS? #5 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #6 How to uninstall Cocoapods from the Mac OS?

Recently Posted

Mar 4 How to use data-* Attributes in HTML? Mar 4 The substr() method in JavaScript and how it’s different from substring() Mar 4 A complete guide to add responsive YouTube videos using HTML and CSS Mar 3 How to embed YouTube or other video links in WordPress? Mar 3 How to change the Login Logo in WordPress? Mar 3 substring() Method in JavaScript

You might also like these

How to implement NSNumberFormatter in Swift for currency?SwiftHow to remove special characters (dash, asterisk etc) from any string in PHP?PHPIs there a way to do a FULL OUTER JOIN in MySQL?SQL/MySQLHow to add Go Back button in Swift 5?SwiftHow to convert an object from API to JSON array in Angular 9?AngularHow to add CurrencyPipe in TypeScript file in Angular 9 Project?Angular12 URLSearchParams methods in JavaScriptJavaScriptLearn how to give a temporary name to a column or to a table using SQL AliasesSQL/MySQLCanvas Drawing in HTML5HTMLWindow setInterval() Method in JavaScriptJavaScriptMicroservices vs Monolithic ArchitectureMiscThe Drupal flowDrupal