Create Custom Dashboard Widget
WP Adminify allows you to enhance and personalize your WordPress dashboard by creating custom widgets that can display various types of content. Whether you want to show important information, embed a video, or include a custom script, you can easily add it through custom dashboard widgets.
1. Access the Dashboard & Welcome Widget Settings
To start creating your custom dashboard widget:
- Log in to your WordPress dashboard.
- Navigate to WP Adminify > Dashboard & Welcome Widget.
2. Save Your Settings
click the Save button to save your settings.
3. Go to the Dashboard Widget Option on WP Adminify menu
In the WP Adminify options panel on the left hand side of the dashboard a new option “Dashboard Widget” will appear.
4. Click on Dashboard Widget
Click on the Dashboard Widget option and you’ll be taken to a new window where there will be two tabs Dashboard Widget and Welcome Widget. Click on the Dashboard Widget tab.
5. Add a New Widget
Once inside the Dashboard & Welcome Widget settings:
- Click the Add New Widget button to create a new custom widget.
6. Configure Widget Settings
You will now be presented with a form to configure your custom widget settings.
Widget Title
Enter the title for your widget. This title will be displayed at the top of the widget in the WordPress dashboard.
Widget Position
Choose the position for your widget. You have two options:
- Side: Place the widget in the narrow column on the right-hand side of the dashboard.
- Normal: Place the widget in the main, wider central section of the dashboard.
This lets you control how and where the widget will be positioned in relation to other widgets on the dashboard.
Content Type
Next, select the type of content that will appear in your custom widget. WP Adminify provides several content options:
- Editor: Use the WordPress editor to add text, images, or any custom HTML.
- Icon: Create a widget that displays an icon.
- Video: Embed video content directly into the widget.
- Shortcode: Use a WordPress shortcode to dynamically display content in the widget.
- RSS Feed: Display an RSS feed in your widget to show external content.
- Script: Add custom JavaScript or any other type of script to the widget for functionality.
Add Content
Depending on the content type you selected, the Content section will change to fit your choice:
- If you choose Editor, a text editor will appear where you can write or paste the desired content.
- If you selected Shortcode, a field will appear for you to enter the shortcode.
- For Video, you’ll get a video embed field.
- If you selected Script, an input field will be provided to add your custom JavaScript code.
Assign User Roles
You can control who can see the widget by selecting specific user roles. This allows you to customize the dashboard for different roles like:
- Administrators
- Editors
- Authors
- Contributors
- Subscribers
If you want the widget to be available to everyone, select the All Users option.
7. Save Your Widget
Once you’ve configured all the settings, scroll down and click the Save button to add the widget to your dashboard.
Didn’t find what you were looking for? Get in touch!
Updated on November 30, 2024
Was this helpful to you?