Subscribe to Updates

    Subscribe our newsletter for latest news and update. Let's stay updated!

    What's Hot

    Best keyboards for programming & coding 2023

    July 2, 2023

    Best Gaming Keyboard Switches

    July 2, 2023

    Best Keyboard for Minecraft Gaming

    July 1, 2023
    Facebook Twitter Instagram
    • About us
    • Contact us
    • Privacy Policy
    Facebook Twitter Instagram Pinterest
    DotshopyDotshopy
    Subscribe
    • Home
    • Headphones
    • Keyboards
    • Laptops
    • Mouse
    • Monitors
    • Smartwatch
    DotshopyDotshopy
    Home » FIX! Widget Menu Not Showing in Appearance Tab WordPress
    Tricks

    FIX! Widget Menu Not Showing in Appearance Tab WordPress

    ShamBy ShamUpdated:August 22, 2023No Comments2 Mins Read
    Facebook Email WhatsApp Twitter Pinterest LinkedIn
    WIDGET MENU NOT SHOWING IN APPEARANCE TAB WORDPRESS
    Share
    Facebook Twitter LinkedIn Pinterest Email

    The widget menu is usually located on the appearance tab. But if the widget menu not showing in appearance tab and you are finding the solution to fix it? I will give you the proper solution with video.

    Widgets are used to provide fixed content to WordPress pages and posts. For example, you can install a widget that displays on all pages and a WordPress widget is a flexible component that lets you add a specific feature to your website. Widgets can be placed in a variety of places on a website, including sidebars and footer areas.

    You may check: Best Headphones who wear Glasses

    Follow These Steps to add Widget in Appearance Tab

    1. Go to your theme directory (Theme Editor)
    2. Open function.php file
    3. copy & paste the code
    4. Reload Dashboard and look for widgets under Appearance Tab

    As I explained previously, the widget tab is available under the Appearance tab. I was working on a client’s website and needed to add a sidebar, but the widget menu was missing from appearance Tab. The reason is that sidebar functionality has yet to be integrated to your theme. It hasn’t started the widget function yet. Simply, no sidebar has yet been created, which is why the widget menu does not display in the WordPress dashboard.

    It’s simple to set up a widget menu and a sidebar. You’ll need to open the function.php file in your theme directory. FileZilla or File Manager from your hosting’s Cpanel can be used to access the theme directory.

    Reload the dashboard after adding this piece of code below to the end of the file.

    Watch Video Below

    Code will appear in 20 seconds.


    function desktop_register_widgets_init() {
        register_sidebar( array(
            'name'          => __( 'Main Sidebar', 'textdomain' ),
            'id'            => 'sidebar-1',
            'description'   => __( 'Widgets in this area will be shown on all posts and pages.', 'textdomain' ),
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget'  => '</li>',
            'before_title'  => '<h2 class="widgettitle">',
            'after_title'   => '</h2>',
        ) );
    }
    add_action( 'widgets_init', 'desktop_register_widgets_init' );
    

    Under the appearance tab, you should have a widget menu. The sidebar we just created with the register sidebar() function will appear when you click on the widget menu.

    By adding a sidebar, we were able to start using widgets. Now you may customize the sidebar with widgets.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Sham
    • Website

    Related Posts

    “Https aka ms remoteconnect not working“ How to Fix issue in Minecraft?

    January 4, 2022
    Add A Comment

    Leave A Reply Cancel Reply

    Recent Posts
    • Best keyboards for programming & coding 2023
    • Best Gaming Keyboard Switches
    • Best Keyboard for Minecraft Gaming
    • Best Keyboard for Writers: Top 6 Choices (2023)
    • Best wireless earbuds under $100
    Categories
    • Headphones (10)
    • Keyboards (12)
    • Laptops (4)
    • Monitors (3)
    • Mouse (5)
    • News (6)
    • Smartwatch (2)
    • Tricks (2)

    Dotshopy is a website that reviews the latest tech products, provide buying guides and covers the latest trends in Gaming gadgets, Electronic products, smart devices and more.

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Recent Posts
    • Best keyboards for programming & coding 2023
    • Best Gaming Keyboard Switches
    • Best Keyboard for Minecraft Gaming
    • Best Keyboard for Writers: Top 6 Choices (2023)
    • Best wireless earbuds under $100
    Facebook Twitter Instagram Pinterest
    • About us
    • Contact us
    • Privacy Policy
    © 2023 DotShopy. Powered by DotShopy.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Detected!

    Ad Blocker Detected!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.