WordPress is a highly flexible blog engine that can be used to build any kind of website, including sophisticated e-commerce stores. If you use WordPress too, you can add AnnounceKit widgets easily without editing / modifying your website template.
Step 1
Firstly, you need to install AnnounceKit WordPress Plugin on your WordPress.
You can install the plugin from WP Admin > Plugins > Add new and search for AnnounceKit
Step 2
After installation, copy a JavaScript code of your widget from the AnnounceKit dashboard.
Step 3
Go to WP Admin > Settings > AnnounceKit > Add widget. Paste the JavaScript code you get from the Dashboard and choose a menu item where you want to display the widget.
If you paste the Float type widget JavaScript code the menu list will disappear because that widget type doesn’t need any HTML element.
Step 4
Click Save Changes button, and enjoy AnnounceKit widgets on your WordPress site.
Troubleshoot
❓Can I change the position of the widget?
Yes, you can set right, left, top, and bottom values on the editing page to fine-tune the position of the widget.
❓Widget doesn’t appear on the menu
As the plugin attaches the widget automatically, sometimes it cannot find the HTML position of the chosen menu item. You need to specify the class name ak-man to the menu item.
Go to WP Admin > Appearance > Menus
Click the Screen Options button on the top of the screen.
Tick the CSS Classes option in the Show advanced menu properties section
Set ak-man as a value to the CSS Classes field of the menu item. Video
Another reason for this issue is the type of widget. Only Badge and Line widget types can be attached to the menu. Make sure you have copied the correct JavaScript codes.
If you still have problems, do not hesitate to contact us.