Pawan Kumawat

Remove Welcome Panel from WordPress

In WordPress, the “Welcome” panel is a dashboard widget that appears for new users or users who haven’t dismissed it yet. It provides some basic information and links to help users get started with WordPress. If you want to remove the “Welcome” panel from the WordPress dashboard, you can do so using either a plugin or custom code.

Option 1: Remove “Welcome” Panel Using a Plugin

1. Install and activate the “Disable Welcome Panel” plugin. You can find this plugin on the WordPress.org plugin repository.

2. Once activated, the “Welcome” panel will no longer be displayed on the WordPress dashboard.

Option 2: Remove “Welcome” Panel Using Custom Code

If you prefer to remove the “Welcome” panel using custom code, follow these steps:

1. Open your theme’s `functions.php` file or create a custom plugin file.

2. Add the following code to remove the “Welcome” panel:

 

function custom_remove_welcome_panel() {
    remove_action('welcome_panel', 'wp_welcome_panel');
}
add_action('wp_dashboard_setup', 'custom_remove_welcome_panel');

 

3. Save the changes, and the “Welcome” panel will be removed from the WordPress dashboard.

Note: If you’re using a custom theme, it’s generally better to use the custom code approach to avoid unnecessary dependencies on additional plugins.

Please remember that removing the “Welcome” panel doesn’t affect the functionality of your WordPress site; it simply removes the introductory panel that appears on the dashboard. The core features and functionality of WordPress will remain unaffected.

 

Categories

Related Blogs

How to add custom style and script in wordpress

`wp_enqueue_scripts` is a crucial action hook in WordPress that allows you to enqueue or register scripts and stylesheets properly. It is commonly used by theme and plugin developers to load necessary CSS and JavaScript files onto the front-end of a WordPress website.

Add Custom Product Data Tab

Learn how to enhance your WooCommerce product editor by adding a custom product data tab. Follow a step-by-step guide using the woocommerce_product_data_tabs filter and the woocommerce_product_data_panels action. Create a custom tab with your desired label, and include your own fields or content within the panel. Customize your product data to collect and display additional information, providing a tailored experience for your WooCommerce products.

Disable Repeat Purchase Of Product

To disable repeat purchase of products in WooCommerce, you can implement a custom solution using a combination of code snippets and WooCommerce hooks. The idea is to prevent customers from adding the same product to the cart if it already exists in the cart. Below are the steps to achieve this: